NPE error at weblogic.management.security.OAMAUTHNPROVIDERBeanInfoFactory.getRoleInfo ImplementationFactoryTimestamp (Doc ID 2211528.1)

Last updated on MARCH 29, 2017

Applies to:

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

Symptoms

 
When attempting to enable the Weblogic REST management service on a Oracle Service Bus domain and invoking the URL http://localhost:7001/management/weblogic/latest/domainConfig the following error occurs:

ERROR
-----------------------
HTTP/1.1 500 Internal Server Error
Connection: close
Date: Thu, 04 Aug 2016 10:58:58 GMT
Content-Length: 21
Content-Type: text/html; charset=UTF-8
Below Error is observed in the Weblogic Server logs
<Aug 4, 2016, 12:58:58,612 PM CEST> <Error> <REST> <BEA-2159702> <REST  encountered the following error:
Request uri=/management/weblogic/latest/domainConfig method=GET>
<Aug 4, 2016, 12:58:58,613 PM CEST> <Error> <REST> <BEA-2159702> <REST encountered the following error: HTTP 500 Internal Server Error>
<Aug 4, 2016, 12:58:58,613 PM CEST> <Error> <REST> <BEA-2159702> <REST encountered the following error: java.lang.NullPointerException

at java.io.Reader.<init>(Reader.java:78)
at java.io.InputStreamReader.<init>(InputStreamReader.java:72)
at
weblogic.management.security.OAMAUTHNPROVIDERBeanInfoFactory.getRoleInfo
ImplementationFactoryTimestamp(OAMAUTHNPROVIDERBeanInfoFactory.java:61)
at
weblogic.management.provider.internal.BeanInfoAccessImpl.getRoleInfoImplementationFactoryTimestamp(BeanInfoAccessImpl.java:412)
at
weblogic.management.internal.DefaultJMXPolicyManager.registerDefaultPolicies(DefaultJMXPolicyManager.java:111)
at
weblogic.management.internal.DefaultJMXPolicyManager.init(DefaultJMXPolicyManager.java:57)
at
weblogic.management.rest.lib.bean.utils.AtzUtils.isAccessAllowed(AtzUtils.java:323)
at
weblogic.management.rest.lib.bean.utils.AtzUtils.checkGetAccess(AtzUtils.java:74)
at
weblogic.management.rest.lib.bean.utils.AtzUtils.checkGetAccess(AtzUtils.java:61)
at
weblogic.management.rest.lib.bean.utils.TreeUtils.getDomainConfigBean(TreeUtils.java:99)
at
weblogic.management.rest.bean.resources.custom.DomainConfigBeanResource.getRootBean(DomainConfigBeanResource.java:12)
at
weblogic.management.rest.lib.bean.resources.RootBeanResource.copyContext(RootBeanResource.java:31)
at
org.glassfish.admin.rest.composite.CompositeResource.getSubResource(CompositeResource.java:130)
at
weblogic.management.rest.bean.resources.custom.VersionResource.getSubResourceAdminOnly(VersionResource.java:78)
at
weblogic.management.rest.bean.resources.custom.VersionResource.getDomainCon
figResource(VersionResource.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 
 

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