ArrayIndexOutOfBoundException while mapping compilation
-------------------------------------------------------

                 Key: JIBX-127
                 URL: http://jira.codehaus.org/browse/JIBX-127
             Project: JiBX
          Issue Type: Bug
          Components: core
            Reporter: Pradeepta B
         Attachments: mapping_src.zip

When I try to compile the mapping using Binding compiler.I get an error trace 
as follows :- 

 [bindJibx] Error running binding compiler
 [bindJibx] *** Error during code generation - please enter a bug report for 
this error in Jira if the problem is not listed as fixed on the online status 
page ***
 [bindJibx] java.lang.ArrayIndexOutOfBoundsException: -1
 [bindJibx] at java.util.ArrayList.get(ArrayList.java:326)
 [bindJibx] at 
org.jibx.binding.classes.MethodBuilder.appendLoadLocal(MethodBuilder.java:1094)
 [bindJibx] at 
org.jibx.binding.def.NestedStructure.genFlagTest(NestedStructure.java:327)
 [bindJibx] at 
org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStructure.java:244)
 [bindJibx] at 
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:795)
 [bindJibx] at 
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:940)
 [bindJibx] at 
org.jibx.binding.def.ComponentProperty.genContentUnmarshal(ComponentProperty.java:256)
 [bindJibx] at 
org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStructure.java:257)
 [bindJibx] at 
org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall(ObjectBinding.java:795)
 [bindJibx] at 
org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:940)
 [bindJibx] at 
org.jibx.binding.def.ElementWrapper.genContentUnmarshal(ElementWrapper.java:315)
 [bindJibx] at 
org.jibx.binding.def.MappingDefinition.generateCode(MappingDefinition.java:582)
 [bindJibx] at 
org.jibx.binding.def.DefinitionContext.generateCode(DefinitionContext.java:603)
 [bindJibx] at 
org.jibx.binding.def.BindingDefinition.generateCode(BindingDefinition.java:661)
 [bindJibx] at org.jibx.binding.Compile.compile(Compile.java:305)
 [bindJibx] at 
com.bsil.project.airtrade.jixb.test.JibxCompileTask.execute(JibxCompileTask.java:218)
 [bindJibx] at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
 [bindJibx] at org.apache.tools.ant.Task.perform(Task.java:364)
 [bindJibx] at org.apache.tools.ant.Target.execute(Target.java:341)
 [bindJibx] at org.apache.tools.ant.Target.performTasks(Target.java:369)
 [bindJibx] at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
 [bindJibx] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
 [bindJibx] at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
 [bindJibx] at 
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
 [bindJibx] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
 [bindJibx] at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
 [bindJibx] at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to