IBM Support

PI48254: Deleting the last library referenced by a syndication pair cause s NullPointerException in Syndicators portlet

 

APAR status

  • Closed as program error.

Error description

  • The following error occurs if all libraries referenced by a
    syndicator is deleted and then the user attempts to edit the
    syndicator.
    
    [8/26/15 14:17:01:327 AEST] 0000063f SystemOut     O 162362621
    
    com.ibm.workplace.wcm.eventlog.managers.EventLogPersistenceUnit
      WARN   [WebContainer : 5] openjpa.Runtime - Detected possible
    
    orphaned reference to deleted object
    "com.ibm.workplace.wcm.eventlog.model.LibraryEntryImpl-
    com.ibm.workplace.wcm.eventlog.model.keys.LibraryEntryID@f52c16
    a" in
    "com.ibm.workplace.wcm.eventlog.model.SyndicatorEntryImpl.LIBRA
    RIES.com.ibm.workplace.wcm.eventlog.model.SyndicationLibraryImp
    l.LIBRARY".
    [8/26/15 14:17:01:329 AEST] 0000063f ServletWrappe E
    com.ibm.ws.webcontainer.servlet.ServletWrapper service
    CWSRV0068E: An exception was thrown by one of the service
    methods of the servlet [SyndicatorPortlet] in application
    [PA_WCM_Admin]. Exception created :
    [java.lang.NullPointerException
        at
    com.ibm.workplace.wcm.app.ui.admin.syndicator.EditSyndicatorVie
    w.generateLibrariesTable(EditSyndicatorView.java:855)
        at
    com.ibm.workplace.wcm.app.ui.admin.syndicator.EditSyndicatorVie
    w.getSyndicatorLibraryModel(EditSyndicatorView.java:826)
        at
    com.ibm.workplace.wcm.app.ui.admin.syndicator.EditSyndicatorVie
    w.buildLibrariesTable(EditSyndicatorView.java:770)
        at
    com.ibm.workplace.wcm.app.ui.admin.syndicator.EditSyndicatorVie
    w.createContainer(EditSyndicatorView.java:638)
        at
    com.ibm.workplace.wcm.app.ui.portlet.core.view.ModalShellView.c
    reateContainer(ModalShellView.java:281)
    

Local fix

  • recreate the syndication pair.
    

Problem summary

  • The following error occurs if all libraries referenced by a
    syndicator is deleted and then the user attempts to edit the
    syndicator.
    
    [8/26/15 14:17:01:327 AEST] 0000063f SystemOut     O 162362621
    
    com.ibm.workplace.wcm.eventlog.managers.EventLogPersistenceUnit
    WARN   [WebContainer : 5] openjpa.Runtime - Detected possible
    
    orphaned reference to deleted object
    "com.ibm.workplace.wcm.eventlog.model.LibraryEntryImpl-
    com.ibm.workplace.wcm.eventlog.model.keys.LibraryEntryID@f52c16
    a" in
    "com.ibm.workplace.wcm.eventlog.model.SyndicatorEntryImpl.LIBRA
    RIES.com.ibm.workplace.wcm.eventlog.model.SyndicationLibraryImp
    l.LIBRARY".
    [8/26/15 14:17:01:329 AEST] 0000063f ServletWrappe E
    com.ibm.ws.webcontainer.servlet.ServletWrapper service
    CWSRV0068E: An exception was thrown by one of the service
    methods of the servlet [SyndicatorPortlet] in application
    [PA_WCM_Admin]. Exception created :
    [java.lang.NullPointerException
    at
    com.ibm.workplace.wcm.app.ui.admin.syndicator.EditSyndicatorVie
    w.generateLibrariesTable(EditSyndicatorView.java:855)
    at
    com.ibm.workplace.wcm.app.ui.admin.syndicator.EditSyndicatorVie
    w.getSyndicatorLibraryModel(EditSyndicatorView.java:826)
    at
    com.ibm.workplace.wcm.app.ui.admin.syndicator.EditSyndicatorVie
    w.buildLibrariesTable(EditSyndicatorView.java:770)
    at
    com.ibm.workplace.wcm.app.ui.admin.syndicator.EditSyndicatorVie
    w.createContainer(EditSyndicatorView.java:638)
    at
    com.ibm.workplace.wcm.app.ui.portlet.core.view.ModalShellView.c
    reateContainer(ModalShellView.java:281)
    

Problem conclusion

  • The deletion of the library didn't correctly cleanup its
    relationship to a syndicator, leaving a partial link that caused
    
    unexpected errors when read.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI48254

  • 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-09-07

  • Closed date

    2015-09-07

  • Last modified date

    2015-09-07

  • 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":"BU051","label":"N\/A"},"Product":{"code":"SUPPORT","label":"IBM Web Content Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB33","label":"N\/A"}}]

Document Information

Modified date:
20 December 2021