IBM Support

PM60155: ADMINTASK VALIDATE CONFIG PROPERTIES REPORTS A NULL POINTER EXCEPTION IN APPLICATION.

Fixes are available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A NullPointerException is thrown when using the
    AdminTask.validateConfigProperties command to validate a
    properties file with the wsadmin tool.  This occurs when a
    properties file contains multiple property values separated by
    lines.
    
    The syntax of the command is similar to:
    
    AdminTask.validateConfigProperties('[-propertiesFileName
    /usr/mydir/my.application.props -reportFileName
    /usr/mydir/my_app_error.txt -reportFilterMechanism
    Errors_And_Changes]')
    
    The following messages will appear:
    
    ADMG0824I: Start validating properties from file
    /usr/mydir/my.application.props.
    ADMG0826I: Error found in section ResourceType=Application
    ConfigType=Application:ContainingConfigType=Application:Attribut
    eName=null
    ConfigId=Cell=cellA:Deployment=myDeployment1
    Error=java.lang.NullPointerException
    
    ADMG0826I: Error found in section ResourceType=Application
    ConfigType=Application:ContainingConfigType=Application:Attribut
    eName=null
    ConfigId=Cell=cellA:Deployment=myDeployment2
    Error=java.lang.NullPointerException
    
    ADMG0825I: End validating properties from file
    /usr/mydir/my.application.props.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: AdminTask validateConfigProperties      *
    *                      command reports a                       *
    *                      NullPointerException in the             *
    *                      application.                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem is caused by the MapInitParamForServlet install
    task because it contains multiple property values separated
    by lines on row1. The properties file parser only reads the
    first line of the property value when parsing the property
    value and causes the NullPointerException error during
    validation.
    

Problem conclusion

  • This is a bug in the properties file based configuration
    (PFBC) parser code when installing an application through the
    PFBC command and one of the install tasks specified in the
    properties file contains multiple property values separated
    by lines. The parser only read the first line of the property
    value. This has now been corrected.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 7.0.0.25.  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

    PM60155

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-10

  • Closed date

    2012-05-07

  • Last modified date

    2012-05-07

  • 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

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61I PSY

       UP

  • R61P PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R61Z PSY

       UP



Document information

More support for: WebSphere Application Server
General

Software version: 7.0

Reference #: PM60155

Modified date: 07 May 2012