If it helps, Micha, here is the stack trace from an occurrence of the
missing application scope key and the relevant code from the
Application.cfc:
this.name = “lucee__master__version_1_0_0”
…
if ( !structKeyExists(application, “Factory”) ) {
application.Factory = new com.Factory();
}
key [Factory] doesn’t exist (existing keys:)
at lucee.commons.collection.AbstractMapPro.invalidKey(Unknown Source):-1
at
lucee.commons.collection.concurrent.ConcurrentHashMapPro$Segment.getE(Unknown
Source):-1
at lucee.commons.collection.concurrent.ConcurrentHashMapPro.g(Unknown
Source):-1
at lucee.runtime.type.StructImpl.get(Unknown Source):-1
at
base_cfc$cf.udfCall(/Users/xxxxxxxxxx/Documents/workspace/code/com/Base.cfc:47):47
at
lucee.runtime.type.UDFImpl.implementation(Unknown Source):-1
at lucee.runtime.type.UDFImpl._call(Unknown Source):-1
at lucee.runtime.type.UDFImpl.call(Unknown Source):-1
at lucee.runtime.type.scope.UndefinedImpl.call(Unknown Source):-1
at
lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(Unknown
Source):-1
at lucee.runtime.PageContextImpl.getFunction(Unknown Source):-1
at
base_cfc$cf.udfCall(/Users/xxxxxxxx/Documents/workspace/code/com/Base.cfc:34):34
at
lucee.runtime.type.UDFImpl.implementation(Unknown Source):-1
at lucee.runtime.type.UDFImpl._call(Unknown Source):-1
at lucee.runtime.type.UDFImpl.call(Unknown Source):-1
at lucee.runtime.ComponentImpl._call(Unknown Source):-1
at lucee.runtime.ComponentImpl._call(Unknown Source):-1
at lucee.runtime.ComponentImpl.call(Unknown Source):-1
at
lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(Unknown
Source):-1
at lucee.runtime.PageContextImpl.getFunction(Unknown Source):-1
at
code270.admin.update_registrant_cfm$cf.call(/Users/xxxxxxx/Documents/workspace/code/admin/update_registrant.cfm:298):298
at
lucee.runtime.PageContextImpl.doInclude(Unknown Source):-1
at lucee.runtime.PageContextImpl.doInclude(Unknown Source):-1
at lucee.runtime.listener.ModernAppListener._onRequest(Unknown
Source):-1
at lucee.runtime.listener.ModernAppListener.onRequest(Unknown Source):-1
at lucee.runtime.PageContextImpl.execute(Unknown Source):-1
at lucee.runtime.PageContextImpl.execute(Unknown Source):-1
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(Unknown Source):-1
at lucee.loader.servlet.CFMLServlet.service(Unknown Source):-1
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790):790
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738):738
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:551):551
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143):143
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568):568
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221):221
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111):1111
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478):478
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183):183
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045):1045
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141):141
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199):199
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109):109
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97):97
at
org.eclipse.jetty.server.Server.handle(Server.java:462):462
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279):279
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232):232
at
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534):534
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607):607
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536):536
at
java.lang.Thread.run(Thread.java:745):745On Wednesday, February 4, 2015 at 11:06:04 AM UTC-5, Jonathan Brookins wrote:
No, the app name is set statically. I’m trying to reproduce it
consistently but so far no luck. I’ll try some more tests and update this
thread if I find anything concrete.
On Wednesday, February 4, 2015 at 10:53:58 AM UTC-5, Micha wrote:
do you set the application context name dynamicly?
Micha
On Tue, Feb 3, 2015 at 8:50 PM, Jonathan Brookins jon.br...@gmail.com wrote:
I’m testing our code on Lucee after migrating, but now I’m seeing
something strange. Some pages just seem to forget the application scope,
or at least an application scope variable. If you just refresh the page it
works as it should, but this is concerning.
Has anyone else seen anything similar?
–
You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/410a121e-a32a-48ac-988a-ae60357d1cf2%40googlegroups.com
https://groups.google.com/d/msgid/lucee/410a121e-a32a-48ac-988a-ae60357d1cf2%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.