javasup

NullPointerException when deploying the MBO


I am deploying the MBOs in SUP 2.2 and it is failing with the Null Pointer Exception.

Errors occurred while creating packages. 
Deployment Error: Create package failed (package=/TestforSR/.pkg, server=MOF Server) 
java.lang.NullPointerException 
java.lang.NullPointerException 
java.lang.NullPointerException 
java.lang.NullPointerException 

But it is working fine and able to fetch the response when preview and by using the SOAPUI utilities and not throwing any error or exception. Only the exception when deploying the package.


Solution

  • I have found a work around for the issue. Not sure if this is the only solution but this is working for me and MBOs are getting deployed to the SUP Server successfully without throwing the Null Pointer Exception.

    The webservice that i was using had some parameters of datatype set as enum, which is not supported by SUP and by changing the parameter datatype from enum to String resolved the issue, and error is no more there.