You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2015/02/25 18:26:05 UTC

[jira] [Commented] (WW-4471) Weblogic 10.3.2 throwing java.lang.NullPointerException

    [ https://issues.apache.org/jira/browse/WW-4471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14336791#comment-14336791 ] 

Lukasz Lenart commented on WW-4471:
-----------------------------------

Try this option {{NPE when using Struts 2 Jasper Reports plugin}} maybe it will help
http://struts.apache.org/docs/weblogic.html

> Weblogic 10.3.2 throwing java.lang.NullPointerException
> -------------------------------------------------------
>
>                 Key: WW-4471
>                 URL: https://issues.apache.org/jira/browse/WW-4471
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch Filter
>    Affects Versions: 2.3.16.3
>         Environment: weblogic 10.3.2 on linux machine. JDK : jdk160_18
>            Reporter: lavanya
>
> In our application we are using struts2-core-2.3.16.3.jar. When application is deployed to weblogic10.3.2 and after the user tries to login the following NPE is being thrown. None of the blogs have suggested any solution for this issue.
> Can you please help me out in resolving this issue?
> {noformat}
> <BEA-101020> <[ServletContext@1653907274] Servlet failed with Exception
> java.lang.NullPointerException
>         at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:645)
>         at javax.servlet.http.HttpServletResponseWrapper.sendError(HttpServletResponseWrapper.java:118)
>         at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:914)
>         at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:574)
>         at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
>         at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)
>         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
>         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>         at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
>         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
>         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
>         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
>         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
>         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
>         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
>         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
>         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)