House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Error: attempted to dereference a scalar variable

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

Error: attempted to dereference a scalar variable

Assuming that "Q.q4_a_int" is a recordset, try changing it to Matt Quackenbush 05/09/2008 10:34 AM
We have a live survey and we took a look at the application log and we ran Gerald Guido 05/09/2008 10:28 AM

05/09/2008 10:34 AM
Author: Matt Quackenbush Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56332#304997 Assuming that "Q.q4_a_int" is a recordset, try changing it to "Q.q4_a_int[1]".  I'm kinda grabbing at straws here, but if your recordset contains more than one record (which I'm guessing it should not), that might result in the error message you are seeing.  Typically speaking though, that particular error message means that whatever variable is being referenced as a struct is not actually a struct. HTH ----- Excess quoted text cut - see Original Post for more -----
05/09/2008 10:28 AM
Author: Gerald Guido Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:56332#304995 We have a live survey and we took a look at the application log and we ran into this several times in the course of 20 min. I am assuming it is one user. >> You have attempted to dereference a scalar variable of type class java.math.BigDecimal as a structure with members. It seems to happen in random places The value is always numeric (or a number in a list) and is getting pulled from MSSQL. It looks like it happens when we are doing conditionals, either a cfif or an IIF or a ListFind this is (one of) the line where it threw the error: <cfif Q.q4_a_int EQ 1 > Any clues? -- "The pursuit of truth and beauty is a sphere of activity in which we are permitted to remain children all our lives." - Albert Einstein
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference