lucee.runtime.exp.NativeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • cfPassphrase from Peter Boughton and Lucee 5
    via by Michael Vornkahl,
  • Issue seems to have been introduced in commit https://github.com/lucee/Lucee/commit/deaeeee (version 5.1.2.9-SNAPSHOT) When modifying the timestamp of a template and trying to run it an NPE is thrown: {code} lucee.runtime.exp.NativeException: java.lang.NullPointerException at lucee.commons.lang.PhysicalClassLoader.loadClass(PhysicalClassLoader.java:174) at lucee.runtime.MappingImpl.getPhysicalClass(MappingImpl.java:259) at lucee.runtime.PageSourceImpl._compile(PageSourceImpl.java:359) at lucee.runtime.PageSourceImpl.compile(PageSourceImpl.java:323) at lucee.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:265) at lucee.runtime.PageSourceImpl.loadPageThrowTemplateException(PageSourceImpl.java:183) at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:888) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:885) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:838) at lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:63) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2383) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2374) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2342) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:907) at lucee.debug.servlet.CFMLServlet.service(CFMLServlet.java:15) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1712) at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:247) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1699) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) at org.eclipse.jetty.server.Server.handle(Server.java:534) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) at java.lang.Thread.run(Thread.java:745) {code} Restarting Lucee allows to execute the code as long as it is not modified, but any modification to the template causes the NPE to be thrown again.
    via by Igal Sapir,
    • lucee.runtime.exp.NativeException: class sorcerersisle.cfpassphrase.lucee.PassphraseHash is invalid or doesn't exist at lucee.commons.lang.PhysicalClassLoader.findClass(PhysicalClassLoader.java:146) at lucee.commons.lang.PhysicalClassLoader.loadClass(PhysicalClassLoader.java:127) at lucee.commons.lang.PhysicalClassLoader.loadClass(PhysicalClassLoader.java:107)
    No Bugmate found.