NPE lucee.runtime.net.http.ReqRspUtil.getCookies(ReqRspUtil.java:144)

Description

running the example for micha in https://luceeserver.atlassian.net/browse/LDEV-4004

Lucee 5.3.10.49-SNAPSHOT Error (java.lang.NullPointerException) Message java.lang.NullPointerException Java Stacktrace lucee.runtime.exp.NativeException: java.lang.NullPointerException   at lucee.runtime.net.http.ReqRspUtil.getCookies(ReqRspUtil.java:144)   at lucee.runtime.net.http.HttpUtil.cloneCookies(HttpUtil.java:104)   at lucee.runtime.net.http.HttpServletRequestDummy.clone(HttpServletRequestDummy.java:702)   at lucee.runtime.thread.ThreadUtil.cloneHttpServletRequest(ThreadUtil.java:126)   at lucee.runtime.thread.ThreadUtil.clonePageContext(ThreadUtil.java:52)   at lucee.runtime.concurrency.UDFCaller2.call(UDFCaller2.java:76)   at lucee.runtime.concurrency.UDFCaller2.call(UDFCaller2.java:38)   at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)   at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)   at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)   at java.base/java.lang.Thread.run(Thread.java:834)  Caused by: java.lang.NullPointerException   ... 11 more

Environment

None

Attachments

1
  • 08 Aug 2022, 01:48 pm

Activity

Show:

Zac Spitzer 9 August 2022 at 07:28

works for me!

Michael Offner 8 August 2022 at 16:22

please give this another try

Michael Offner 8 August 2022 at 16:06

this is the cookie array from the servlet engine itself having a empty field!

Fixed

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Created 8 August 2022 at 13:48
Updated 20 March 2024 at 09:56
Resolved 9 August 2022 at 07:28

Flag notifications