You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "SourceForge.net" <no...@sourceforge.net> on 2003/10/20 22:31:15 UTC

[juddi-Developers] [ juddi-Bugs-826672 ] Null ptr exception with find_service

Bugs item #826672, was opened at 2003-10-20 07:41
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=826672&group_id=42875

Category: None
Group: QA
Status: Open
Resolution: None
Priority: 5
Submitted By: Ian Grimstead (dr-grim)
Assigned to: Nobody/Anonymous (nobody)
Summary: Null ptr exception with find_service

Initial Comment:
When using find_service to locate all services using a
given TModel, i.e.:

ServiceList serviceList =
proxy.getProxy().find_service(null, null, null,
tModelBag, null, 5);

Where tModelBag is:

TModelBag tModelBag = new TModelBag();
tModelBag.add(new
TModelKey("uuid:AF6C2B90-02CE-11D8-AB90-D846D1751D29") );

Works a treat on the IBM UDDI Test Registry (returning
a list of services that are using the given TModel);
but, when run with JUDDI, I get a SOAP error:

java.lang.NullPointerException
	at org.uddi4j.UDDIElement.<init>(UDDIElement.java:37)
	at
org.uddi4j.response.ServiceList.<init>(ServiceList.java:92)
	at
org.uddi4j.client.UDDIProxy.find_service(UDDIProxy.java:707)
	at
rave.uddi.Services.getMatchingServices(Services.java:65)
	at
rave.ogsa.data.Client.TestClient.main(TestClient.java:83)

Is JUDDI assuming one of the arguments to be non-null?
I think perhaps the name of the service?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=826672&group_id=42875