Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

hotfix breaks argumentcollection for CFC function call

0 views
Skip to first unread message

seancoyne

unread,
Nov 4, 2005, 3:30:36 PM11/4/05
to
is anyone else experiencing problems calling functions like this since
intalling the update?

<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?

CarolineWise

unread,
Nov 10, 2005, 10:07:43 AM11/10/05
to
I do. I found some info regarding a problem with the duplicate function and replaced them with structCopy but still have the problem. Do you use fusebox?

seancoyne

unread,
Nov 10, 2005, 10:28:28 AM11/10/05
to
Originally posted by: CarolineWise

I do. I found some info regarding a problem with the duplicate function and
replaced them with structCopy but still have the problem. Do you use fusebox?

no i dont

CarolineWise

unread,
Nov 10, 2005, 10:36:23 AM11/10/05
to
I just chatted with one of my compadres and he got it to work like this:

argumentcollection=duplicate(form)

I'm not there yet so I'll have to take a look later.

sdupre

unread,
Nov 10, 2005, 11:43:02 PM11/10/05
to
We're working on this. It's bug 61485.

Stephen Dupre
Macromedia QA

seancoyne

unread,
Nov 11, 2005, 8:07:05 AM11/11/05
to
Originally posted by: sdupre

We're working on this. It's bug 61485.

Stephen Dupre
Macromedia QA


awesome thanks Stephen

PRSFA

unread,
Dec 20, 2005, 10:24:49 PM12/20/05
to
IS this fixed? Is there a hotfix released?

I've searched the hotfixes section and found nothing. All of my old working code is now broken due to a site upgrade.

Mountain Lover

unread,
Dec 20, 2005, 11:08:04 PM12/20/05
to
I am recently experiencing this behavior as well. This happened after I
reinstalled trying to fix a couple of problems (the main one being that
I'm unable to disable datasources in CF Admin...still have this
problem!). This was working prior to the reinstall of CFMX701 (fresh
download). The previous install was an upgrade from CFMX 7.0 to
7.01...it was not happening on that install.

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

Mountain Lover

unread,
Dec 21, 2005, 12:01:38 AM12/21/05
to
My fix for this was to remove the hotfix chf7010001.jar
HTH

Mountain Lover

unread,
Feb 11, 2006, 1:24:50 PM2/11/06
to
Stephen,
What is the status of this? I just ran into the problem again on a test server running MX 701 (all updates), Apache, *nix.
Thanks!

Mountain Lover

unread,
Mar 2, 2006, 4:35:10 PM3/2/06
to
This seems to be fixed in hotfix 2 woohoo! :beer;
0 new messages