org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [CFMLServlet] in context with path [] threw exception

I upgraded a production server on Saturday to 5.3.9.160.
I downloaded the latest installer and installed it over the existing folder.

When i request some pages, every…5…10… request is

# HTTP Status 500 – Internal Server Error

---

**Type** Exception Report

**Beschreibung** The server encountered an unexpected condition that prevented it from fulfilling the request.

**Exception**

java.lang.NullPointerException

**Hinweis** Der komplette Stacktrace der Ursache ist in den Server logs zu finden

---

### Apache Tomcat/9.0.65

In the catalina-2022-09-27.log is the complete stacktrace very compact…

27-Sep-2022 15:49:16.412 SEVERE [http-nio-8888-exec-136] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [CFMLServlet] in context with path [] threw exception
java.lang.NullPointerException

java: 11.0.16.1 (Eclipse Adoptium) 64bit

Any ideas where to start searching?

Here is one more error message with a stack trace(?)

HTTP Status 500 – Internal Server Error


Type Exception Report

Beschreibung The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

java.lang.NullPointerException lucee.runtime.CFMLFactoryImpl.getPageContextImpl(CFMLFactoryImpl.java:182) lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1166) lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1144) lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97) lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51) javax.servlet.http.HttpServlet.service(HttpServlet.java:764) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

Hinweis Der komplette Stacktrace der Ursache ist in den Server logs zu finden


Apache Tomcat/9.0.65

@Michael_Diederich This was a known issue and already fixed in Lucee 5.3.9.162-SNAPSHOT

https://luceeserver.atlassian.net/browse/LDEV-4162

2 Likes

Upgraded to 5.3.9.165-SNAPSHOT and it is fine now.
Is the snapshot okayish for production?

As far as I know (and have seen from the commits on Lucee’s github) snapshot coming out shortly after a stable release are immediate fixes to previous unknown issues affecting that stable release. I can’t find anything tagged with 5.3.9.165 at github to cross-check/compare it with .160 to see the details, but beeing just 5 snapshots ahead, I’d bet it be fine. Also, @cfmitrah is so heavily envolved in the dev team, I’m sooooo sure he wouldn’t recommend an unstable version to anybody unless he oversees something.

2 Likes

@Michael_Diederich As like Andreas mentioned, snapshots after the stable releases are as stable as the release version (mainly the regression fixes are done on those snapshots that came after the stable release). So it is suitable for production

1 Like