IBM Support

PK92469: CONTENT.SETWORKFLOWID THROWS NullPointerException

 

APAR status

  • Closed as program error.

Error description

  • Setting new workflow to the content is not working using API
    method
    content.setWorkflowId(newWorkflowId)..
    
    It always throws following exceptions.
    
    [7/23/09 19:37:26:312 IST] 00000037 Cmpnt W IWKPC1085X:
    Exception while rendering inlined component type: class
    com.aptrix.pluto.cmpnt.CmpntReference - Exception:
    java.lang.NullPointerException
    java.lang.NullPointerException
    at
    
    com.aptrix.pluto.workflow.WorkflowControl.refreshForFirstStage(W
    orkflowC
    ontrol.java:767)
    at
    com.ibm.workplace.wcm.services.workflow.WorkflowServiceImpl.setW
    orkflow(
    WorkflowServiceImpl.java:3611)
    at
    com.ibm.workplace.wcm.api.WCM_APIWorkflowService.setWorkflow(WCM
    _APIWork
    flowService.java:369)
    at
    com.ibm.workplace.wcm.api.WCM_AEditableWorkflowDocument.setWorkf
    lowId(WC
    M_AEditableWorkflowDocument.java:339)
    at
    com.ibm.workplace.wcm.api.WCM_AEditableWorkflowDocument.setWorkf
    lowId(WC
    M_AEditableWorkflowDocument.java:317)
    

Local fix

Problem summary

  • Users Affected: All IWWCM users
    
    ERROR DESCRIPTION:
    
    Setting new workflow to the content is not working using API
    method
    content.setWorkflowId(newWorkflowId)..
    
    It always throws following exceptions.
    
    [7/23/09 19:37:26:312 IST] 00000037 Cmpnt W IWKPC1085X:
    Exception while rendering inlined component type: class
    com.aptrix.pluto.cmpnt.CmpntReference - Exception:
    java.lang.NullPointerException
    java.lang.NullPointerException
    at
    
    com.aptrix.pluto.workflow.WorkflowControl.refreshForFirstStage(W
    orkflowC
    ontrol.java:767)
    at
    com.ibm.workplace.wcm.services.workflow.WorkflowServiceImpl.setW
    orkflow(
    WorkflowServiceImpl.java:3611)
    at
    com.ibm.workplace.wcm.api.WCM_APIWorkflowService.setWorkflow(WCM
    _APIWork
    flowService.java:369)
    at
    com.ibm.workplace.wcm.api.WCM_AEditableWorkflowDocument.setWorkf
    lowId(WC
    M_AEditableWorkflowDocument.java:339)
    at
    com.ibm.workplace.wcm.api.WCM_AEditableWorkflowDocument.setWorkf
    lowId(WC
    M_AEditableWorkflowDocument.java:317)
    

Problem conclusion

  • Analysis:
    Expire action failed on security checking on content link, which
    later throw a NullPointerException.
    
    Solution:
    Pass the security checking when update the content link in order
    to expire the items.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK92469

  • Reported component name

    LOTUS WEB CONT

  • Reported component ID

    5724I2900

  • Reported release

    61A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-07-28

  • Closed date

    2010-04-13

  • Last modified date

    2010-04-13

  • 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

  • R60F PSY

       UP

[{"Business Unit":{"code":"BU051","label":"N\/A"},"Product":{"code":"SUPPORT","label":"IBM Web Content Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1.0.1","Line of Business":{"code":"LOB33","label":"N\/A"}}]

Document Information

Modified date:
21 December 2021