Getting Nullpointer Exception in JDK 1.7, Whereas JDK 1.8 Works Fine

(Doc ID 2332243.1)

Last updated on NOVEMBER 26, 2017

Applies to:

Java SE JDK and JRE - Version 7 to 7 [Release 7]
Information in this document applies to any platform.

Symptoms

NullPointerException happens when the response of the web service is as below, the expected would be a SOAP Fault exception...

Web service response...

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms