struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: [jira] [Created] (WW-4456) Got NPE when File Upload Limitation exceeds in portal env.
Date Tue, 03 Feb 2015 08:23:01 GMT
Hi,

I need some Portlet guru help :) Can you tell me why the ActionContext
is reset here [1]? Where should it be recreated?

[1] https://github.com/apache/struts/blob/develop/plugins/portlet/src/main/java/org/apache/struts2/portlet/dispatcher/Jsr168Dispatcher.java#L299

2015-02-03 5:30 GMT+01:00 Zhou Shern (JIRA) <jira@apache.org>:
> Zhou Shern created WW-4456:
> ------------------------------
>
>              Summary: Got NPE when  File Upload Limitation exceeds in portal env.
>                  Key: WW-4456
>                  URL: https://issues.apache.org/jira/browse/WW-4456
>              Project: Struts 2
>           Issue Type: Bug
>           Components: Core Actions, Plugin - Portlet
>     Affects Versions: 2.3.16.3
>          Environment: IBM Websphere Portal 7, Liferay 6.2
>             Reporter: Zhou Shern
>
>
> 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)
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message