PK45672: WCM AUTHORING UNABLE TO RESTORE PREVIOUS VERSIONS WORKSPACENOTFOUNDEXCEPTION NULLPOINTEREXCEPTION

 

APAR status

  • Closed as program error.

Error description

  • Version 6.0.1 WCM customer can not restore previous versions.
    User does not receive errors however the version is not
    restored as expected.  The logs reflect the following errors:
    ..
    [5/4/07 14:01:27:985 CDT] 00000046 WorkspaceMana 3
      Exception caught while getting workspace
    82687f0044e8454689e1dd755476d006
           com.ibm.icm.jcr.WorkspaceNotFoundException: Workspace
           82687f0044e8454689e1dd755476d006 not found in this
    repository.
     at
    com.ibm.icm.jcr.WorkspaceImpl.getWorkspace(WorkspaceImpl.java:31
    9)
     at com.ibm.icm.jcr.TicketImpl.getWorkspace(TicketImpl.java:545)
     at
    com.ibm.workplace.wcm.services.repository.RepositoryServiceUtils
    .
        loadWorkspace(RepositoryServiceUtils.java:461)
     at com.ibm.workplace.wcm.services.repository.WorkspaceManager$
        WorkspaceContainer.getWorkspace(WorkspaceManager.java:1258)
    [5/4/07 14:01:36:699 CDT] 00000047 ControlMap    3   get control
    class
      name com.aptrix.identity.IdentityControl
    [5/4/07 14:01:36:699 CDT] 00000047 Controllable  3   found
    [5/4/07 14:01:39:837 CDT] 00000047 AbstractComma E   <Null
    Message>
                                     java.lang.NullPointerException
     at
    com.ibm.workplace.wcm.services.content.ContentServiceImpl.get
        (ContentServiceImpl.java:1436)
     at com.ibm.workplace.wcm.app.ui.portlet.command.AbstractRestore
        VersionCommand.restoreWorkflowed(AbstractRestoreVersion
        Command.java:703)
    STEPS:
    (1)While in Read mode,  click on the "Versions" button.
    (2)Select the version "X" and clicked on "Restore as
    Published".
    (3)On the next screen, use default options and clicked on
    "OK".  The same pages keeps coming back over and over again.
    Version X never replaces the current version.
    KEYWORDS: version restore NullPointerException get getWorkspace
              WorkspaceNotFoundException
    

Local fix

Problem summary

  • Cannot restore to a version on a workflowed component.
    

Problem conclusion

  • When trying to restore workflowed components to an earlier
    version, we were trying to get an authoring template for the
    component, and then performing operations on that. For
    components, this would be null, and when tried to perform an
    action on the template it was throwing Null Pointer Exceptions.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK45672

  • Reported component name

    WRKPLC WEB CON

  • Reported component ID

    5724I2900

  • Reported release

    601

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-05-22

  • Closed date

    2007-06-26

  • Last modified date

    2007-06-26

  • 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

    WRKPLC WEB CON

  • Fixed component ID

    5724I2900

Applicable component levels

  • R60B PSY

       UP

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Web Content Manager

Software version:

6.0.1

Reference #:

PK45672

Modified date:

2007-06-26

Translate my page

Machine Translation

Content navigation