IBM Support

JR57649: YOU RECEIVE A NULLPOINTEREXCEPTION WHEN A SEARCHABLE MEMBER VARIABLE OF A NESTED COMPLEX BUSINESS OBJECT IS SAVED

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.

 

APAR status

  • Closed as program error.

Error description

  • When you run a process that contains a process variable and that
    process variable holds a complex business object that contains
    another complex business object that is null and has a property
    of simple type that is marked as "Available in Search" in IBM
    Process Designer, an exception like the following exception is
    written to the server log file:
    
    CWLLG2041E:  TeamWorksJavaScriptException created non-nested.
    Error: [TeamworksException name='TypeError', message='TypeError:
    Cannot read property <propertyName> from null (<JSScript>#1)',
    line=1, pos=-1 nested=<none>]
    [TeamworksException name='TypeError', message='TypeError: Cannot
    read property <propertyName> from null (<JSScript>#1)', line=1,
    pos=-1 nested=<none>]
     at
    com.lombardisoftware.core.script.js.JavaScriptRunner.execute(Jav
    aScriptRunner.java:319)
     at
    com.lombardisoftware.core.script.js.JavaScriptRunner.evalExpress
    ion(JavaScriptRunner.java:415)
     at
    com.lombardisoftware.core.script.js.JavaScriptRunner.evalExpress
    ion(JavaScriptRunner.java:403)
     at
    com.lombardisoftware.bpd.runtime.engine.BPDExecutionTreeNode.eva
    luateExpression(BPDExecutionTreeNode.java:812)
     at
    com.lombardisoftware.bpd.runtime.engine.BPDExecutionTreeNode.eva
    luateExpression(BPDExecutionTreeNode.java:781)
     at
    com.lombardisoftware.bpd.runtime.engine.BPDExecutionTreeNode.eva
    luateExpression(BPDExecutionTreeNode.java:753)
     at
    com.lombardisoftware.bpd.runtime.engine.BPDInstanceDAO.processSe
    archableField(BPDInstanceDAO.java:1976)
     at
    com.lombardisoftware.bpd.runtime.engine.BPDInstanceDAO.getSearch
    ableValues(BPDInstanceDAO.java:1890)
     at
    com.lombardisoftware.bpd.runtime.engine.BPDInstanceDAO.saveSearc
    hableValues(BPDInstanceDAO.java:1277)
     at
    com.lombardisoftware.bpd.runtime.engine.BPDInstanceDAO.save(BPDI
    nstanceDAO.java:414)
    
    
    PRODUCTS AFFECTED
    IBM Business Process Manager (BPM) Advanced
    IBM BPM Standard
    IBM BPM Express
    

Local fix

  • Either clear the Available for Search option for the
    bottom-level simple-typed attribute or set a value for the
    mid-level complex-typed attribute.
    

Problem summary

  • No additional information is available.
    

Problem conclusion

  • A fix that prevents a NullPointerException from occurring while
    IBM BPM accesses the searchable attributes is available for IBM
    BPM V8.0.1.3 and is targeted for inclusion in IBM BPM 8.5.7.0
    CF2017.06.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR57649

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-03-24

  • Closed date

    2017-05-17

  • Last modified date

    2017-05-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

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R801 PSY

       UP

  • R857 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
17 May 2017