Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testbox problems #1

Open
Leftbower opened this issue May 29, 2021 · 2 comments
Open

Testbox problems #1

Leftbower opened this issue May 29, 2021 · 2 comments

Comments

@Leftbower
Copy link

Using this template via box install, server start, click on link to apprunner.cfm and errors with The event: app.tests is not a valid registered event.

If I remove app/ from the URL we get a little further as the runner loads, but then get Lucee error a quarter down the page:

`

Lucee 5.3.8.179-RC Error (expression)

Message | The function [info] does not exist in the String.
Stacktrace | The Error Occurred inC:\dev\apps\aaa\lib\coldbox\system\web\services\LoaderService.cfc: line 239237: */238: LoaderService function processShutdown(){239: variables.log.info( "† Shutting down ColdBox..." );240:241: // Announce shutdowncalled from C:\dev\apps\aaa\tests\Application.cfc: line 32
Java Stacktrace | lucee.runtime.exp.ExpressionException: The function [info] does not exist in the String.  at lucee.runtime.type.util.MemberUtil.call(MemberUtil.java:158)  at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:794)  at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1744)  at system.web.services.loaderservice_cfc$cf$2h.udfCall1(/coldbox/system/web/services/LoaderService.cfc:239)  at system.web.services.loaderservice_cfc$cf$2h.udfCall(/coldbox/system/web/services/LoaderService.cfc)  at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)  at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)  at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)  at lucee.runtime.ComponentImpl._call(ComponentImpl.java:684)  at lucee.runtime.ComponentImpl._call(ComponentImpl.java:572)  at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1911)  at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:785)  at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1744)  at application_cfc$cf.udfCall(/tests/Application.cfc:32)  at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)  at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)  at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)  at lucee.runtime.ComponentImpl._call(ComponentImpl.java:684)  at lucee.runtime.ComponentImpl._call(ComponentImpl.java:572)  at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1911)  at lucee.runtime.listener.ModernAppListener.call(ModernAppListener.java:437)  at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:228)  at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44)  at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2457)  at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2447)  at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2418)  at lucee.runtime.engine.Request.exe(Request.java:44)  at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1179)  at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1125)  at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97)  at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51)  at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)  at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)  at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)  at org.cfmlprojects.regexpathinfofilter.RegexPathInfoFilter.doFilter(RegexPathInfoFilter.java:47)  at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)  at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)  at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)  at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)  at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)  at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:405)  at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)  at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)  at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)  at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)  at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)  at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)  at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)  at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117)  at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)  at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)  at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)  at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)  at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)  at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)  at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)  at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)  at runwar.Server$1.handleRequest(Server.java:511)  at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52)  at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)  at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269)  at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78)  at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133)  at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130)  at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)  at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)  at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249)  at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78)  at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99)  at io.undertow.server.Connectors.executeRootHandler(Connectors.java:387)  at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:841)  at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)  at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:2019)  at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1558)  at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1449)  at java.base/java.lang.Thread.run(Thread.java:834)

`

@lmajano
Copy link
Contributor

lmajano commented May 31, 2021

This template is still not fully operational. It's a work in progress.

@Leftbower
Copy link
Author

Understood. I'm anxious to see what you end up with as I had tried my hand at something similar about 8 months ago and had some struggles. See this threaded discussion with Brad here:
https://boxteam.slack.com/archives/C0536GAE3/p1601337592014200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants