For reference, on CF 6,1,0,83762 I don't get this error. We'll change
the code tho if it's a bug in older 6.1 versions.

-Dave

On 6/16/06, Joe Rinehart <[EMAIL PROTECTED]> wrote:
Hey folks,

(Posted to both coldspring-dev and modelglue lists)

I'm able to reproduce the  "You have attempted to dereference a scalar
variable of type class [Ljava.lang.Object; as a structure with
members."

Specifically, it happens whenever duplicate() is called on a CFC
metadata structure.  The following code will cause the error:

<cfset someCfc = createObject("component",
"coldspring.beans.DefaultXmlBeanFactory") />
<cfset md = duplicate(getMetaData(someCFC)) />

You can do this substituting any CFC you wish.  I just used the
DefaultXmlBeanFactory because it was handy.

Here's a dump of relevant system information:

Server Product    ColdFusion MX
Version    6,1,0,63958
Edition    Developer
Serial Number    Developer
Operating System      Windows XP
OS Version    5.1

JVM Details
Java Version    1.4.2_09


--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com



Reply via email to