IBM Support

PM93960: ADMINAPP.EDIT CAN GENERATE A NULLPOINTEREXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • WebSphere Application Server V8.5.5
    
    A NullPointerException is thrown because one module has no
    class (null) and we can view it from AdminApp.view(appname)
    command.  The class column is required and it throws NPE when
    applying the change to the application during AdminApp.edit()
    command.
    
    The operation works from the Administrative Console but why
    attempting to run the jython script created by the admin
    console the following error is seen:
    
    WASX7120E:  Diagnostic information from exception with text
    "java.lang.NullPointerException: java.lang.NullPointerException
    " follows:
    java.lang.NullPointerException
    at com.ibm.ws.scripting.AdminAppClient.applyChanges(AdminAppCli
    ent.java:3458)
    ...
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.5.5                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: The AdminApp.edit() command generated   *
    *                      a                                       *
    *                      NullPointerException when one of        *
    *                      modules has no class (null).            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The NullPointerException is thrown because one of modules
    has no class (null) and we can view it from the
    AdminApp.view(appname) command.  The class column is required
    and it throws NPE when applying the change to the application
    during AdminApp.edit() command.
    

Problem conclusion

  • The NPE error is now prevented when editing an application
    and one of application modules has no class defined.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.2.  Please refer to the Recommended
    Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM93960

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-26

  • Closed date

    2013-08-19

  • Last modified date

    2013-08-19

  • 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

  • R850 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.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022