Ticket #47 (closed defect: invalid)

Opened 20 years ago

Last modified 16 years ago

Attempted to dereference a scalar variable...as a structure with members

Reported by: coldfusion@… Owned by: joe.rinehart
Priority: normal Milestone:
Version: 2.0.304 Severity: blocker
Keywords: derefence scalar variable Cc:

Description

Here's the error I'm getting...and I've installed the latest ColdSpring?, the MG2 RC1, copied the template directory and renamed it to "idthem" (instead of "translator"), modified the three files that contain the old modelglueapplicationtemplate name, replacing them with "idthem". I have not modified any other files. I'm running on CF MX 6.1xxxx. I have tried WITH and WITHOUT a CF mapping to /ModelGlue and get the same results.

Here's what I'm getting, unfortunately this site isn't "public" per se, I have the host header setup and the IP in my HOSTS file.

You have attempted to dereference a scalar variable of type class [Ljava.lang.Object; as a structure with members.

The error occurred in C:\Websites\idthem2_com\html\coldspring\beans\DefaultXmlBeanFactory?.cfc: line 836 Called from C:\Websites\idthem2_com\html\coldspring\beans\BeanDefinition?.cfc: line 215 Called from C:\Websites\idthem2_com\html\coldspring\beans\DefaultXmlBeanFactory?.cfc: line 383 Called from C:\Websites\idthem2_com\html\coldspring\beans\DefaultXmlBeanFactory?.cfc: line 332 Called from C:\Websites\idthem2_com\html\ModelGlue?\unity\ModelGlue?.cfm: line 33 Called from C:\Websites\idthem2_com\html\idthem\index.cfm: line 33

834 : <cfargument name="md" type="struct" required="true" /> 835 : <cfset var i = "" /> 836 : <cfset var flattenedMetaData = duplicate(arguments.md)/> 837 : <cfset var foundFunctions = ""/> 838 : <cfset var access = "" />

Any thoughts you might have would be appreciated. If there's something else I can provide in the way of info, let me know.

Change History

Changed 20 years ago by Dave Ross

We are also tracking this as a bug in ColdSpring?:

http://code.coldspringframework.org/browse/CSP-60

Changed 20 years ago by joe.rinehart

  • owner changed from somebody to joe.rinehart
  • priority changed from high to normal
  • status changed from new to assigned
  • severity changed from major to blocker
  • milestone changed from Release Public Beta 1 to Defects Awaiting More Information

Hi, uh, "somebody,"

Are you able to run ColdSpring? w/o Model-Glue involved at all? I'm not sure this is a Model-Glue issue, because it's happening on the first request to ColdSpring? in Model-Glue. Can you try an example that is pure CS and let me know if it works?

Changed 20 years ago by anonymous

  • status changed from assigned to closed
  • resolution set to invalid

To fix this, update to the latest version of 6.1. It's actually a problem with CFC metadata that was fixed a few years ago.

Changed 16 years ago by cfgrok

  • milestone Defects Awaiting More Information deleted

Milestone Defects Awaiting More Information deleted

Note: See TracTickets for help on using tickets.