You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to:
'Resolves Java extension compilation problem on OSX'
SHA: d60cf83
@yokolet Wish I had more details for you on this. Mainly a heads up. I built a local gem off of v1.6.2.beta.2., jruby 1.7.11, jdk 7.025, linux. Pretty much worked great except in one unique use case where the context of the executing code had a slightly different environment. Possibly related to different proxy settings in each environment, but only breaks with this beta version of noko on the JAXPExtentsionProvider call...
My failure was in the context of parsing a wsdl via savon & httpclient. Here is the error message:
'com/sun/org/apache/xpath/internal/jaxp/JAXPExtensionsProvider'
(that's it)
And the last bit of a very long stack trace:
"org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)",
"org.jruby.ast.DAsgnNode.interpret(DAsgnNode.java:110)",
"org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)",
"org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)",
"nokogiri.XmlXpathContext$INVOKER$s$1$0$rbNew.call(XmlXpathContext$INVOKER$s$1$0$rbNew.gen)",
"nokogiri.XmlXpathContext.rbNew(XmlXpathContext.java:125)",
"nokogiri.XmlXpathContext.setNode(XmlXpathContext.java:99)"
Another strange aspect is that in the working use cases... via debug code... just prior to failing call the code below works: ruby require 'java' java_import 'com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider'
In the failing case it would fail on the java_import above... if I removed the above debug code... it would fail on the original savon wsdl parse call.
The text was updated successfully, but these errors were encountered:
Related to:
'Resolves Java extension compilation problem on OSX'
SHA: d60cf83
@yokolet Wish I had more details for you on this. Mainly a heads up. I built a local gem off of v1.6.2.beta.2., jruby 1.7.11, jdk 7.025, linux. Pretty much worked great except in one unique use case where the context of the executing code had a slightly different environment. Possibly related to different proxy settings in each environment, but only breaks with this beta version of noko on the JAXPExtentsionProvider call...
Pretty sure this has something to do with:
vs.
Very similar issue here: restlet/restlet-framework-java/#785
Stack Overflow: http://stackoverflow.com/questions/14705003/restlet-client-on-java-1-7-xml-parse-error-feature-secure-processing-cannot-se
Java 7 FEATURE_SECURE_PROCESSING: http://docs.oracle.com/javase/7/docs/api/javax/xml/XMLConstants.html#FEATURE_SECURE_PROCESSING
My failure was in the context of parsing a wsdl via savon & httpclient. Here is the error message:
'com/sun/org/apache/xpath/internal/jaxp/JAXPExtensionsProvider'
(that's it)
And the last bit of a very long stack trace:
"org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)",
"org.jruby.ast.DAsgnNode.interpret(DAsgnNode.java:110)",
"org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)",
"org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)",
"org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)",
"nokogiri.XmlXpathContext$INVOKER$s$1$0$rbNew.call(XmlXpathContext$INVOKER$s$1$0$rbNew.gen)",
"nokogiri.XmlXpathContext.rbNew(XmlXpathContext.java:125)",
"nokogiri.XmlXpathContext.setNode(XmlXpathContext.java:99)"
Another strange aspect is that in the working use cases... via debug code... just prior to failing call the code below works:
ruby require 'java' java_import 'com.sun.org.apache.xpath.internal.jaxp.JAXPExtensionsProvider'
In the failing case it would fail on the java_import above... if I removed the above debug code... it would fail on the original savon wsdl parse call.
The text was updated successfully, but these errors were encountered: