<cfset temp = application.foo.bar(argumentCollection = argCol) />
I get the following error:
Error casting an object of type to an incompatible type. This usually
indicates a programming error in Java, although it could also mean you have
tried to use a foreign object in a different way than it was designed.
The function call works correctly locally on my dev box that I have not
updated yet, and it was working on the production machine yesterday.
Any ideas?
no i dont
argumentcollection=duplicate(form)
I'm not there yet so I'll have to take a look later.
Stephen Dupre
Macromedia QA
Stephen Dupre
Macromedia QA
awesome thanks Stephen
I've searched the hotfixes section and found nothing. All of my old working code is now broken due to a site upgrade.
Server Product ColdFusion MX
Version 7,0,1,116466
Edition Developer
Update Level: C:/path deleted/chf7010001.jar
Diagnostics: null null <br>The error occurred on line 46.
Line 46 of erroring template:
mycfccall(argumentCollection=form)
Stack trace:
java.lang.ClassCastException at
coldfusion.runtime.ArgumentCollection.<init>(ArgumentCollection.java:88)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:370) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:196) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:156) at
coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1594) at
cfsystemvars2ecfm521629370.runPage(D:\cfwebroot\admin\systemvars.cfm:46)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at
coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at
coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:209)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at
coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27) at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at
coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
at coldfusion.CfmServlet.service(CfmServlet.java:107) at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259)
at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Thanks!
--
Tim Carley
www.recfusion.com
in...@NOSPAMINGrecfusion.com