IBM Support

RS03555: FAIL TO DEPLOY A RULESET IF THE REQUIRED LIBRARY WAS ALREADY DEPLOYED BUT IS EMPTY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The error message in the deployment report of the Business
    Console is:
    
    An unexpected error has occurred during the deployment. Contact
    your administrator.
    
    The stack trace in the log is:
    
    "SEVERE: java.lang.NullPointerException
    at
    com.ibm.rules.decisionservice.internal.RESClient$4.isXOMResource
    sReferencedByLibrary(RESClient.java:670)
    at
    com.ibm.rules.decisionservice.internal.RESClient$4.execute(RESCl
    ient.java:616)
    at
    com.ibm.rules.decisionservice.internal.RESClient$4.execute(RESCl
    ient.java:575)
    at
    com.ibm.rules.decisionservice.internal.RESClient.safeInvokeRES(R
    ESClient.java:136)
    at
    com.ibm.rules.decisionservice.internal.RESClient.deploy(RESClien
    t.java:575)
    at
    com.ibm.rules.decisionservice.internal.RESRESTClient4.deploy(RES
    RESTClient4.java:38)
    at
    com.ibm.rules.decisionservice.internal.DsResRestClient.deploy(Ds
    ResRestClient.java:54)
    at
    ilog.rules.teamserver.model.decisionservice.wrapper.DCIDsServer.
    deploy(DCIDsServer.java:109)
    at
    com.ibm.rules.decisionservice.DsXOMDeployManager.deploy(DsXOMDep
    loyManager.java:87)
    at
    com.ibm.rules.decisionservice.DsDeployManager.deploy(DsDeployMan
    ager.java:81)
    at
    ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.deployDSR
    uleAppArchive(IlrSessionFacadeImpl.java:5821)
    at
    ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl$9.call(Il
    rSessionFacadeImpl.java:6054)
    at
    ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl$9.call(Il
    rSessionFacadeImpl.java:6050)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
    Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
    Source)
    at java.lang.Thread.run(Unknown Source)
    
    Here is the scenario to reproduce with the "Miniloan Service"
    project provided in our samples:
    
    1) deploy the ruleApp once
    2) in the RES console, you should have a library named
    "mydeployment_library/1.0" containing a reference to the
    resource "miniloan-xom.zip/1.0"
    3) remove this reference to the
    resource "miniloan-xom.zip/1.0" so that the library
    "mydeployment_library/1.0" is now 'empty' (referencing no
    resource nor other libraries)
    4) publish the ruleApp again =>
    it fails with the error below in the report:
    An unexpected
    error has occurred during the deployment. Contact your
    administrator.
    5) if you recreate a reference to the resource
    "miniloan-xom.zip/1.0" in the library
    "mydeployment_library/1.0", then you can deploy the ruleApp
    back again successfully
    
    The same problem happens when deploying from Rule Designer.
    

Local fix

  • The solution is to recreate the missing reference(s) within the
    empty library:
    1) open the RES console
    2) in the Explorer tab,
    select the ruleset that fails to deploy, then click "Managed
    URIs" to see which library is used
    3) in the Explorer tab,
    select the library identified at the previous step and click
    "Add Internal Resource Reference"
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users deploying a ruleset to the RES console.                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Fail to deploy a ruleset if the required library was already *
    * deployed but is empty                                        *
    *                                                              *
    * "SEVERE: java.lang.NullPointerException                      *
    *                                                              *
    * at                                                           *
    * com.ibm.rules.decisionservice.internal.RESClient$4.isXOMReso *
    * urcesReferencedByLibrary(RESClient.java:670)                 *
    *                                                              *
    * at                                                           *
    * com.ibm.rules.decisionservice.internal.RESClient$4.execute(R *
    * ESClient.java:616)                                           *
    *                                                              *
    * at                                                           *
    * com.ibm.rules.decisionservice.internal.RESClient$4.execute(R *
    * ESClient.java:575)                                           *
    *                                                              *
    * at                                                           *
    * com.ibm.rules.decisionservice.internal.RESClient.safeInvokeR *
    * ES(RESClient.java:136)                                       *
    *                                                              *
    * at                                                           *
    * com.ibm.rules.decisionservice.internal.RESClient.deploy(RESC *
    * lient.java:575)                                              *
    *                                                              *
    * at                                                           *
    * com.ibm.rules.decisionservice.internal.RESRESTClient4.deploy *
    * (RESRESTClient4.java:38)                                     *
    *                                                              *
    * at                                                           *
    * com.ibm.rules.decisionservice.internal.DsResRestClient.deplo *
    * y(DsResRestClient.java:54)                                   *
    *                                                              *
    * at                                                           *
    * ilog.rules.teamserver.model.decisionservice.wrapper.DCIDsSer *
    * ver.deploy(DCIDsServer.java:109)                             *
    *                                                              *
    * at                                                           *
    * com.ibm.rules.decisionservice.DsXOMDeployManager.deploy(DsXO *
    * MDeployManager.java:87)                                      *
    *                                                              *
    * at                                                           *
    * com.ibm.rules.decisionservice.DsDeployManager.deploy(DsDeplo *
    * yManager.java:81)                                            *
    *                                                              *
    * at                                                           *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl.deplo *
    * yDSRuleAppArchive(IlrSessionFacadeImpl.java:5821)            *
    *                                                              *
    * at                                                           *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl$9.cal *
    * l(IlrSessionFacadeImpl.java:6054)                            *
    *                                                              *
    * at                                                           *
    * ilog.rules.teamserver.ejb.service.IlrSessionFacadeImpl$9.cal *
    * l(IlrSessionFacadeImpl.java:6050)                            *
    *                                                              *
    * at java.util.concurrent.FutureTask.run(Unknown Source)       *
    *                                                              *
    * at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown *
    * Source)                                                      *
    *                                                              *
    * at                                                           *
    * java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown   *
    * Source)                                                      *
    *                                                              *
    * at java.lang.Thread.run(Unknown Source)                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The code is fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS03555

  • Reported component name

    WDS FOR RULES

  • Reported component ID

    5725B6903

  • Reported release

    8A0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-01-23

  • Closed date

    2020-03-17

  • Last modified date

    2020-03-17

  • 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

    WDS FOR RULES

  • Fixed component ID

    5725B6903

Applicable component levels

  • R8A0 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8A0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 February 2022