IBM Support

PI66522: A deploy rule without a defined restart command produces an exce ption during a deploy operation.

Fixes are available

16.0.0.3: WebSphere Application Server Liberty 16.0.0.3
16.0.0.4: WebSphere Application Server Liberty 16.0.0.4
17.0.0.1: WebSphere Application Server Liberty 17.0.0.1
17.0.0.2: WebSphere Application Server Liberty 17.0.0.2
17.0.0.3: WebSphere Application Server Liberty 17.0.0.3
17.0.0.4: WebSphere Application Server Liberty 17.0.0.4
18.0.0.1: WebSphere Application Server Liberty 18.0.0.1
18.0.0.2: WebSphere Application Server Liberty 18.0.0.2
18.0.0.3: WebSphere Application Server Liberty 18.0.0.3
18.0.0.4: WebSphere Application Server Liberty 18.0.0.4
19.0.0.1: WebSphere Application Server Liberty 19.0.0.1
19.0.0.2: WebSphere Application Server Liberty 19.0.0.2
19.0.0.3: WebSphere Application Server Liberty 19.0.0.3
19.0.0.4: WebSphere Application Server Liberty 19.0.0.4
19.0.0.5: WebSphere Application Server Liberty 19.0.0.5
19.0.0.6: WebSphere Application Server Liberty 19.0.0.6
19.0.0.7: WebSphere Application Server Liberty 19.0.0.7
19.0.0.8: WebSphere Application Server Liberty 19.0.0.8
19.0.0.9: WebSphere Application Server Liberty 19.0.0.9
19.0.0.10: WebSphere Application Server Liberty 19.0.0.10
19.0.0.11: WebSphere Application Server Liberty 19.0.0.11
19.0.0.12: WebSphere Application Server Liberty 19.0.0.12
20.0.0.1: WebSphere Application Server Liberty 20.0.0.1
20.0.0.2: WebSphere Application Server Liberty 20.0.0.2
20.0.0.3: WebSphere Application Server Liberty 20.0.0.3
20.0.0.4: WebSphere Application Server Liberty 20.0.0.4
20.0.0.5: WebSphere Application Server Liberty 20.0.0.5
20.0.0.6: WebSphere Application Server Liberty 20.0.0.6
20.0.0.7: WebSphere Application Server Liberty 20.0.0.7
20.0.0.8: WebSphere Application Server Liberty 20.0.0.8
20.0.0.9: WebSphere Application Server Liberty 20.0.0.9
20.0.0.10: WebSphere Application Server Liberty 20.0.0.10
20.0.0.11: WebSphere Application Server Liberty 20.0.0.11
20.0.0.12: WebSphere Application Server Liberty 20.0.0.12

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Although the restart command is an optional part of a deploy
    rule, a rule without this command will produce the following
    exception during a deploy operation.
    
    Stack Dump = java.lang.NullPointerException
    	at
    com.ibm.ws.collective.deploy.DeployRule.substituteVariable(D
    eployRule.java:245)
    	at
    com.ibm.ws.collective.deploy.DeployRule.resolveSystemVariabl
    es(DeployRule.java:115)
    	at
    com.ibm.ws.collective.deploy.DeployRule.<init>(DeployRule.ja
    va:72)
    	at
    com.ibm.ws.collective.deploy.internal.DeployServiceImpl.depl
    oy(DeployServiceImpl.java:521)
    	at
    com.ibm.ws.collective.rest.internal.v1.DeploymentAPI.handleD
    eploy(DeploymentAPI.java:281
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty - Systems Management         *
    *                  Functions                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: A deploy rule without a defined restart *
    *                      command produces an exception during a  *
    *                      deploy operation.                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Although the restart command is an optional part of a deploy
    rule, a rule without this command will produce the following
    exception during a deploy operation.
    
    Stack Dump = java.lang.NullPointerException
    	at
    com.ibm.ws.collective.deploy.DeployRule.substituteVariable(Deplo
    yRule.java:245)
    	at
    com.ibm.ws.collective.deploy.DeployRule.resolveSystemVariables(D
    eployRule.java:115)
    	at
    com.ibm.ws.collective.deploy.DeployRule.<init>(DeployRule.java:7
    2)
    	at
    com.ibm.ws.collective.deploy.internal.DeployServiceImpl.deploy(D
    eployServiceImpl.java:521)
    	at
    com.ibm.ws.collective.rest.internal.v1.DeploymentAPI.handleDeplo
    y(DeploymentAPI.java:281
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI66522

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-26

  • Closed date

    2016-07-28

  • Last modified date

    2016-07-28

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
17 October 2021