An EJB-based JAX-WS Web Service Returns NullPointerException

(Doc ID 2311301.1)

Last updated on SEPTEMBER 28, 2017

Applies to:

Oracle WebLogic Server - Version to [Release 12c]
Information in this document applies to any platform.


A test with an EJB based JAX-WS web service consistently fails with NullPointerExceptions.  Here is the stack trace:

java.lang.NullPointerException at weblogic.ejb.container.internal.BaseWSLocalObject.__WL_preInvoke( at Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at weblogic.wsee.server.ejb.WsEjb.preInvoke( at weblogic.wsee.jaxws.WLSEjbInstanceResolver$WLSEjbInvoker.invoke( at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke( at$2.invoke(



 The problem began upon upgrading to WebLogic version 12.2.x from a previous WebLogic version. 


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