weblogic.t3.srvr.ServerRuntime.getClusterRuntime(). Exception: java.lang.NullPointerException (Doc ID 1420263.1)

Last updated on JUNE 15, 2017

Applies to:

Oracle WebLogic Server - Version 8.1 to 8.1
All Platforms

Goal


On WebLogic Server 8.1.X, a NullPointerException can occur as seen in the following error reported in the log file:

####<29-Dec-2011 8:12:35 o'clock PM EST> <Error> <Management> <a02962> <AdminServer> <ExecuteThread: '0' for queue: 'weblogic.admin.RMI'> <system> <> <BEA-140001> <An error occurred while getting attribute ClusterRuntime on MBean QPS:Location=AdminServer,Name=AdminServer,Type=ServerRuntime. Method: public weblogic.management.runtime.ClusterRuntimeMBean weblogic.t3.srvr.ServerRuntime.getClusterRuntime(). Exception: java.lang.NullPointerException.
java.lang.NullPointerException

####<29-Dec-2011 8:12:35 o'clock PM EST> <Error> <Management> <a02962> <AdminServer> <ExecuteThread: '0' for queue: 'weblogic.admin.RMI'> <system> <> <BEA-140001> <An error occurred while getting attribute ClusterRuntime on MBean QPS:Location=AdminServer,Name=AdminServer,Type=ServerRuntime. Method: public weblogic.management.runtime.ClusterRuntimeMBean weblogic.t3.srvr.ServerRuntime.getClusterRuntime(). Exception: java.lang.NullPointerException.
java.lang.NullPointerException

at weblogic.t3.srvr.ServerRuntime.getClusterRuntime(ServerRuntime.java:971)
at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:605)
at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1183)
at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1153)
at weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:288)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:491)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>


This article explains how to fix the exception.

Solution

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