Uploaded image for project: 'CXF Distributed OSGi (Retired)'
  1. CXF Distributed OSGi (Retired)
  2. DOSGI-120

NullPointerException on export

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3.1
    • 1.4.0
    • common
    • None
    • Moderate

    Description

      When I unregister and register a service to export it, then this exception popped up:

      Exception in thread "pool-1-thread-3" java.lang.NullPointerException
      	at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore.isCreatedByThisRSA(RemoteServiceAdminCore.java:299)
      	at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore.exportService(RemoteServiceAdminCore.java:115)
      	at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:72)
      	at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:66)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:66)
      	at org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:38)
      	at org.apache.cxf.dosgi.topologymanager.TopologyManager$2.run(TopologyManager.java:267)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      

      Eventually my service got deployed, but it is annoying that exceptions like these fill the logs.

      Attachments

        Issue Links

          Activity

            People

              cschneider Christian Schneider
              albertdevs Bert Jacobs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: