[jboss-jira] [JBoss JIRA] (JBMETA-356) NPE in JBossWebMetaDataParser.parse()

Richard Opalka (JIRA) jira-events at lists.jboss.org
Mon Apr 16 04:09:18 EDT 2012


     [ https://issues.jboss.org/browse/JBMETA-356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Opalka updated JBMETA-356:
----------------------------------

    Workaround Description: 
Users can use older jboss-web.xml version, e.g:

{code}
<jboss-web xmlns="http://www.jboss.com/xml/ns/javaee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_6_0.xsd"
  version="6.0">
  <!-- other stuff -->
</jobss-web>
{code}
           Forum Reference: https://community.jboss.org/message/730079  (was: https://community.jboss.org/message/730079)

    
> NPE in JBossWebMetaDataParser.parse()
> -------------------------------------
>
>                 Key: JBMETA-356
>                 URL: https://issues.jboss.org/browse/JBMETA-356
>             Project: JBoss Metadata
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: web
>            Reporter: Richard Opalka
>            Assignee: Richard Opalka
>             Fix For: 7.0.2
>
>
> NPE is thrown if user provides jboss-web.xml with the following schema location: http://www.jboss.org/j2ee/schema/jboss-web_7_0.xsd
> Caused by: java.lang.NullPointerException
> 	at org.jboss.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBossWebMetaDataParser.java:100)
> 	at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:69)
> 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:114) [jboss-as-server-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
> 	... 5 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list