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

NullPointerException and after redeploying TagLib used in Freemarker

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 7.4.1 CE GA2
    • Fix Version/s: None
    • Component/s: Core Infrastructure
    • Labels:
      None

      Description

      Taglib module built in a liferay-workspace project with  liferay 7.4-ga2, based on "map-taglib", super simple. When I do the deploy for the first time, everything is ok.

      But when I do a re-deploy I got this error (only happens if the taglib is used in theme or WDT. If the taglib is used in a JSP the error doesn't happens):

      Caused by: java.lang.NullPointerException
       at javax.servlet.jsp.PageContext.getErrorData(PageContext.java:556) ~[jsp-api.jar:2.3.FR]
       at com.liferay.taglib.servlet.PageContextWrapper.getErrorData(PageContextWrapper.java:97) ~[util-taglib.jar:?]
       at org.apache.jsp.dynamic_005finclude.text_005fhtml_jsp._jspService(text_005fhtml_jsp.java:92) ~[?:?]
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) ~[jasper.jar:9.0.43]
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) ~[servlet-api.jar:4.0.FR]
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411) ~[jasper.jar:9.0.43]
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473) ~[jasper.jar:9.0.43]
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) ~[jasper.jar:9.0.43]
       
      

      PS.: Tested the same taglib in a Liferay 7.3 version and the problem doesn't happens. Only in Liferay CE 7.4-GA2

      PS: Full stack trace attached

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            roselaine.marques Roselaine Marques
            Participants of an Issue:
            Recent user:
            Roselaine Marques
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              12 weeks, 4 days ago

                Packages

                Version Package