[ 
http://jira.codehaus.org/browse/JIBX-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Sosnoski resolved JIBX-281.
----------------------------------

         Assignee: Dennis Sosnoski
       Resolution: Duplicate
    Fix Version/s: JiBX 1.2.2

Duplicate of JIBX-314.

> bind compiler: stack overflow with recursive mapping and verbose output
> -----------------------------------------------------------------------
>
>                 Key: JIBX-281
>                 URL: http://jira.codehaus.org/browse/JIBX-281
>             Project: JiBX
>          Issue Type: Bug
>          Components: core
>    Affects Versions: JiBX 1.2
>         Environment: Win 2003 Server, Java 1.6
>            Reporter: Philip Hoyer
>            Assignee: Dennis Sosnoski
>            Priority: Minor
>             Fix For: JiBX 1.2.2
>
>
> Hi,
> using a recursive mapping in my binding file, the binding compiler causes a 
> stack overflow when verbose="true" (Ant task). It was working with 1.1.6.
> Console output (repeated):
>      [bind]   at 
> org.jibx.binding.def.NestedStructure.print(NestedStructure.java:461)
>      [bind]   at 
> org.jibx.binding.def.ObjectBinding.print(ObjectBinding.java:1282)
>      [bind]   at 
> org.jibx.binding.def.ComponentProperty.print(ComponentProperty.java:360)
>      [bind]   at 
> org.jibx.binding.def.ElementWrapper.print(ElementWrapper.java:594)
>      [bind]   at 
> org.jibx.binding.def.OptionalStructureWrapper.print(OptionalStructureWrapper.java:94)
>      [bind]   at 
> org.jibx.binding.def.MappingReference.print(MappingReference.java:260)
> Recursive mapping from binding.xml:
>       <mapping abstract="true" type-name="tns:OrgUnit" 
> create-type="org.example.dto.impl.psv.OrgUnitDtoImpl" 
> class="org.example.dto.iface.OrgUnitDto">
>               <value name="id" get-method="getId" set-method="setId" 
> usage="required" nillable="true" />
>                 <!-- ... -->
>               <structure name="parentOrgUnit" get-method="getParent" 
> set-method="setParent" usage="optional" map-as="tns:OrgUnit" />
>       </mapping>
> -- Philip

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

        

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to