Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-12186

Null Pointer Exception for workflow on Comments

    Details

    • Branch Version/s:
      6.0.x

      Description

      Null Pointer Exception for workflow on Comments.

      Scenario:
      1) create a blog entry "My Blogs"
      2) apply workflow on OOB asset Comments
      3) post comments on blog entry "My Blogs"
      4) click on the review at "My Workflow Tasks"
      5) get blank and following error message

      19:39:02,651 ERROR [IncludeTag:231] Current URL /group/control_panel/manage?p_p_
      id=158&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&doAsGroupId=10156&refer
      erPlid=10459&_158_struts_action=%2Fmy_workflow_instances%2Fedit_workflow_instanc
      e&_158_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fcontrol_panel%2Fmanage%3
      Fp_p_id%3D158%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26do
      AsGroupId%3D10156%26refererPlid%3D10459%26_158_refererPlid%3D10459%26_158_doAsGr
      oupId%3D10156&_158_workflowInstanceId=11470 generates exception: An exception oc
      curred processing JSP page /html/portlet/workflow_instances/edit_workflow_instan
      ce.jsp at line 54

      51:
      52: viewFullContentURL.setParameter("struts_action", "/workflow_tasks/view_conte
      nt");
      53: viewFullContentURL.setParameter("redirect", currentURL);
      54: viewFullContentURL.setParameter("type", assetRendererFactory.getType());
      55:
      56: if (assetEntry != null) {
      57: viewFullContentURL.setParameter("assetEntryId", String.valueOf(assetEntr
      y.getEntryId()));

      Stacktrace:
      19:39:02,653 ERROR [IncludeTag:154] java.lang.NullPointerException

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 34 weeks, 1 day ago

                Packages

                Version Package
                6.0.6 GA