IBM Support

JR49517: TW.SYSTEM.USER_TIMEZONE API RETURNS IN NPE WHEN EXECUTING IN SYSTEM LANE.

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 executing tw.system.user_timeZone or
    timeZoneOffset in a System Lane where user preferences are not
    available, this call will results in an NullPointerException.
    

Local fix

  • NA
    

Problem summary

  • When executing Javascript API tw.system.user_timeZone() or
    tw.system.user_timeZoneOffset()  in a system lane, a
    NullPointerException occurs.
    The following exception stack may be logged in the system logs:
    Caused by: java.lang.NullPointerException
     at
    com.lombardisoftware.core.script.js.TWSystemNamespaceScriptable.
    jsGet_user_timeZone(TWSystemNamespaceScriptable.java:220)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
    

Problem conclusion

  • A fix is available for IBM BPM 7.5.1.2 that the
    NullPointerException is handled and a null/undefined value is
    returned. This behavior is consistent with the returned values
    in previous versions.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR49517:
    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 JR49517, 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

  • n/a
    

Comments

APAR Information

  • APAR number

    JR49517

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-03

  • Closed date

    2014-05-08

  • Last modified date

    2014-05-08

  • 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 ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R801 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
08 May 2014