[
https://issues.apache.org/jira/browse/WW-5215?focusedWorklogId=803048&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-803048
]
ASF GitHub Bot logged work on WW-5215:
--------------------------------------
Author: ASF GitHub Bot
Created on: 23/Aug/22 23:24
Start Date: 23/Aug/22 23:24
Worklog Time Spent: 10m
Work Description: coveralls commented on PR #590:
URL: https://github.com/apache/struts/pull/590#issuecomment-1224987466
[](https://coveralls.io/builds/51892646)
Coverage increased (+0.004%) to 50.692% when pulling
**2707bf04893f1594186020e8b33028c75f9e0c2c on WW-5215-csp-session** into
**2a03047e9e0d278f30b2ce8c10de27287f1933bc on master**.
Issue Time Tracking
-------------------
Worklog Id: (was: 803048)
Time Spent: 20m (was: 10m)
> CspInterceptor assumes Session was already created
> --------------------------------------------------
>
> Key: WW-5215
> URL: https://issues.apache.org/jira/browse/WW-5215
> Project: Struts 2
> Issue Type: Bug
> Components: Core Interceptors
> Affects Versions: 6.0.0
> Reporter: Lukasz Lenart
> Priority: Major
> Fix For: 6.0.2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {noformat}
> ERROR DefaultDispatcherErrorHandler Exception occurred during processing
> request: null
> java.lang.NullPointerException
> at
> com.amazonaws.serverless.proxy.internal.servlet.AwsHttpServletRequest.getSession(AwsHttpServletRequest.java:139)
> at
> javax.servlet.http.HttpServletRequestWrapper.getSession(HttpServletRequestWrapper.java:270)
> at org.apache.struts2.dispatcher.SessionMap.put(SessionMap.java:171)
> at
> org.apache.struts2.interceptor.csp.DefaultCspSettings.associateNonceWithSession(DefaultCspSettings.java:83)
> at
> org.apache.struts2.interceptor.csp.DefaultCspSettings.addCspHeaders(DefaultCspSettings.java:71)
> at
> org.apache.struts2.interceptor.csp.CspInterceptor.beforeResult(CspInterceptor.java:49)
> at
> com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:274)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)