IBM Support

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

Direct link to fix

Subscribe

You can track all active APARs for this component.

 

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

    2025-07-13

  • 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18.0.0.0","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Document Information

Modified date:
14 July 2025