Hi Sean,

The code (at line 78)  is inside a cfloop. Prior to the cfloop,  I 
initialize this local var (at the top of the method):

<cfset var returnstruct=structnew()>
<cfset  returnstruct.cleanedstring="">

Then the cfloop looks like this:

<cfloop from="1" to="#arraylen(descriptlistArray)#"  index="x">
         <!--- convert the form element descript to an array --->
         <cfset x=listtoarray(descriptlistArray[x])>

         <!--- more code here --->
         Then comes line 78:

         <cfset 
returnstruct.cleanedstring=listappend(returnstruct.cleanedstring,x[5])>
</cfloop>


It works about 99% of the time and maybe 1 out of 1000 times this code is 
executed it generates the error shown below. I included some of the other 
code so you could see that their is in fact an Array named "x" and a 
structure named returnstruct. What do you think?

Brook











At 08:50 PM 7/5/2003 -0700, you wrote:
>On Saturday, Jul 5, 2003, at 18:04 US/Pacific, Brook Davies wrote:
> > You have attempted to dereference a scalar variable of type class
> > java.lang.Double as a structure with members. <br>The error occurred on
> > line 78.
>
>I'd be interested to see the code around line 78...
>
>Sean A Corfield -- http://www.corfield.org/blog/
>
>"If you're not annoying somebody, you're not really alive."
>-- Margaret Atwood
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to