IBM Support

RS01967: NULLPOINTEREXCEPTION WHEN USING SYNCHRONIZE ANT TASK TO RETRIEVE A PROJECT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The following NullPointerException will be thrown when using
    the synchronize ant task to retrieve a project with the branch
    parameter set to a branch name that doesn't exist or when the
    branch parameter is not set:
    ant synchronize -Ddata="c:/test" -DprojectName="loanvalidation-
    rules" -Daction=retrieve -Dbranch="branchThatDoesntExist"
    
    
    BUILD FAILED
    java.lang.NullPointerException
        at ilog.rules.teamserver.ant.IlrSynchronizeTask.doExecute(
    IlrSynchronizeTask.java:74)
        at ilog.rules.teamserver.ant.IlrTeamServerTask.execute(
    IlrTeamServerTask.java:71)
        at org.apache.tools.ant.UnknownElement.execute(
    UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown
    Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:607)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(
    DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
    
        at org.apache.tools.ant.Project.executeSortedTargets(
    Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:
    1306)
        at org.apache.tools.ant.helper.DefaultExecutor.
    executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:
    1189)
        at org.apache.tools.ant.Main.runBuild(Main.java:758)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:
    257)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:
    104)
    

Local fix

  • use Rule Designer to retrieve the project.
    

Problem summary

  • no error management in the synchronize code when branch does
    not exist or is not specified.
    

Problem conclusion

  • The code is fixed
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS01967

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    870

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-17

  • Closed date

    2015-04-24

  • Last modified date

    2015-04-24

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

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

Modules/Macros

  • None
    999
    

Fix information

  • Fixed component name

    WS DECISION CTR

  • Fixed component ID

    5725B6900

Applicable component levels

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

Document Information

Modified date:
07 January 2022