IBM Support

JR59671: YOU RECEIVE A NPE WHEN YOU CALL THE TW.SYSTEM.USER.SAVEDSEARCHES JAVASCRIPT API

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

Direct link to fix

 

APAR status

  • Closed as program error.

Error description

  • When you call the tw.system.user.savedSearches JavaScript API
    and the list of saved searches for the user contains one saved
    search with a FullTextSearch condition, you see a
    NullPointerException (NPE) similar to the following NPE:
    
    [2/14/18 11:32:33:303 CET] 00003977 JavaScriptRun E
    CWLLG2015E:  An unexpected runtime exception occurred. See
    exception for more details.  Error: Wrapped
    java.lang.NullPointerException (<JSScript>#3).
    
    org.mozilla.javascript.WrappedException: Wrapped
    java.lang.NullPointerException (<JSScript>#3)
     at
    org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.ja
    va:1754)
     at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
     at
    org.mozilla.javascript.ScriptableObject$GetterSlot.getValue(Scri
    ptableObject.java:295)
     at
    org.mozilla.javascript.ScriptableObject.get(ScriptableObject.jav
    a:456)
     at
    org.mozilla.javascript.ScriptableObject.getProperty(ScriptableOb
    ject.java:2185)
     at
    org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime
    .java:1492)
     at
    org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime
    .java:1485)
     at
    org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.jav
    a:1239)
    . . .
    Caused by: java.lang.NullPointerException
     at
    com.lombardisoftware.psapi.data.Query$Operator.toString(Query.ja
    va:2115)
     at java.lang.String.valueOf(String.java:1670)
     at java.lang.StringBuffer.append(StringBuffer.java:190)
     at
    com.lombardisoftware.psapi.data.Query$Constraint.toString(Query.
    java:1844)
    
    PRODUCTS AFFECTED
    IBM Business Process Manager (BPM)
    IBM Business Automation Workflow
    

Local fix

Problem summary

  • No additional information is available.
    

Problem conclusion

  • A fix that prevents the NPE will be available in a future
    release of IBM Business Automation Workflow.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR59671

  • Reported component name

    BPM

  • Reported component ID

    5737A5700

  • Reported release

    I00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-06-19

  • Closed date

    2018-09-11

  • Last modified date

    2018-09-11

  • 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

    BUS AUTO WORKFL

  • Fixed component ID

    5737H4100

Applicable component levels

  • RI00 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18.0.0.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 September 2018