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

Got NPE when File Upload Limitation exceeds in portal env.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.16.3
    • Fix Version/s: 2.5
    • Labels:
      None
    • Environment:

      IBM Websphere Portal 7, Liferay 6.2

      Description

      Got NPE when File Upload Limitation exceeds in portal env.

      04:12:53,078 ERROR [http-bio-8080-exec-4][render_portlet_jsp:132] null
      java.lang.NullPointerException
      	at com.opensymphony.xwork2.util.LocalizedTextUtil.findText(LocalizedTextUtil.java:394)
      	at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.buildErrorMessage(JakartaMultiPartRequest.java:123)
      	at org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest.parse(JakartaMultiPartRequest.java:97)
      	at org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper.<init>(MultiPartRequestWrapper.java:81)
      	at org.apache.struts2.dispatcher.Dispatcher.wrapRequest(Dispatcher.java:803)
      	at org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.serviceAction(Jsr168Dispatcher.java:435)
      	at org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.processAction(Jsr168Dispatcher.java:299)
      	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
      	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
      	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:112)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
      	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:96)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
      	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
      

        Attachments

        1. FileUploadFailedPortal.zip
          1.27 MB
          Zhou Shern

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              shern.zhou Zhou Shern
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: