Thoughts, ideas, tips, musings, and pontifications (not necessarily in that order) by Ben Forta ...
NOTE: This is my personal blog, and the opinions and statements voiced here are my own.
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.
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 error occurred in D:\Inetpub\forthealthcare\jobs\index.cfm: line 12
Reading around CFTalk, it seems you can solve this issue using argumentCollection=duplicate(URL).
BTW it's a bug filed by Macromedia (#61485)
# Posted By Giampaolo Bellavite
| 11/16/05 12:08 PM
Hi Ben,
Perhaps you can help expedite fixing the Macromedia updater download page. The Windows version of the 7.01 updater is not currently available. I would really like to apply it and the hot fix.
This update has killed my installation: all my instances returned service unavailable (not bound to the licence.properties problem).
So, to make a test, I fresh installed MX 7.0.1, used my CAR file to restore my settings. All was working well. Then started creating new instances. Guess what? 7.0.1 returned service unavailable again on all instances.
<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.
Fixes two problems I've been having, cfdocument and report grouping.
Google homepage RSS feed to this blog is cool!
Thanks for the info, keep it coming!
test.cfm?myArgument=1
<!--- test.cfm --->
<cffunction name="testFunction">
<cfargument name="myArgument" type="any">
<cfreturn arguments.myArgument>
</cffunction>
<cfset myStruct = structNew()>
<cfset myStruct.myArgument = 1>
<!--- This is ok --->
<cfdump var="#testFunction(argumentcollection=myStruct)#">
<cfdump var="#url#">
<!--- This is not ok --->
<cfdump var="#testFunction(argumentcollection=url)#">
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 error occurred in D:\Inetpub\forthealthcare\jobs\index.cfm: line 12
10 : getCategoryDesc = objCategories.get(categoryID=URL.categoryID);
11 : }
12 : getJobs = objJob.get(argumentCollection=URL);
13 : </cfscript>
14 :
Anyone have any ideas on how to fix this?
BTW it's a bug filed by Macromedia (#61485)
Perhaps you can help expedite fixing the Macromedia updater download page. The Windows version of the 7.01 updater is not currently available. I would really like to apply it and the hot fix.
Thanks,
Dennis
So, to make a test, I fresh installed MX 7.0.1, used my CAR file to restore my settings. All was working well. Then started creating new instances. Guess what? 7.0.1 returned service unavailable again on all instances.
So I had to fresh install MX 7.0.0 back.
Has anyone a clue on how to fix this?
Thanks a lot.
Betch