IBM Support

PI38601: NULLPOINTEREXCEPTION FROM PLUTO AND WCMCONFIG CLASSES DURING SER VER STARTUP WHEN WCM TRACING IS ENABLED

 

APAR status

  • Closed as program error.

Error description

  • When tracing is enabled for WCM, a NullPointerException from
    both the Pluto and WCMConfig classes can be seen within
    trace.log during the server startup.
    
    Note: There is no functional impact to the server. This is a
    purely a logging issue where the exceptions are incorrectly
    printed to the logs when tracing is enabled.
    
    The following exceptions can be seen in the trace logs:
    WCMConfig  1  Exception while parsing Double value returning
    default value: 1.5 java.lang.NullPointerException
      at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecim
    al.java:1079)
      at java.lang.Double.valueOf(Double.java:515)
      at com.ibm.workplace.wcm.services.config.WCMConfig
    .getDouble(WCMConfig.java:268)
      at com.ibm.workplace.wcm.services.repository.UuidToClassMap
    .<clinit>(UuidToClassMap.java:52)
    
    
    Pluto 1 <Null Message> java.lang.NullPointerException
      at com.ibm.workplace.wcm.domain.user.ControllableShortcut
    .<init>(ControllableShortcut.java:51)
      at com.ibm.workplace.wcm.domain.user.FavoriteItem
    .<init>(FavoriteItem.java:33)
      at com.aptrix.pluto.Pluto.testShortcutTransaction(Pluto
    .java:331)
      at com.aptrix.pluto.Pluto.initPersistence(Pluto.java:310)
      at com.aptrix.pluto.Pluto.init(Pluto.java:183)
      at com.aptrix.pluto.PlutoModule.initPluto(PlutoModule
    .java:181)
      at com.aptrix.pluto.PlutoModule.init(PlutoModule.java:158)
    

Local fix

Problem summary

  • When tracing is enabled for WCM, a NullPointerException from
    both the Pluto and WCMConfig classes can be seen within
    trace.log during the server startup.
    
    Note: There is no functional impact to the server. This is a
    purely a logging issue where the exceptions are incorrectly
    printed to the logs when tracing is enabled.
    
    The following exceptions can be seen in the trace logs:
    WCMConfig  1  Exception while parsing Double value returning
    default value: 1.5 java.lang.NullPointerException
      at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecim
    al.java:1079)
      at java.lang.Double.valueOf(Double.java:515)
      at com.ibm.workplace.wcm.services.config.WCMConfig
    .getDouble(WCMConfig.java:268)
      at com.ibm.workplace.wcm.services.repository.UuidToClassMap
    .<clinit>(UuidToClassMap.java:52)
    
    
    Pluto 1 <Null Message> java.lang.NullPointerException
      at com.ibm.workplace.wcm.domain.user.ControllableShortcut
    .<init>(ControllableShortcut.java:51)
      at com.ibm.workplace.wcm.domain.user.FavoriteItem
    .<init>(FavoriteItem.java:33)
      at com.aptrix.pluto.Pluto.testShortcutTransaction(Pluto
    .java:331)
      at com.aptrix.pluto.Pluto.initPersistence(Pluto.java:310)
      at com.aptrix.pluto.Pluto.init(Pluto.java:183)
      at com.aptrix.pluto.PlutoModule.initPluto(PlutoModule
    .java:181)
      at com.aptrix.pluto.PlutoModule.init(PlutoModule.java:158)
    

Problem conclusion

  • The code has been updated to gracefully handle the
    NullPointerExceptions when WCM tracing is enabled.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI38601

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-07

  • Closed date

    2015-05-01

  • Last modified date

    2015-05-01

  • 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

    LOTUS WEB CONT

  • Fixed component ID

    5724I2900

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":null,"label":null},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Edition":"","Line of Business":{"code":null,"label":null}}]

Document Information

Modified date:
10 September 2020