IBM Support

PM38858: NULLPOINTEREXCEPTION WHEN RUNNING WS_ANT.SH SCRIPT ON ZOS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The ws_ant script failed because $WS_EXT_DIRS
    and $JAVA_HOME are not set correctly in WsAdmin ant task when
     a new jvm is created to launch wsadmin.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: The java.lang.NullPointerException is   *
    *                      thrown from java security code when     *
    *                      running ws_ant script on a z/OS system. *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The NullPointerException error is thrown because the JAVA_HOME
    environment variable is not set properly in the ws_ant task.
    All Java APIs calls failed because JAVA_HOME is not set.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM38858

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-10

  • Closed date

    2011-06-23

  • Last modified date

    2011-06-23

  • 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

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 October 2021