Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.0.4
-
OS: Windows
App Server: WebSphere
DB: DB2
Description
We are using jUDDI in our application and interacting to it using Local Transport (using scout) we are facing a problem while deleting any TModel and we have resolved this by fixing it in "UDDIPublicationService.java"
Details of fix
In RegistryV3Impl. deleteTModel() method before deleting the Tmodel it prepares JAXBElement with operation name as "delete_tModel" (by invoking ObjectFactory.deleteTModel()) and finally invokes UDDIPublicationService.publish() it returns "NullPointerException" due to mismatch in the case while getting the Appropriate Handler instance i.e. UDDIPublicationService can't get the appropriate "Handler" instance with the operation "delete_tModel" because this class has Handler with key "delete_tmodel".
we have fixed by storing the Handler instance with key "delete_tModel" (changing "m" to Caps) in "org.apache.juddi.v3.client.transport.wrapper .UDDIPublicationService.java"
code snippet
public class UDDIPublicationService {
..
..
private HashMap<String, Handler> operations = null;
public UDDIPublicationService()
...
...
}
please help us in getting this fix in the official "juddi-client" jar