Issues

Select view

Select search mode

 

constant java.lang.NullPointerException in catalina logs

Duplicate

Description

"ERROR", 14/05/2019, 14:24:04,,
lucee.runtime.exp.NativeException: java.lang.NullPointerException
Caused by: java.lang.NullPointerException

I'm not getting any details other than the above. This has occurred since the upgrade from 5.2.1.9

The system appears to be stable but these errors are very regular i.e. numerous within a minutes interval.

Environment

Servlet Container Apache Tomcat/8.0.36
Java 1.8.0_121 (Oracle Corporation) 64bit
Host Name tur-cmsweb-dev1.massey.ac.nz
OS Linux (3.10.0-514.6.2.el7.x86_64) 64bit
Architecture 64bit

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

Affects versions

Created 14 May 2019 at 03:38
Updated 17 June 2019 at 13:27
Resolved 17 June 2019 at 13:27

Activity

Show:

Michael Offner17 June 2019 at 13:27

this is already fixed in 5.3.3.48-SNAPSHOT with

 

Pat Moody17 May 2019 at 03:58
Edited

There appears to be more information presented when the system is restarted. After several of these it resorts to the abbreviated log error above.


"ERROR", 17/05/2019, 15:15:09,,
lucee.runtime.exp.NativeException: java.lang.NullPointerException
at lucee.runtime.config.NullSupportHelper.full(NullSupportHelper.java:29)
at lucee.runtime.config.NullSupportHelper.NULL(NullSupportHelper.java:43)
at lucee.runtime.ComponentImpl.contains(ComponentImpl.java:1961)
at lucee.runtime.ComponentImpl.containsKey(ComponentImpl.java:1967)
at lucee.runtime.listener.ModernAppListener.onSessionEnd(ModernAppListener.java:356)
at lucee.runtime.type.scope.ScopeContext.clearUnusedMemoryScope(ScopeContext.java:969)
at lucee.runtime.type.scope.ScopeContext.clearUnused(ScopeContext.java:833)
at lucee.runtime.engine.Controler.control(Controler.java:327)
at lucee.runtime.engine.Controler.control(Controler.java:231)
at lucee.runtime.engine.Controler.access$000(Controler.java:60)
at lucee.runtime.engine.Controler$ControlerThread.run(Controler.java:111)
Caused by: java.lang.NullPointerException
... 11 more

 

We are also looking at updating Tomcat and Java on this platform

Pat Moody15 May 2019 at 02:34

This area of code is where the broken pipe error would often occur:

getPageContext().getOut().clearBuffer();
writeOutput(trim(pageContent));
getPageContext().getOut().flush();

Error was:

lucee.runtime.exp.NativeException: Broken pipe at sun.nio.ch.FileDispatcherImpl.write

OR

java.io.IOException: Broken pipe

Pat Moody15 May 2019 at 02:19

Thanks Nothing to cross reference then I’m afraid. Just that those “DEBUG” logs are just as frequent as the tomcat logs. On the previous version of Lucee we were getting a broken pipe error quite regularly which might be related. I can check on where that was occurring.

Brad Wood15 May 2019 at 00:07

Neither of those are errors. Note the “DEBUG” next to them. Also, they happened on a completely different day than the NPE in your ticket description. When I said “cross reference”, I mean find the matching ones (f they exist) :)

Flag notifications