struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-4471) Weblogic 10.3.2 throwing java.lang.NullPointerException
Date Wed, 25 Feb 2015 17:25:05 GMT

     [ https://issues.apache.org/jira/browse/WW-4471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart updated WW-4471:
------------------------------
    Description: 
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}

  was:
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?

<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)


> 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
>         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)

Mime
View raw message