Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4
-
None
-
None
-
WinXP for AXIS client + server, Rampart 1.4
Description
Call:
InterActiveResponse result = stub.GetInfo(null);
Crash in:
public InterActiveResponse GetInfo(InterActiveRequest interActiveRequest0)
env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()),
interActiveRequest0, // <-- value of interActiveRequest0: null => causes NullPointerException
optimizeContent(new javax.xml.namespace.QName("https://xxx/AccountInformation", "GetInfo")));
I know that one fix is to prevent the client to call the service with null as argument. However, I feel the client shouldn't crash in this case but return null without crashing or throw an IllegalArgumentException or a similar - less fatal and more meaningful exception than NullPointerException.