IBM Support

JR48029: NULLPOINTEREXCEPTION WAS THROWN WHILE CALLING TW.SYSTEM.USER.ATTRIBUTES.LISTTONATIVEARRAY.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • On tw.system.user.attributes.listToNativeArray,
    NullPointerException is
    being thrown. Given an attributes object in the form of:
    <object type=\"Record\">
    <property name=\"Task Email Address\"
    type=\"String\">test@test.test.com</property>
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM Business Process Manager applications   *
    *                  using the JavaScript API TWObject           *
    *                  user.attributes.                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException is thrown        *
    *                      when calling                            *
    *                      "user.attributes.listToNativeArray()".  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    This is currently working as designed and it is a user
    scenario issue where the TWObject is used incorrectly.
    TWObject can be type Properties, Array, or Both. Some methods
    are specifically geared for a certain type of TWObject. In
    this case, the object is type Record, which is essentially a
    properties-only object. Certain methods will try to access the
    .array variable and get a NPE because the object does not
    allow that.
    

Problem conclusion

  • Although this is working as designed, the error message does
    not properly describe what the actual issue is. Code changes
    have been made to better substitute this error message. This
    will hopefully allow users to understand the error and
    troubleshoot the issue.
    A fix for v8.0.1.1 is available on Fix Central:
    http://www.ibm.com/support/fixcentral. Search for JR48029.
    When downloading 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

    JR48029

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-09

  • Closed date

    2013-10-31

  • Last modified date

    2013-10-31

  • 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

  • R800 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:
31 October 2013