APAR status
Closed as program error.
Error description
A NullPointerException may be thrown for a class lookup out of org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils when using a custom web service fault which is or references inner classes. The top of the root cause exception will look like this: java.lang.NullPointerException at java.lang.Class.forNameImpl(Native Method) at java.lang.Class.forName(Class.java:407) at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils $1.run(MethodMarshallerUtils.java:1256) at org.apache.axis2.java.security.AccessController.doPrivileged(Acc essController.java:132) at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils .forName(MethodMarshallerUtils.java:1250) at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils .loadClass(MethodMarshallerUtils.java:1220) at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils .demarshalFaultResponse(MethodMarshallerUtils.java:1105) ... ...
Local fix
Remove the nested classes from the fault class if possible.
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server * * for JAX-WS Web services. * **************************************************************** * PROBLEM DESCRIPTION: NullPointerException error may occur * * with * * Axis2 marshaller. * **************************************************************** * RECOMMENDATION: * **************************************************************** A NullPointerException may be thrown for a class lookup out of org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtil s when using a custom web service fault which is or references inner classes. The top of the root cause exception will look like this: java.lang.NullPointerException at java.lang.Class.forNameImpl(Native Method) at java.lang.Class.forName(Class.java:407) at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtil s$1.run(MethodMarshallerUtils.java:1256) at org.apache.axis2.java.security.AccessController.doPrivileged(Ac cessController.java:132) at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtil s.forName(MethodMarshallerUtils.java:1250) at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtil s.loadClass(MethodMarshallerUtils.java:1220) at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtil s.demarshalFaultResponse(MethodMarshallerUtils.java:1105) ... ...
Problem conclusion
Code changes have been made so that correct inner classes will be located for marshalling. The fix for this APAR is targeted for inclusion in fix pack 8.5.5.21 and 9.0.5.9. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553
Temporary fix
Comments
APAR Information
APAR number
PH34951
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2021-03-02
Closed date
2021-06-01
Last modified date
2021-06-01
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
R850 PSY
UP
R900 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
02 November 2021