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

John Ruud (JIRA) jira-events at lists.jboss.org
Mon Jul 23 01:12:56 EDT 2007


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


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