lucee.runtime.exp.NativeException: class sorcerersisle.cfpassphrase.lucee.PassphraseHash is invalid or doesn't exist

Google Groups | Michael Vornkahl | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    cfPassphrase from Peter Boughton and Lucee 5

    Google Groups | 10 months ago | Michael Vornkahl
    lucee.runtime.exp.NativeException: class sorcerersisle.cfpassphrase.lucee.PassphraseHash is invalid or doesn't exist
  2. 0

    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.

    JIRA | 3 months ago | Igal Sapir
    lucee.runtime.exp.NativeException: java.lang.NullPointerException

    Root Cause Analysis

    1. lucee.runtime.exp.NativeException

      class sorcerersisle.cfpassphrase.lucee.PassphraseHash is invalid or doesn't exist

      at lucee.commons.lang.PhysicalClassLoader.findClass()
    2. lucee.commons.lang
      PhysicalClassLoader.loadClass
      1. lucee.commons.lang.PhysicalClassLoader.findClass(PhysicalClassLoader.java:146)
      2. lucee.commons.lang.PhysicalClassLoader.loadClass(PhysicalClassLoader.java:127)
      3. lucee.commons.lang.PhysicalClassLoader.loadClass(PhysicalClassLoader.java:107)
      3 frames