NullPointerException when searching the UDDI records
Status: Beta
Brought to you by:
alex_holmes
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.