Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-2607

NPE on JAXRBootstrapService stop when shutting down container

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • JAXR
    • None

      09:26:58,153 ERROR [org.jboss.as.jaxr.service.JAXRBootstrapService] Cannot unbind JAXR ConnectionFactory: java.lang.NullPointerException
      at org.jboss.as.jaxr.service.JAXRBootstrapService.unBindJAXRConnectionFactory(JAXRBootstrapService.java:248) [jboss-as-jaxr-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
      at org.jboss.as.jaxr.service.JAXRBootstrapService.stop(JAXRBootstrapService.java:131) [jboss-as-jaxr-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
      at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1909) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
      at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1872) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26]
      at java.lang.Thread.run(Thread.java:680) [:1.6.0_26]

      This occurs because the service is managing dependencies manually, instead of allowing MSC to do it. Instead of adding the service in start and removing in stop, it looks like the binding service should be created at the same time with a dependency on the JAXRBootstrapService to prevent it starting to soon.

            tdiesler@redhat.com Thomas Diesler
            sdouglas1@redhat.com Stuart Douglas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: