[jboss-jira] [JBoss JIRA] Closed: (GPD-118) Infinite loop in ActionDomAdapter.createSemanticElementFor(XmlAdapter)

Koen Aers (JIRA) jira-events at lists.jboss.org
Mon Jul 23 04:14:47 EDT 2007


     [ http://jira.jboss.com/jira/browse/GPD-118?page=all ]

Koen Aers closed GPD-118.
-------------------------

    Fix Version/s: jBPM JPDL Designer 3.1.0.beta2
       Resolution: Done

oops, the else branch should be super.createSemanticElementFor(child)

> Infinite loop in ActionDomAdapter.createSemanticElementFor(XmlAdapter)
> ----------------------------------------------------------------------
>
>                 Key: GPD-118
>                 URL: http://jira.jboss.com/jira/browse/GPD-118
>             Project: JBoss jBPM GPD
>          Issue Type: Bug
>    Affects Versions: jBPM JPDL Designer 3.1.0.beta2
>            Reporter: John Ruud
>         Assigned To: Koen Aers
>             Fix For: jBPM JPDL Designer 3.1.0.beta2
>
>
> In the 'else' statement below, (this.)createSemanticElementFor() is invoked instead of super.createSemanticElement(), and this is causing an infinite loop to occur. Several other subclasses of XmlAdapter got the same problem.
> protected SemanticElement createSemanticElementFor(XmlAdapter child) {
> 		if ("configInfoElement".equals(child.getElementType())) {
> 			return getSemanticElementFactory().createById("org.jbpm.gd.jpdl.configInfoElement");
> 		} else {
> 			return createSemanticElementFor(child);
> 		}
> 	}
> }

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

        



More information about the jboss-jira mailing list