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:17 UTC

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

Bugs item #826755, was opened at 2003-10-20 10:23
Message generated for change (Comment added) made by dr-grim
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=434422&aid=826755&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?

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

>Comment By: Ian Grimstead (dr-grim)
Date: 2003-10-20 10:25

Message:
Logged In: YES 
user_id=890567

Argh! Sorry, managed to reload the original posting page...
so it's in twice. Please delete this copy. ta.

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

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