|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
(no subject)Hi, I have created an issue on JIRA regarding improper generation
of JiBX_bindingFactory class. The problem seems to be in
detection of binding factories. The stacktrace is given below. To replicate the
issue I created three different schemas with different namespaces with
dependencies from Two to One and Three to Two and One. The binding factory class
generated seems to be the problem. A sample xsd has been attached to
the JIRA bug which can be used to reproduce the below exception. Thanks [java] Error running binding
compiler [java] *** Error during code
generation for file 'binding.xml' - please enter a bug report for this error in
JIRA if the problem is not listed as fixed on the online status page *** [java] Unable to access binding
'binding_third' [java] Make sure classes generated
by the binding compiler are available at runtime [java]
java.lang.reflect.InvocationTargetException [java] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at
java.lang.reflect.Method.invoke(Method.java:585) [java] at
org.jibx.runtime.BindingDirectory.getFactory(BindingDirectory.java:243) [java] at
org.jibx.binding.def.BindingBuilder.unmarshalInclude(BindingBuilder.java:2044) [java] at
org.jibx.binding.def.BindingBuilder.unmarshalBindingDefinition(BindingBuilder.java:2142) [java] at
org.jibx.binding.Utility.loadBinding(Utility.java:314) [java] at
org.jibx.binding.Utility.loadFileBinding(Utility.java:434) [java] at
org.jibx.binding.Compile.compile(Compile.java:215) [java] at
org.jibx.binding.Compile.main(Compile.java:382) [java] Caused by:
java.lang.ArrayIndexOutOfBoundsException: 2 [java] at
org.jibx.runtime.impl.BindingFactoryBase.<init>(BindingFactoryBase.java:173) [java] at
com.system.third.JiBX_binding_thirdFactory.<init>() [java] at
com.system.third.JiBX_binding_thirdFactory.getInstance() [java] ... 11 more
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ jibx-users mailing list jibx-users@... https://lists.sourceforge.net/lists/listinfo/jibx-users |
| Free embeddable forum powered by Nabble | Forum Help |