Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2666

NPE in JSFMetadataProcessor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.CR1
    • None
    • JSF
    • None

      10:16:26,510 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."jaxws-jbws1357.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jaxws-jbws1357.war".PARSE: JBAS018733: Failed to process phase PARSE of deployment "jaxws-jbws1357.war"
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1]
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_17]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_17]
      	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_17]
      Caused by: java.lang.NullPointerException
      	at org.jboss.as.jsf.deployment.JSFMetadataProcessor.deploy(JSFMetadataProcessor.java:27)
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.0.0.Beta2-SNAPSHOT.jar:8.0.0.Beta2-SNAPSHOT]
      	... 5 more
      
      10:16:26,513 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) JBAS014613: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"jaxws-jbws1357.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jaxws-jbws1357.war\".PARSE: JBAS018733: Failed to process phase PARSE of deployment \"jaxws-jbws1357.war\"
          Caused by: java.lang.NullPointerException"}}
      

      The web.xml has something like:

      <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
        version="2.4">
      
        <servlet>
          <servlet-name>JBWS1357Service</servlet-name>
          <servlet-class>org.jboss.test.ws.jaxws.jbws1357.JBWS1357Impl</servlet-class>
        </servlet>
      
        <servlet>
          <servlet-name>hello_jsp</servlet-name>
          <jsp-file>/hello.jsp</jsp-file>
        </servlet>
      
        <servlet-mapping>
          <servlet-name>JBWS1357Service</servlet-name>
          <url-pattern>/JBWS1357Service</url-pattern>
        </servlet-mapping>
      
        <servlet-mapping>
          <servlet-name>hello_jsp</servlet-name>
          <url-pattern>/hello.jsp</url-pattern>
        </servlet-mapping>
      
      </web-app>
      

              rhn-support-asoldano Alessio Soldano
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: