IBM Support

JR50150: NULLPOINTEREXCEPTION OCCURS IN STCONVERTIONHELPERIMPL. TOSTSUPPORTEDOBJECT() API WHEN TRACING WLE.WLE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Tracing with the trace set to WLE.wle=fine =all or =finest with
    will lead to a NullPointerException in the
    STConversionHelperImpl.toSTSupportedObject() API if the
    JavaScript object being processed is an empty string and the
    resulting object is null.
    
      These are the errors that are logged
    [4/6/15 14:58:38:895 CDT] 00001365 wle           E   CWLLG0391E:
     An update operation failed.
    java.lang.NullPointerException
    at
    com.lombardisoftware.core.helpers.STConversionHelperImpl.toSTSup
    portedObject(STConversionHelperImpl.java:204)
    at
    com.lombardisoftware.core.helpers.SymbolTableObjectHelperRegistr
    y.toSTSupportedObject(SymbolTableObjectHelperRegistry.java:66)
    at
    com.lombardisoftware.server.core.SymbolTable.set(SymbolTable.jav
    a:413)
    at
    com.lombardisoftware.core.script.js.AbstractTWSymbolTableScripta
    ble.put(AbstractTWSymbolTableScriptable.java:176)
    
    
    [4/6/15 14:58:38:941 CDT] 00001365 wle           E   CWLLG0594E:
    An exception occurred while initializing the runnable thread.
    Error:
    com.lombardisoftware.component.common.workflow.WorkflowProcessIt
    emException: Runtime error in script ("Process:
    'ObtainData' ProcessItem: 'Set Variables' Type: 'ITEM'"
    0:0).Internal Script error:
    java.lang.NullPointerException
    Script (line 0):
    1 : var arrayString =  tw.local.imputData.split(".");
    2 : tw.local.domains = arrayString[0];
    .
    com.lombardisoftware.component.common.workflow.WorkflowProcessIt
    emException: Runtime error in script ("Process:
    'ObtainData' ProcessItem: 'Set Variables' Type: 'ITEM'"
    0:0).Internal Script error:
    java.lang.NullPointerException
    
    .------------------------------------------------------------
      Here is another instance of this exception
    [1/28/16 15:53:02:981 PST] 000001d3 wle           1
    com.lombardisoftware.core.helpers.STConversionHelperImpl
    toSTSupportedObject BEGIN: toSTSupportedObject(),
    class=java.lang.String, object = , expectedTWClass = Integer
    [1/28/16 15:53:02:982 PST] 000001d3 wle           E
    CWLLG0391E: An update operation failed.
                                     java.lang.NullPointerException
     at
    com.lombardisoftware.core.helpers.STConversionHelperImpl.toSTSup
    portedObject(STConversionHelperImpl.java:204)
     at
    com.lombardisoftware.core.helpers.SymbolTableObjectHelperRegistr
    y.toSTSupportedObject(SymbolTableObjectHelperRegistry.java:66)
     at
    com.lombardisoftware.server.core.SymbolTable.set(SymbolTable.jav
    a:413)
     at
    com.lombardisoftware.core.script.js.AbstractTWSymbolTableScripta
    ble.put(AbstractTWSymbolTableScriptable.java:176)
     at
    org.mozilla.javascript.ScriptableObject.putProperty(ScriptableOb
    ject.java:1729)
     at
    org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime
    .java:1557)
     at
    org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime
    .java:1547)
     at
    org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.jav
    a:3036)
     at
    org.mozilla.javascript.Interpreter.interpret(Interpreter.java:24
    87)
     at
    org.mozilla.javascript.InterpretedFunction.call(InterpretedFunct
    ion.java:164)
     at
    org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.j
    ava:398)
     at
    org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.jav
    a:3070)
     at
    org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunct
    ion.java:175)
     at
    com.lombardisoftware.core.script.js.JSScript.exec(JSScript.java:
    69)
    

Local fix

Problem summary

  • In the exit trace statement of the
    STConversionHelperImpl.toSTSupportedObject() API, the case of
    a resulting object being null is not considered and, therefore,
    is still accessed, which causes a NullPointerException to occur.
    

Problem conclusion

  • A fix is/will be available that fixes the NullPointerException
    when tracing WLE.wle is enabled.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR50150:
    
    1. Select IBM Business Process Manager with your edition from
     the product selector, the installed version to the fix pack
     level, and your platform, and then click Continue.
    
    2. Select APAR or SPR, enter JR50150, and click Continue.
    
    When you download fix packages, ensure that you also download
    the readme file for each fix. Review each readme file for
    additional installation instructions and information about the
    fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR50150

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-05-05

  • Closed date

    2014-07-09

  • Last modified date

    2016-01-29

  • 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

  • R850 PSY

       UP

  • R855 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.5","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
29 January 2016