Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3606

NPE in struts portlet plugin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.1.1
    • Fix Version/s: 3.0
    • Component/s: Plugin - Portlet
    • Labels:
      None
    • Environment:

      Liferay / convention plugin

      Description

      Caused by: java.lang.NullPointerException
      at org.apache.struts2.portlet.util.PortletUrlHelper.ensureParamsAreStringArrays(PortletUrlHelper.java:239)
      at org.apache.struts2.portlet.util.PortletUrlHelper.buildUrl(PortletUrlHelper.java:124)
      at org.apache.struts2.portlet.util.PortletUrlHelper.buildUrl(PortletUrlHelper.java:66)
      at org.apache.struts2.components.PortletUrlRenderer.renderUrl(PortletUrlRenderer.java:80)
      at org.apache.struts2.components.Anchor.evaluateExtraParams(Anchor.java:107)
      at org.apache.struts2.components.UIBean.evaluateParams(UIBean.java:856)
      at org.apache.struts2.components.Anchor.end(Anchor.java:142)
      at org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:42)
      at org.apache.jsp.WEB_002dINF.content.user_002dmanagement_jsp._jspx_meth_s_005fa_005f1(user_002dmanagement_jsp.java:254)
      at org.apache.jsp.WEB_002dINF.content.user_002dmanagement_jsp._jspService(user_002dmanagement_jsp.java:94)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
      ... 227 more

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jpyeron Jason Pyeron
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: