IBM Support

PM00642: CURRENTCONTENT.GETPARENTS() THROWS ILLEGALSTATEEXCEPTION WHEN PARENTS ARE IN MULTIPLE LIBRARIES

 

APAR status

  • Closed as program error.

Error description

  • currentContent.getParents() throws IllegalStateException when
    parents are in multiple libraries
    
    Exceptions in systemOut.log.
    
    
    java.lang.IllegalStateException: Repository is not logged in.
     at
    com.ibm.workplace.wcm.services.repository.WorkspaceManager.getAc
    tiveCred
    entials(WorkspaceManager.java(Compiled Code))
     at
    com.ibm.workplace.wcm.services.repository.WorkspaceManager.getWo
    rkspace(
    WorkspaceManager.java:868)
     at
    com.ibm.workplace.wcm.services.repository.WorkspaceManager$Works
    paceCont
    ainer.workspaceExists(WorkspaceManager.java:1399)
     at
    com.ibm.workplace.wcm.services.repository.WorkspaceManager$Works
    paceCont
    ainer.access$800(WorkspaceManager.java:1216)
     at
    com.ibm.workplace.wcm.services.repository.WorkspaceManager.works
    paceExis
    ts(WorkspaceManager.java:1078)
     at
    com.ibm.workplace.wcm.api.WCM_Utils.createObjectIdFromIdentityRe
    ference(
    WCM_Utils.java:433)
     at
    com.ibm.workplace.wcm.api.WCM_Content.getLinkedParentsList(WCM_C
    ontent.j
    ava:378)
     at
    com.ibm.workplace.wcm.api.WCM_Content.getParents(WCM_Content.jav
    a:294)
    

Local fix

  • Remove the parents from other libraries..
    

Problem summary

  • currentContent.getParents() for categoryids throws
    IllegalStateException when parents are in multiple libraries
    

Problem conclusion

  • java.lang.IllegalStateException trying to get Parent for a
    categoryid. This problem caused by iFix PK85992 included in
    CF19. Added JCR System Login so accessing the content in second
    library does not require JCR login.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM00642

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    60J

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-11-09

  • Closed date

    2010-04-15

  • Last modified date

    2010-04-15

  • 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

  • R60M 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":"6.0.1.5","Edition":"","Line of Business":{"code":null,"label":null}}]

Document Information

Modified date:
09 September 2020