IBM Support

PK77235: WHILE GENERATING A HEAPDUMP USING THE WSADMIN SCRIPT OR JYTHON THE MEMORY DUMP FAILS THROWING JAVA.LANG.NULLPOINTEREXCEPTION

Fixes are available

7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for AIX
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for IBM i
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Windows
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for HP-UX
7.0.0.5: Java SDK 1.6 SR5 Cumulative Fix for WebSphere Application Server
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Solaris
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Linux
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for IBM i
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for AIX
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Windows
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for HP-UX
7.0.0.7: Java SDK 1.6 SR6 Cumulative Fix for WebSphere Application Server
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Solaris
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Linux
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for IBM i
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Windows
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for AIX
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for HP-UX
7.0.0.9: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Solaris
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Linux
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for IBM i
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Windows
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for HP-UX
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for AIX
7.0.0.11: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Solaris
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Linux
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for AIX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for HP-UX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for IBM i
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Linux
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Solaris
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Windows
7.0.0.13: Java SDK 1.6 SR8FP1 Cumulative Fix for WebSphere Application Server
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for AIX
7.0.0.15: Java SDK 1.6 SR9 Cumulative Fix for WebSphere Application Server
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for HP-UX
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for IBM i
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Linux
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Solaris
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Windows
7.0.0.17: WebSphere Application Server V7.0 Fix Pack 17
7.0.0.17: Java SDK 1.6 SR9 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.19: WebSphere Application Server V7.0 Fix Pack 19
7.0.0.21: WebSphere Application Server V7.0 Fix Pack 21
7.0.0.23: WebSphere Application Server V7.0 Fix Pack 23
7.0.0.25: WebSphere Application Server V7.0 Fix Pack 25
7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Generation of a heapdump using the wsadmin script fails throwing
    a NullPointerException.
    
    
    /usr/IBM/WebSphere/AppServer/bin/wsadmin.sh  -profileName
    AppSrv01 - lang jython -f memDump.jython
    
    "WASX7209I: Connected to process "dmgr" on node test01bManager
    using
    SOAP connector;  The type of process is: DeploymentManager
    WASX7017E: Exception received while running file "/tmp/memDump.
    200808051328.jython"; exception information: javax.management.
    RuntimeMBeanException
    java.lang.NullPointerException: java.lang.NullPointerException"
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere Application Server   *
    *                  v6.0.2 and V7.0                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: Invoking JVMMBean operation             *
    *                      generateHeapDump can get                *
    *                      NullPointerException.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    wsadmin.traceout log showed:
    javax.management.RuntimeMBeanException: null nested runtime
    exception is java.lang.NullPointerException
    java.lang.NullPointerException
    at
    com.ibm.ws.management.component.JVMMBean.generateHeapDump(JVMMBe
    an.java:273)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java(Compiled Code))
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java(Compiled Code))
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java(Compiled Code))
    at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
    at
    javax.management.modelmbean.RequiredModelMBean.invokeMethod(Requ
    iredModelMBean.java(Compiled Code))
    at
    javax.management.modelmbean.RequiredModelMBean.invoke(RequiredMo
    delMBean.java(Compiled Code))
    at
    mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(Inv
    okerMBeanServerInterceptor.java(Compiled Code))
    at
    mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(Def
    aultMBeanServerInterceptor.java(Inlined Compiled Code))
    at
    mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(Se
    curityMBeanServerInterceptor.java(Compiled Code))
    at
    mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(Def
    aultMBeanServerInterceptor.java(Compiled Code))
    at
    mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(Def
    aultMBeanServerInterceptor.java(Inlined Compiled Code))
    at
    mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor
    .invoke(ContextClassLoaderMBeanServerInterceptor.java(Compiled
    Code))
    at
    mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java(Compiled
     Code))
    at
    com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.ja
    va(Compiled Code))
    at
    com.ibm.ws.security.util.AccessController.doPrivileged(AccessCon
    troller.java(Compiled Code))
    at
    com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.j
    ava(Compiled Code))
    at
    com.ibm.ws.management.connector.AdminServiceDelegator.invoke(Adm
    inServiceDelegator.java(Inlined Compiled Code))
    at
    com.ibm.ws.management.connector.rmi.RMIConnectorService.invoke(R
    MIConnectorService.java(Compiled Code))
    at
    com.ibm.ws.management.connector.rmi._RMIConnectorService_Tie.inv
    oke(_RMIConnectorService_Tie.java(Compiled Code))
    at
    com.ibm.ws.management.connector.rmi._RMIConnectorService_Tie._in
    voke(_RMIConnectorService_Tie.java(Compiled Code))
    at
    com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDe
    legate.java(Compiled Code))
    at
    com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java(C
    ompiled Code))
    at com.ibm.rmi.iiop.ORB.process(ORB.java(Compiled Code))
    at com.ibm.CORBA.iiop.ORB.process(ORB.java(Compiled Code))
    at
    com.ibm.rmi.iiop.Connection.respondTo(Connection.java(Compiled
    Code))
    at com.ibm.rmi.iiop.Connection.doWork(Connection.java(Compiled
    Code))
    at
    com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java(Compiled
    Code))
    at
    com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java(Compiled
    Code))
    at
    com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled
    Code))
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PK77235

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    60A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-12-10

  • Closed date

    2008-12-30

  • Last modified date

    2008-12-30

  • 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

  • R60A PSY

       UP

  • R60H PSY

       UP

  • R60I PSY

       UP

  • R60P PSY

       UP

  • R60S PSY

       UP

  • R60W PSY

       UP

  • R60Z PSY

       UP

  • R700 PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 6.0

Reference #: PK77235

Modified date: 30 December 2008


Translate this page: