Yeah that's about it always runs fine on dev and stage and runs fine
on production too after I run init=true. But a few hours later it
fails.
the code that breaks is line three: <cfset reportList = reportStruct.query/>
I'm actually expecting a query object back on the line that fails
<cfset filename = viewstate.getValue("reportFile")/>
<cfset reportStruct = viewstate.getValue("reportStruct")/>
<cfset reportList = reportStruct.query/>
when I force the query to return only a string instead of a query in
dev I get a completely different error, I've been trying to recreate
it in all environments
Lets see more details
ModelGlue 3
Transfer 1.1 (thus ReportList was once a transfer list but alas is
no longer so)
Coldspring 1.2
I can post the error once I recreate it.
On Fri, Nov 13, 2009 at 3:50 PM, Rich <[email protected]> wrote:
>
> Joshua-
>
> I usually see that error (or one just like it) when I have a query
> call that I'm only expecting one value (one column) but I'm actually
> getting multiple columns back. And if I'm following your note
> correctly it sounds like everything runs fine on dev or staging but is
> failing on production.... have you properly uploaded all database
> changes as well as ColdFusion file changes? This usually bites me when
> I change something in my model (or even controller) code where I've
> also changed a database object but forgot to upload that change. I use
> a database tool called Aqua Data Studio (www.aquafold.com - free 30
> day trial) that allows you to diff the database objects and has
> literally saved me hours of debugging time because of this very issue.
> If you have any kind of DB diff tool run it to see if you're talking
> apples to apples with all of your database objects, let's start there
> and see what you come back with....
>
> Rich
>
>
> On Nov 13, 2009, at 2:01 PM, Joshua O'Connor-Rose wrote:
>
>>
>> So my site get's this error
>>
>> "dereference a scalar variable of type class java.lang.String as a
>> structure with members."
>>
>> If I reinitialize the site it clears. Then I tell the client
>> everything's ok. They check a few hours later and it shows the error.
>>
>> I don't want to say . . ."That's ok all you need to do is reinitialize
>> the application."
>>
>> Any ideas what's going on
>>
>> -Joshua O'Connor-Rose
>> -All is Good
>>
>> >
>
> Rich
>
> Rich Leach
> Advanced Certified Adobe ColdFusion Developer
> [email protected]
> http://www.cfsnap.com
> 303-913-7338
> Instant Messenger:
> AOL AIM: cfsnaprich
> Instant Video Conference:
> APPLE MobileMe: [email protected]
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
-~----------~----~----~----~------~----~------~--~---