-
Bug
-
Resolution: Done
-
Major
-
1.2.12.Final, 1.3.10.Final
-
None
-
None
When DefaultAccessLogReceiver is closed with a null writer an NPE is logged to System.err. The writer may be null because the receiver hasn't been used or because it's just rotated its log file. The NPE looks like this:
Exception in thread "XNIO-1 task-1" java.lang.NullPointerException at io.undertow.server.handlers.accesslog.DefaultAccessLogReceiver.run(DefaultAccessLogReceiver.java:192) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
This happens on both 1.2.x (1.2.12.Final) and 1.3.x (1.3.10.Final).
- is related to
-
JBEAP-2527 NullPointerException after enabling access logs
- Closed