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

Sergey Beryozkin resolved DOSGI-88.
-----------------------------------

    Resolution: Won't Fix

This code is now part of the OSGI platform, CXF DOSGi copy will have to be 
removed
                
> NPE when creating an EndpointDescription without endpoint id
> ------------------------------------------------------------
>
>                 Key: DOSGI-88
>                 URL: https://issues.apache.org/jira/browse/DOSGI-88
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: DSW
>            Reporter: Pierre-Yves Aillet
>
> There seems to be a problem within these lines ( 113, 117 of 
> dsw/cxf-osgi-remote-service-admin-interfaces/src/main/java/org/osgi/service/remoteserviceadmin/EndpointDescription.java
>  ):
>               id = verifyStringProperty(ENDPOINT_ID).trim();
>               if (id == null) {
>                       throw new IllegalArgumentException(ENDPOINT_ID
>                                       + " property must be set");
>               }
> I guess the endpoint description is supposed to throw an 
> IllegalArgumentException if there's no endpoint id in the properties, but 
> currently the trim() makes it throws a NPE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to