PM86082: NULLPOINTEREXCEPTION ON BIRT REPORT.

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

  • com.worklight.common.log.filter.ServerFilter.isLoggable has a
    variable called 'record' that may be null in certain situations,
    but no NULL checking occurs, causing BiRT reports to not work
    when installed onto Worklight Studio.
    
    Details in internal defect#: 17858
    

Local fix

  • com.worklight.common.log.filters.ServerFilter.isLoggable(ServerF
    ilter.java:23)
    if(record.getLoggerName().startsWith(excludePackage)){
    
    Change to
    
    if((record.getLoggerName() == null) ||
    record.getLoggerName().startsWith(excludePackage)){
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Developers who combine Eclipse BIRT and Worklight Studio     *
    * into the same Eclipse platform instance and who also create  *
    * a BIRT project and use the "run report" feature of BIRT.     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When Eclipse BIRT (Business Intelligence and Reporting       *
    * Tools) is installed in the same Eclipse platform instance as *
    * Worklight Studio, a NullPointerException may occur when      *
    * using the "run report" feature of BIRT.  The                 *
    * NullPointerException is reported in a popup box in the       *
    * Eclipse user interface and the full stack trace is reported  *
    * in <WORKSPACE>/.metadata/.log.  The stack trace may look     *
    * something like:                                              *
    *                                                              *
    *   java.lang.NullPointerException                             *
    *    at                                                        *
    * com.worklight.common.log.filters.ServerFilter.isLoggable(Ser *
    * verFilter.java:23)                                           *
    *    at java.util.logging.Handler.isLoggable(Handler.java:303) *
    *    at                                                        *
    * java.util.logging.StreamHandler.isLoggable(StreamHandler.jav *
    * a:244)                                                       *
    *    ...                                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The code causing the NullPointerException has been fixed.
    
    The fix for this APAR is currently targeted for inclusion in
    fixpack 5.0.6.2 and release 6.0.0.0.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM86082

  • Reported component name

    WORKLIGHT ENTER

  • Reported component ID

    5725I4300

  • Reported release

    505

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-02

  • Closed date

    2013-07-18

  • Last modified date

    2013-07-18

  • 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

    WORKLIGHT ENTER

  • Fixed component ID

    5725I4300

Applicable component levels

  • R505 PSY

       UP

  • R506 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Worklight

Software version:

5.0.5

Reference #:

PM86082

Modified date:

2013-07-18

Translate my page

Machine Translation

Content navigation