Forum Discussion

arniehouston's avatar
arniehouston
New Member
30 days ago

WSS throwing NPE

I am trying to call a SOAP service running in my IDE on my local machine. It uses SSL and the messages must be signed/encrypted/timestamped.

Everything appears to be set up correctly and when invoking a method I get no SSL type error.

What I am getting is a WSS message:

java.lang.NullPointerException: Cannot invoke "String.length()" because "s" is null

Help! I have no clue here.

From the log.

2025-05-15 14:44:29,860 INFO  [SoapUI] Used java version: 17.0.12
2025-05-15 14:45:00,813 WARN  [DOMReference] The input bytes to the digest operation are null. This may be due to a problem with the Reference URI or its Transforms.
2025-05-15 14:45:00,935 INFO  [SoapUISSLSocketFactory] Initializing Keystore from [C:\Dev\oracle\weblogic12\user_projects\domains\mydomain\server-keystore.jks]
2025-05-15 14:45:01,218 INFO  [SoapUISSLSocketFactory] Initializing Keystore from [C:\Dev\oracle\weblogic12\user_projects\domains\mydomain\server-keystore.jks]
2025-05-15 14:45:02,060 INFO  [AbstractHttpRequestDesktopPanel] Got response for [ClassWebServicePortSoap11.LookupUser:Request 1] in 610ms (0 bytes)
2025-05-15 14:49:08,838 WARN  [DOMReference] The input bytes to the digest operation are null. This may be due to a problem with the Reference URI or its Transforms.
2025-05-15 14:49:08,915 INFO  [AbstractHttpRequestDesktopPanel] Got response for [ClassWebServicePortSoap11.LookupUser:Request 1] in 42ms (0 bytes)

No RepliesBe the first to reply