IBM Support

PH23426: NOTIFICATION MANAGER THROWS NULL POINTER EXCEPTION WHEN RUN FROMCOMMAND LINE

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

  • Description:
    
    Running notification manager from the command line will result
    in a Null Pointer Exception.  It seems that the user session is
    not created properly when making the call.
    
    ERROR: The following error occurred while running
    NotificationManager...
    java.lang.NullPointerException
            at
    com.openpages.aurora.clientapi.channel.ReportManager.run(ReportM
    anager.java:117)
    -- nested by --
    2020-03-16 13:29:53
    CODE       : OP-00024
    LEVEL      : 4
    NAME       : com.openpages.sdk.OpenpagesServiceException
    ERROR #    : UH403UWS0OZ8
    TOKEN ID   : 5032
    USER       : OpenPagesAdministrator
    MESSAGE    : A service error has occurred.
            at
    com.openpages.sdk.publisher.PublishService.generateReport(Publis
    hService.java:342)
            at
    com.openpages.apps.common.tools.NotificationManager.Notifier.run
    NotificationPrograms(Notifier.java:157)
            at
    com.openpages.apps.common.tools.NotificationManager.Notification
    Manager.main(NotificationManager.java:143)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
            at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:90)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:55)
            at java.lang.reflect.Method.invoke(Method.java:508)
            at
    com.ibm.ws.client.applicationclient.launchClient.createContainer
    AndLaunchApp(launchClient.java:869)
            at
    com.ibm.ws.client.applicationclient.launchClient.main(launchClie
    nt.java:515)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
            at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:90)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:55)
            at java.lang.reflect.Method.invoke(Method.java:508)
            at
    com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:23
    4)
            at
    com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:101)
            at
    com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:82)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
            at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:90)
    
    NOTE:  This happens for reports in the ?Hidden Folders? as well
    as reports under the SOX Folders.
    
    
    Prerequisites:
    
    OP 8.1.0.1 with Solutions
    
    Steps to Reproduce:
    
    1.	Remote Desktop or Putty into the OpenPages Server
    2.	Change directory to <op_intall>/bin
    3.	Run the following command
    a.	./NotificationManager.sh -Username <admin_user> -Password
    <admin_password> -NotificationProgram "Reporting/Hidden
    Reports/ORM Custom Reports/KPI Due Notification/KPI Due
    Notification" -SaveOutput true -LogSession true
    

Local fix

  • Add this code anywhere above line 62 in the jsp (not confirmed
    by support):
    
          if (!HttpContext.isValidSession(request)) {
    
               HttpContext.createValidSession(request);
    
           }
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * OpenPages Users                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * NOTIFICATION MANAGER THROWS NULL POINTER EXCEPTION WHEN RUN  *
    * FROM COMMAND LINE                                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Customers should download OpenPages 8.2 from Passport        *
    * Advantage. See the following document for details on         *
    * obtaining OpenPages 8.2:                                     *
    * https://www.ibm.com/support/pages/downloading-ibm-openpages- *
    * watson-version-82-passport-advantage                         *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH23426

  • Reported component name

    OPENPAGES GRC

  • Reported component ID

    5725D5100

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-03-18

  • Closed date

    2020-06-19

  • Last modified date

    2020-06-19

  • 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

    OPENPAGES GRC

  • Fixed component ID

    5725D5100

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFUEU","label":"IBM OpenPages with Watson"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"810","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
20 June 2020