cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DOSGI-88) NPE when creating an EndpointDescription without endpoint id
Date Fri, 16 Dec 2011 23:12:30 GMT

     [ 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

        

Mime
View raw message