(no subject)

View: New views
1 Messages — Rating Filter:   Alert me  

(no subject)

by Akhil S. Srinivasan-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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




MASTEK LTD.
Mastek is in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------------------------------------------------------------
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