You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/17 00:12:30 UTC
[jira] [Resolved] (DOSGI-88) NPE when creating an
EndpointDescription without endpoint id
[ 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