IBM Support

IV79222: NULL POINTER EXCEPTION IN IBM.TOOLS.ATTACH.J9ATTACHPROVIDER.LIST VIRTUALMACHINES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.NullPointerException
    .
    Stack Trace: Exception in thread "AWT-EventQueue-0"
    java.lang.NullPointerException
        at
    ibm.tools.attach.J9AttachProvider.listVirtualMachines(J9AttachPr
    ovider.java:46)
        at
    com.sun.tools.attach.VirtualMachine.list(VirtualMachine.java:174
    )
        at
    sun.tools.jconsole.LocalVirtualMachine.getAttachableVMs(LocalVir
    tualMachine.java:181)
        at
    sun.tools.jconsole.LocalVirtualMachine.getAllVirtualMachines(Loc
    alVirtualMachine.java:140)
        at
    sun.tools.jconsole.ConnectDialog$ManagedVmTableModel.refresh(Con
    nectDialog.java:746)
        at
    sun.tools.jconsole.ConnectDialog$ManagedVmTableModel.<init>(Conn
    ectDialog.java:737)
        at
    sun.tools.jconsole.ConnectDialog.<init>(ConnectDialog.java:146)
        at
    sun.tools.jconsole.JConsole.showConnectDialog(JConsole.java:644)
    .
    This can occur in the case where the attach API is disabled and
    the common directory
    /tmp/.com_ibm_tools_attach
    is absent.
    

Local fix

  • Note that attach API is disabled by default on z/OS systems.
    Tools such as jconsole which use attach API will produce no
    results in this case and should not be run.
    

Problem summary

  • The attach API returned a null if the common directory is
    absent.
    

Problem conclusion

  • The attach API returns an empty list if the common directory is
    absent.
    .
    This APAR will be fixed in the following Java Releases:
       7    SR9 FP30  (7.0.9.30)
       8    SR2 FP10  (8.0.2.10)
       7 R1 SR3 FP30  (7.1.3.30)
       6 R1 SR8 FP20  (6.1.8.20)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV79222

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-11-25

  • Closed date

    2015-11-30

  • Last modified date

    2015-12-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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R260 PSY

       UP

  • R270 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022