cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DOSGI-88) NPE when creating an EndpointDescription without endpoint id
Date Fri, 24 May 2013 14:34:33 GMT

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

Christian Schneider closed DOSGI-88.
------------------------------------

    
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message