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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to