I have a wierd error currently that has me a bit foxed.

Something that works on my local development workstation and works in
production, but currently does not work in the staging/test environment.

I know this is a tough one to debug remotely and you're thinking 'well the
environments must be different in some way...', but let me just tell you
where the error is in case there is some gotcha that someone else has
experienced.

This is a FB4.1 (no flamewars required please :-) and the here is the
statement that fails

    <cfset structobject =
application.reportsentry.updateReport(argumentcollection=FORM)
/>

The error is

[missing string]
java.lang.ClassCastException at coldfusion.runtime.ArgumentCollection
..<init>(ArgumentCollection.java:88) at ......

I can dump the form scope and it has stuff in there.

The method in updateReport method does not specifically enumerate the
arguments that it goes on to use i.e. the elements of the the form passed in
(which I personnally don't like) but as I said this same code works in two
other enviroments.

Any ideas?



-- 
Mike T
Blog http://www.socialpoints.com/
This e-mail may contain privileged and confidential information and/or
copyright material and is intended for the use of the addressee only. If you
receive this e-mail by mistake please advise the sender immediately by using
the reply facility in your e-mail software and delete this e-mail from your
computer system. You may not deliver, copy or disclose its contents to
anyone else. Any unauthorised use may be unlawful. Any views expressed in
this e-mail are those of the individual sender and may not necessarily
reflect the views of The Collinson Group Ltd and/or its subsidiaries.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243009
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to