You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2012/11/02 15:13:12 UTC

[jira] [Resolved] (DOSGI-120) NullPointerException on export

     [ https://issues.apache.org/jira/browse/DOSGI-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider resolved DOSGI-120.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

*1404969	11/2/12 3:09 PM	1	cschneider	DOSGI-120 Added a safeguard vs to avoid NPE

Can you check if the NPE still occurs for you? I could not reproduce it after the change.
                
> NullPointerException on export
> ------------------------------
>
>                 Key: DOSGI-120
>                 URL: https://issues.apache.org/jira/browse/DOSGI-120
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: DSW
>    Affects Versions: 1.3.1
>            Reporter: Bert Jacobs
>            Priority: Minor
>             Fix For: 1.4
>
>
> When I unregister and register a service to export it, then this exception popped up:
> {code}
> 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)
> {code}
> Eventually my service got deployed, but it is annoying that exceptions like these fill the logs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira