IBM Support

RS02853: NULLPOINTEREXCEPTION IN BC TEST WHEN SERVER URL ENDS WITH WHITESPACE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In Enterprise Console,  a DecisionRunner server can be created
    and successfully tested when its URL ends with whitespace, for
    example SPACE or /t (TAB).
    Running a test scenario in Business Console on this server
    fails with NPE:
    [8/18/17 9:19:13:215 PDT] 00000453 ioncenter.remoting.internal.
    RemoteSessionHttpExecutorBuilder I {"date":"August 18, 2017 9:
    19:13 AM","datasource":"jdbc\/ilogDataSource","message":"Sign
    out successfully","url":"http:\/\/localhost:
    9090\/DecisionRunner\t","username":null}
    [8/18/17 9:19:38:690 PDT] 00000170 ioncenter.remoting.internal.
    RemoteSessionHttpExecutorBuilder I {"date":"August 18, 2017 9:
    19:38 AM","datasource":"jdbc\/ilogDataSource","message":"Sign
    out successfully","url":"http:\/\/localhost:
    9090\/DecisionRunner\t","username":null}
    [8/18/17 9:19:39:704 PDT] 00000170 ilog.rules.teamserver.ejb.
    service.validation.IlrTestingUtil  W [Report - 2017-08-18_09-19-
    
    31] nullilog.rules.teamserver.model.IlrTestingException:
    IlrTestingException
    NullPointerException
        at ilog.rules.teamserver.ejb.service.validation.
    IlrTestSuiteService.prepareRun(IlrTestSuiteService.java:322)
        at ilog.rules.teamserver.ejb.service.validation.
    IlrTestSuiteService.asynchronousPrepare(IlrTestSuiteService.
    java:202)
        at ilog.rules.teamserver.ejb.service.validation.
    PrepareArchiveThreadService.run(PrepareArchiveThreadService.
    java:56)
        at com.google.common.util.concurrent.
    AbstractExecutionThreadService$1$1.run(
    AbstractExecutionThreadService.java:48)
        at java.lang.Thread.run(Thread.java:785)
    Caused by: java.lang.NullPointerException
        at java.util.AbstractCollection.addAll(AbstractCollection.
    java:354)
        at ilog.rules.teamserver.model.decisionservice.
    TestingXOMDeployManager.getRESURIs(TestingXOMDeployManager.java:
    
    110)
        at ilog.rules.teamserver.model.decisionservice.
    TestingXOMDeployManager.getRESURIs(TestingXOMDeployManager.java:
    
    116)
        at ilog.rules.teamserver.model.decisionservice.
    TestingXOMDeployManager.getRESURIs(TestingXOMDeployManager.java:
    
    116)
        at ilog.rules.teamserver.model.decisionservice.
    TestingXOMDeployManager.deployXOM(TestingXOMDeployManager.java:
    104)
        at ilog.rules.teamserver.model.IlrModelUtil.
    getXomUrisPropValue(IlrModelUtil.java:1256)
        at ilog.rules.teamserver.ejb.service.validation.
    IlrTestSuiteService.prepareRun(IlrTestSuiteService.java:309)
        ... 4 more
    

Local fix

  • Make sure to delete all trailing whitespace from decisionrunner
    URL.
    

Problem summary

  • In enterprise console, server can have whitespace in URL in
    creation and test, but this fails test scenarios
    

Problem conclusion

  • The code was fixed.
    

Temporary fix

  • Make sure to delete all trailing whitespace from decisionrunner
    URL.
    

Comments

APAR Information

  • APAR number

    RS02853

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    890

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-08-21

  • Closed date

    2017-08-31

  • Last modified date

    2017-08-31

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    WS DECISION CTR

  • Fixed component ID

    5725B6900

Applicable component levels

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

Document Information

Modified date:
03 November 2021