JSMin Plugin

ColdBox Team -

I’m trying to minify the HTML-KickStart files and I get an error. The file where its erroring is on kickstart.js and the line # starts at 151. It has to do with the multiline strings in javascript using \ to denote a continued line. Is this something that can be fixed in the java library or should I fix this manually in the HTML-KickStart files?

Here is the link https://github.com/joshuagatcke/HTML-KickStart to github repo.


Jeremy R. DeYoung
Phone:615.261.8201

RantsFromAMadMan.com

Interesting, what does the minify do now?

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

well it breaks.

Here is the error message

Oops! Exception Encountered### Application Execution ExceptionError Type: JSMin.JavaCompressionException : [N/A]

Error Messages: Error compression asset: /botfly/github/HTML-KickStart/js/kickstart.js
org.coldbox.JSMin$UnterminatedStringLiteralExceptionorg.coldbox.JSMin$UnterminatedStringLiteralException at org.coldbox.JSMin.action(JSMin.java:189):189 at org.coldbox.JSMin.jsmin(JSMin.java:307):307 at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source):-1 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source):-1 at java.lang.reflect.Method.invoke(Unknown Source):-1 at railo.runtime.reflection.pairs.MethodInstance.invoke(MethodInstance.java:37):37 at railo.runtime.reflection.Reflector.callMethod(Reflector.java:698):698 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:732):732 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506 at botfly.plugins.jsmin_cfc$cf.udfCall(C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\botfly\plugins\JSMin.cfc:225):225 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102 at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370 at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283 at railo.runtime.type.util.StructSupport.call(StructSupport.java:240):240 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506 at botfly.plugins.jsmin_cfc$cf.udfCall(C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\botfly\plugins\JSMin.cfc:116):116 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102 at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370 at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283 at railo.runtime.ComponentImpl._call(ComponentImpl.java:606):606 at railo.runtime.ComponentImpl._call(ComponentImpl.java:489):489 at railo.runtime.ComponentImpl.call(ComponentImpl.java:1779):1779 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506 at botfly.udf.asset_cfc$cf.udfCall(C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\botfly\udf\asset.cfc:46):46 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102 at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370 at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283 at railo.runtime.type.util.StructSupport.call(StructSupport.java:240):240 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506 at botfly.layouts.layout_default_cfm322$cf.call(C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\botfly\layouts\Layout.Default.cfm:10):10 at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:801):801 at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:748):748 at system.plugins.renderer_cfc$cf._1(C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\plugins\Renderer.cfc:328):328 at system.plugins.renderer_cfc$cf.udfCall(C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\plugins\Renderer.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102 at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370 at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283 at railo.runtime.type.util.StructSupport.call(StructSupport.java:240):240 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506 at system.plugins.renderer_cfc$cf._1(C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\plugins\Renderer.cfc:449):449 at system.plugins.renderer_cfc$cf.udfCall(C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\plugins\Renderer.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102 at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370 at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:274):274 at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607 at railo.runtime.ComponentImpl._call(ComponentImpl.java:489):489 at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1798):1798 at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:749):749 at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1521):1521 at coldbox.system.coldbox_cfc$cf._1(C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\Coldbox.cfc:256):256 at coldbox.system.coldbox_cfc$cf.udfCall(C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\Coldbox.cfc):-1 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102 at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370 at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283 at railo.runtime.ComponentImpl._call(ComponentImpl.java:606):606 at railo.runtime.ComponentImpl._call(ComponentImpl.java:489):489 at railo.runtime.ComponentImpl.call(ComponentImpl.java:1779):1779 at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723 at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506 at application_cfc$cf.udfCall(C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\Application.cfc:66):66 at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102 at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370 at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283 at railo.runtime.ComponentImpl._call(ComponentImpl.java:606):606 at railo.runtime.ComponentImpl._call(ComponentImpl.java:489):489 at railo.runtime.ComponentImpl.call(ComponentImpl.java:1779):1779 at railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:350):350 at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:111):111 at railo.runtime.listener.ModernAppListener.onRequest(ModernAppListener.java:82):82 at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2248):2248 at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2215):2215 at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:312):312 at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29 at javax.servlet.http.HttpServlet.service(HttpServlet.java:722):722 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305):305 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210 at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684):684 at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471):471 at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402):402 at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329):329 at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213):213 at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171):171 at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145):145 at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92):92 at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381):381 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243):243 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225):225 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169):169 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472):472 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168):168 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98):98 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407):407 at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999):999 at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565):565 at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812):1812 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source):-1 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source):-1 at java.lang.Thread.run(Unknown Source):-1

