[jboss-jira] [JBoss JIRA] Created: (JBAS-5566) JBoss Problem With Dom4j Library

Chris Pesto (JIRA) jira-events at lists.jboss.org
Thu May 29 17:45:46 EDT 2008


JBoss Problem With Dom4j Library
--------------------------------

                 Key: JBAS-5566
                 URL: http://jira.jboss.com/jira/browse/JBAS-5566
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Deployers, XML services
    Affects Versions: JBossAS-5.0.0.Beta4
         Environment: Windows XP, Java 1.5
            Reporter: Chris Pesto
         Assigned To: Ales Justin


I found what I believe to be a bug in the JBoss 5.0 Beta 4 distribution, discovered in attempting to migrate our current web application from JBoss 4.2.1.

On deployment, I get:
java.lang.IllegalArgumentException: Adding text to an XML document must not be null
	at org.dom4j.DocumentFactory.createText(DocumentFactory.java:174)
	at org.dom4j.tree.AbstractElement.addText(AbstractElement.java:899)
	at org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect.createWebAppDescriptor(WebAppGeneratorDeploymentAspect.java:164)
... (rest of stack trace clipped for brevity)

JBoss seems to take offense at something in the dom4j library, which is included in the JBoss distribution.  As I said, the web application works properly in 4.2.1.  I suspect the XML library is relatively rarely used, so this has escaped detection.  Thanks.

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