[
https://jira.jboss.org/jira/browse/JBWS-2411?page=com.atlassian.jira.plug...
]
Richard Opalka commented on JBWS-2411:
--------------------------------------
java.lang.OutOfMemoryError: Java heap space
at org.apache.xerces.dom.DeferredDocumentImpl.getNodeObject(Unknown Source)
at org.apache.xerces.dom.DeferredElementNSImpl.synchronizeData(Unknown Source)
at org.apache.xerces.dom.ElementNSImpl.getNamespaceURI(Unknown Source)
at org.jboss.wsf.common.DOMUtils.search(DOMUtils.java:625)
at org.jboss.wsf.common.DOMUtils.getChildElementsAsListIntern(DOMUtils.java:608)
at org.jboss.wsf.common.DOMUtils.getChildElementsIntern(DOMUtils.java:652)
at org.jboss.wsf.common.DOMUtils.getChildElements(DOMUtils.java:575)
at org.jboss.wsf.common.DOMUtils.getChildElements(DOMUtils.java:568)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:565)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
at org.jboss.ws.tools.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:575)
OutOfMemoryExecption because of an infinite loop when loading xml
schemas with circular references
--------------------------------------------------------------------------------------------------
Key: JBWS-2411
URL:
https://jira.jboss.org/jira/browse/JBWS-2411
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-3.0.4
Environment: OS: Windows Vista SP1
Java: 1.5 build 16
JBossWS 3.0.4
JBossAS 4.2.3
Reporter: Alvaro
Assignee: Richard Opalka
Fix For: jbossws-native-3.1.1
Attachments: TesteoImportaciones.zip, WSDL11Reader.java
When specifying the wsdlLocation property in @WebService annotation, if there are xsd
includes that contain circular references, an infinite loop makes the deployer crash
because of an OutOfMemoryException.
Please, take a look at the forum thread to get more info about this error and example
code to fix it.
I've included to attachments: a java file with the fixed code, and an eclipse project
with a wsdl and associated xsd imports that reproduce the bug.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira