StackOverflowError during binding
---------------------------------

                 Key: JIBX-438
                 URL: http://jira.codehaus.org/browse/JIBX-438
             Project: JiBX
          Issue Type: Bug
          Components: core
    Affects Versions: JiBX 1.2.3
            Reporter: Archie Cobbs


Attempting to bind gives this:
{noformat}
     [bind] java.lang.StackOverflowError
     [bind]     at 
org.apache.bcel.generic.LocalVariableGen.<init>(LocalVariableGen.java:91)
     [bind]     at 
org.apache.bcel.generic.MethodGen.addLocalVariable(MethodGen.java:293)
     [bind]     at 
org.apache.bcel.generic.MethodGen.addLocalVariable(MethodGen.java:324)
     [bind]     at org.apache.bcel.generic.MethodGen.<init>(MethodGen.java:165)
     [bind]     at 
org.jibx.binding.classes.MethodBuilder.<init>(MethodBuilder.java:166)
     [bind]     at 
org.jibx.binding.classes.ExceptionMethodBuilder.<init>(ExceptionMethodBuilder.java:59)
     [bind]     at 
org.jibx.binding.classes.ContextMethodBuilder.<init>(ContextMethodBuilder.java:78)
     [bind]     at 
org.jibx.binding.def.ObjectBinding.genContentPresenceMethod(ObjectBinding.java:818)
     [bind]     at 
org.jibx.binding.def.ObjectBinding.genContentPresentTest(ObjectBinding.java:1024)
     [bind]     at 
org.jibx.binding.def.PassThroughComponent.genContentPresentTest(PassThroughComponent.java:106)
     [bind]     at 
org.jibx.binding.def.PassThroughComponent.genContentPresentTest(PassThroughComponent.java:106)
     [bind]     at 
org.jibx.binding.def.NestedBase.genContentPresentTest(NestedBase.java:202)
     [bind]     at 
org.jibx.binding.def.ObjectBinding.genContentPresenceMethod(ObjectBinding.java:828)
     [bind]     at 
org.jibx.binding.def.ObjectBinding.genContentPresentTest(ObjectBinding.java:1024)
     [bind]     at 
org.jibx.binding.def.PassThroughComponent.genContentPresentTest(PassThroughComponent.java:106)
     [bind]     at 
org.jibx.binding.def.PassThroughComponent.genContentPresentTest(PassThroughComponent.java:106)
     [bind]     at 
org.jibx.binding.def.NestedBase.genContentPresentTest(NestedBase.java:202)
     [bind]     at 
org.jibx.binding.def.ObjectBinding.genContentPresenceMethod(ObjectBinding.java:828)
     [bind]     at 
org.jibx.binding.def.ObjectBinding.genContentPresentTest(ObjectBinding.java:1024)
     [bind]     at 
org.jibx.binding.def.PassThroughComponent.genContentPresentTest(PassThroughComponent.java:106)
     [bind]     at 
org.jibx.binding.def.PassThroughComponent.genContentPresentTest(PassThroughComponent.java:106)
     [bind]     at 
org.jibx.binding.def.NestedBase.genContentPresentTest(NestedBase.java:202)
                ... repeat ad naseum ...
{noformat}

I'm sure there is some error in my binding files, but unfortunately there are 
81 files I'm dealing with so without a real error message there's no way for me 
to figure out what the real problem is.

Please fix the binding logic to detect infinite loops and return a reasonable 
error message.

Thanks.


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

        

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to