Tag Context:
ID: ??
LINE: 459
Template: C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\FrameworkSupertype.cfc
ID: ??
LINE: 230
Template: C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\botfly\plugins\JSMin.cfc
ID: ??
LINE: 116
Template: C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\botfly\plugins\JSMin.cfc
ID: ??
LINE: 46
Template: C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\botfly\udf\asset.cfc
ID: ??
LINE: 10
Template: C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\botfly\layouts\Layout.Default.cfm
ID: ??
LINE: 328
Template: C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\plugins\Renderer.cfc
ID: ??
LINE: 449
Template: C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\plugins\Renderer.cfc
ID: ??
LINE: 256
Template: C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\Coldbox.cfc
ID: ??
LINE: 66
Template: C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\Application.cfc
Framework Snapshot
Current Event: general.index
Current Layout: Layout.Default.cfm (Module: )
Current View: sites/golfshadow/home
Bug Date: 08/10/2012 03:32:47 PM
Coldfusion ID: JSessionID=A6590343CF689A47162F885A630FD51A
Template Path : C:\tomcat[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\index.cfm
Path Info : /
Host & Server: loc.golfshadow.com JeremyRDeYoung
Query String: debugmode=true&debugpass=delta$1jrd&fwreinit=true
Referrer: http://loc.golfshadow.com/
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.75 Safari/537.1
Remote Address: 127.0.0.1
Form variables:
fwreinit: true
debugpass: delta$1jrd
debugmode: true
Session Storage:
Cookies:
coldbox_debugmode_7CB1A7CE8DEF033EF0973CE3EC29B366: true
railo_admin_pw_server: 6802A0AABECFE2938183
railo_admin_lastpage: debugging.logs
cftoken: 0
__utmz: 198791225.1335978898.3.2.utmcsr
railo_admin_lang: en
jsessionid: A6590343CF689A47162F885A630FD51A
__utma: 198791225.1869151635.1334868701.1342641207.1342816920.44
__cfduid: d7542e06f5f4cc6da06133d268fe1c83e1334868704
cfid: 916e27e6-92bb-4dd9-9f0a-ea6ae7d39c8e
Stack Trace:

Error compression asset: /botfly/github/HTML-KickStart/js/kickstart.js
at railo.runtime.tag.Throw._doStartTag(Throw.java:142):142
at railo.runtime.tag.Throw.doStartTag(Throw.java:131):131
at system.frameworksupertype_cfc$cf._5(C:\tomcat\[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\FrameworkSupertype.cfc:459):459
at system.frameworksupertype_cfc$cf.udfCall(C:\tomcat\[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\FrameworkSupertype.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
at railo.runtime.type.util.StructSupport.call(StructSupport.java:240):240
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at botfly.plugins.jsmin_cfc$cf.udfCall(C:\tomcat\[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\botfly\plugins\JSMin.cfc:230):230
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
at railo.runtime.type.util.StructSupport.call(StructSupport.java:240):240
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at botfly.plugins.jsmin_cfc$cf.udfCall(C:\tomcat\[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\botfly\plugins\JSMin.cfc:116):116
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
at railo.runtime.ComponentImpl._call(ComponentImpl.java:606):606
at railo.runtime.ComponentImpl._call(ComponentImpl.java:489):489
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1779):1779
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at botfly.udf.asset_cfc$cf.udfCall(C:\tomcat\[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\botfly\udf\asset.cfc:46):46
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
at railo.runtime.type.util.StructSupport.call(StructSupport.java:240):240
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at botfly.layouts.layout_default_cfm322$cf.call(C:\tomcat\[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\botfly\layouts\Layout.Default.cfm:10):10
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:801):801
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:748):748
at system.plugins.renderer_cfc$cf._1(C:\tomcat\[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\plugins\Renderer.cfc:328):328
at system.plugins.renderer_cfc$cf.udfCall(C:\tomcat\[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\plugins\Renderer.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
at railo.runtime.type.util.StructSupport.call(StructSupport.java:240):240
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at system.plugins.renderer_cfc$cf._1(C:\tomcat\[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\plugins\Renderer.cfc:449):449
at system.plugins.renderer_cfc$cf.udfCall(C:\tomcat\[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\plugins\Renderer.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:274):274
at railo.runtime.ComponentImpl._call(ComponentImpl.java:607):607
at railo.runtime.ComponentImpl._call(ComponentImpl.java:489):489
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1798):1798
at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:749):749
at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1521):1521
at coldbox.system.coldbox_cfc$cf._1(C:\tomcat\[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\Coldbox.cfc:256):256
at coldbox.system.coldbox_cfc$cf.udfCall(C:\tomcat\[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\coldbox\system\Coldbox.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
at railo.runtime.ComponentImpl._call(ComponentImpl.java:606):606
at railo.runtime.ComponentImpl._call(ComponentImpl.java:489):489
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1779):1779
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:723):723
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1506):1506
at application_cfc$cf.udfCall(C:\tomcat\[loc.golfshadow.com](http://loc.golfshadow.com)\ROOT\Application.cfc:66):66
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:102):102
at railo.runtime.type.UDFImpl._call(UDFImpl.java:370):370
at railo.runtime.type.UDFImpl.call(UDFImpl.java:283):283
at railo.runtime.ComponentImpl._call(ComponentImpl.java:606):606
at railo.runtime.ComponentImpl._call(ComponentImpl.java:489):489
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1779):1779
at railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:350):350
at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:111):111
at railo.runtime.listener.ModernAppListener.onRequest(ModernAppListener.java:82):82
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2248):2248
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2215):2215
at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:312):312
at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722):722
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305):305
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684):684
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471):471
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402):402
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329):329
at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213):213
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171):171
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145):145
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92):92
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381):381
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243):243
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225):225
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169):169
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472):472
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168):168
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98):98
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407):407
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999):999
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565):565
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812):1812
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source):-1
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source):-1
at java.lang.Thread.run(Unknown Source):-1

Extra Information Dump
[N/A]

ColdBox Debugging Information

Framework Info:
ColdBox SEEK 3.5.2 Jeremiah 29:13
Application Name:
golfshadow (environment=development)
TimeStamp:
Aug-10-2012 03:32:47 PM
Server Instance:
JeremyRDeYoung
Current Event:
general.index
Current Layout:
Layout.Default.cfm (Module: )
Current View:
sites/golfshadow/home
Current Route:
/
Routed URL:
/
LogBox Appenders:
coldboxTracer,EmailAppender
RootLogger Levels:
FATAL - ERROR
Loaded Modules:
relax , forgebox

Timestamp Execution Time Framework Method
03:32:45.908 PM 3 ms invoking runEvent [main.onRequestStart]
03:32:45.908 PM 44 ms invoking runEvent [botflyDefault.onRequestStart]
03:32:45.918 PM 0 ms invoking runEvent [general.index]
03:32:47.765 PM 0 ms invoking runEvent [botflyDefault.onException]
Total Framework Request Execution Time: 1921 ms

Approximate Debug Rendering Time: 2 ms


Jeremy R. DeYoung
Phone:615.261.8201

RantsFromAMadMan.com

signature0.jpg

Just wanted to note, I think this is related: Multiline error · Issue #2 · ColdBox/depot-cbox-jsmin · GitHub

Don good catch. Yes that is my exact problem. However I would be curious to see what would happen if we compared the results with YUI Compressor or some other compressor.


Jeremy R. DeYoung
Phone:615.261.8201

RantsFromAMadMan.com

The JSMin.cfc project looks like it hasn’t been touched since 2010. They don’t provide the Java source for their JSMin jar (that I could find on Google Code), but there are other versions out on the Internet of JSMin.java. It looks like the Java port happened several years ago and was based on Douglas Crockford’s C implementation which can be found under JSMin on GitHub (and has been updated quite recently). From Googling a bit, it looks like Crockford has updated the original C code to account for escaped line breaks. If someone wanted, they could compare the C version to one of the Java versions floating around and merge in Crockford’s latest changes, recompile, and swap out the jar in JSMin.cfc. Perhaps the JSMin.cfc guys would incorporate that fix into their official version.

At any rate, the issue and the fix have little to do with ColdBox.

Thanks!

~Brad

Well for jsmin I ported it to java and include the source for it. I did because they never kept it up to date and never accepted my contributions. So our plugin uses our own java port. So at least we have control on updating it.