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

NPE during stop of service jboss.jacorb.poa-service.rootpoa

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.1.1.Final
    • 7.1.0.CR1b
    • IIOP
    • None

      There is randomly occured NPE when stopping EAP a bit quickly after it started.

      15:55:17,151 ERROR [org.jboss.as] (Controller Boot Thread) JBoss EAP 6.0.0.Alpha2 (AS 7.1.0.CR1-redhat-1) started (with errors) in 8066ms - Started 132 of 222 services (20 services failed or missing dependencies, 68 services are passive or on-demand)
      ^C15:55:19,867 INFO  [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011605: Unbound messaging object to jndi name java:/queue/test
      15:55:19,870 INFO  [org.jboss.as.osgi] (MSC service thread 1-8) JBAS011921: Stopping OSGi Framework
      15:55:19,876 INFO  [org.jboss.as.messaging] (MSC service thread 1-7) JBAS011605: Unbound messaging object to jndi name java:/RemoteConnectionFactory
      15:55:19,878 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010409: Unbound data source [java:jboss/datasources/ExampleDS]
      15:55:19,888 INFO  [org.jboss.as.logging] JBAS011503: Restored bootstrap log handlers
      15:55:19,897 INFO  [jacorb.poa] POA IRPOA destroyed
      15:55:19,898 INFO  [jacorb.poa] POA Naming destroyed
      15:55:19,906 WARN  [org.jboss.msc.service.fail] MSC000004: Failure during stop of service jboss.jacorb.poa-service.rootpoa: java.lang.NullPointerException
              at org.jacorb.poa.POA.destroy(Unknown Source)
              at org.jboss.as.jacorb.service.CorbaPOAService.stop(CorbaPOAService.java:187)
              at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1909) [jboss-msc-1.0.1.GA-redhat-1.jar:1.0.1.GA-redhat-1]
              at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1872) [jboss-msc-1.0.1.GA-redhat-1.jar:1.0.1.GA-redhat-1]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_27]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27]
              at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
      
      15:55:19,910 INFO  [jacorb.orb] prepare ORB for shutdown...
      

      As you can see above, I hit Ctrl-C in two seconds after start is done. NPE isn't occurred every time and I didn't see it anytime when EAP was running for a longer time (let say 10 seconds and more).

              sguilhen Stefan Guilhen
              pjanouse@redhat.com Pavel Janousek
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: