[coldbox:4141] JSMin plugin

I am getting an error when trying to use the JSMin plugin here is the
error

Error Type: Object : [N/A]
Error Messages: Object instantiation exception.
An exception occurred while instantiating a Java object. The class
must not be an interface or an abstract class. Error: ''.

ID: CF_JAVAPROXY
LINE: 206
Template: /workspace/iplan/cb/plugins/JSMin.cfc
ID: CF_UDFMETHOD
LINE: 116
Template: /workspace/iplan/cb/plugins/JSMin.cfc

coldfusion.runtime.java.JavaObjectInstantiationException: Object
instantiation exception.
  at coldfusion.runtime.java.JavaProxy.CreateObject(JavaProxy.java:171)
  at coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:80)
  at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
  at cfJSMin2ecfc496881843$funcJSMIN.runFunction(/workspace/iplan/cb/
plugins/JSMin.cfc:206)
  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
  at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
  at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
  at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)

I am using ColdBox 3.0.0 M5-318-GENESIS-14:14

what JVM you are on? what cf version?

Luis F. Majano
President
Ortus Solutions, Corp

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

I am not sure what JVM but I am running CF 9 on a 64 bit Mac. How can I tell what JVM version that i am running?

Hmm, I have cf9 on 64 bit and it works, seems strange, is there anything else in the stack trace?
Luis F. Majano
President
Ortus Solutions, Corp

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

Here is the rest of the Stacktrace
coldfusion.runtime.java.JavaObjectInstantiationException: Object
instantiation exception.
  at coldfusion.runtime.java.JavaProxy.CreateObject(JavaProxy.java:171)
  at coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:80)
  at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
  at cfJSMin2ecfc496881843$funcJSMIN.runFunction(/workspace/iplan/cb/
plugins/JSMin.cfc:206)
  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
  at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
  at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
  at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
  at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
  at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
  at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)
  at cfJSMin2ecfc496881843$funcMINIFY.runFunction(/workspace/iplan/cb/
plugins/JSMin.cfc:116)
  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
  at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
  at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
  at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
  at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
  at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490)
  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336)
  at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
  at cfLayout2eSecurity2ecfm632321905.runPage(/workspace/iplan/lib/com/
eventready/frameworks/coldbox/layouts/Layout.Security.cfm:8)
  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
  at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
  at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
  at cfLayout2eMain2ecfm1267436824.runPage(/workspace/iplan/cb/layouts/
Layout.Main.cfm:1)
  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231)
  at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
  at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722)
  at cfRenderer2ecfc1951182735$funcRENDERLAYOUT.runFunction(/workspace/
iplan/lib/org/coldbox/system/plugins/Renderer.cfc:236)
  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
  at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
  at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
  at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
  at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
  at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490)
  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336)
  at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360)
  at cfColdbox2ecfc1229529869$funcPROCESSCOLDBOXREQUEST.runFunction(/
workspace/iplan/lib/org/coldbox/system/Coldbox.cfc:228)
  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
  at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
  at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
  at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
  at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
  at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)
  at cfApplication2ecfc1880454157$funcONREQUESTSTART.runFunction(/
workspace/iplan/Application.cfc:68)
  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)
  at coldfusion.runtime.UDFMethod
$ReturnTypeFilter.invoke(UDFMethod.java:405)
  at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:368)
  at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
55)
  at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)
  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)
  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:490)
  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:336)
  at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:88)
  at
coldfusion.runtime.AppEventInvoker.onRequestStart(AppEventInvoker.java:
258)
  at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:
331)
  at
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:
48)
  at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:
40)
  at coldfusion.filter.PathFilter.invoke(PathFilter.java:87)
  at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
  at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
  at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:
28)
  at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
  at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
  at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
  at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:
22)
  at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53)
  at coldfusion.CfmServlet.service(CfmServlet.java:200)
  at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:
89)
  at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
  at
coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:
42)
  at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:
46)
  at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
  at jrun.servlet.FilterChain.service(FilterChain.java:101)
  at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
  at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
  at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:
286)
  at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:
543)
  at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:
203)
  at jrunx.scheduler.ThreadPool
$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
  at jrunx.scheduler.ThreadPool
$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
  at jrunx.scheduler.ThreadPool
$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
  at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Caused by: java.lang.reflect.InvocationTargetException
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
  at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
  at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  at coldfusion.runtime.java.JavaProxy.CreateObject(JavaProxy.java:166)
  ... 88 more
Caused by: java.io.FileNotFoundException: /workspace/iplan/includes/
test.css (No such file or directory)
  at java.io.FileInputStream.open(Native Method)
  at java.io.FileInputStream.(FileInputStream.java:106)
  at java.io.FileInputStream.(FileInputStream.java:66)
  ... 93 more

I am using JVM 1.6.0_17

Try dumping the entire cfcatch, sometimes the java exceptions are nested there. The exception here doesn’t really say much at all.

Luis F. Majano
President
Ortus Solutions, Corp

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

Ok, I received a similar error and the problem is that coldfusion is
not giving the full stacktrace. If you see it it tell syou that the
most likely culprit is a file operation. It cannot read or write to
the file specified. Make sure the folder you choose for the cache
destinations exists and it is writable. YOu only see the error on the
tag context