Menu

#4 NullPointerException when searching the UDDI records

open
nobody
None
5
2009-02-26
2009-02-26
No

This is probably only jUDDI specific problem. I am using it with JBoss 4.2.3 and Metro. The communication seemed to work correctly so I decided to debug the code.

The problem appears in all UDDIWrapper's find methods. E.g.:

..
public Collection findTModel(QueryFilter filter)
..
// NullPointerExcepiton (getTModelInfos() returns null)
return tModelList.getTModelInfos().getTModelInfoVector();

..

The solution is to replace the old uddi4j.jar file with the newest version (currently 2.0.5). After this is done everything works just fine.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB