Doug,
No such luck. Deleted the files. Same thing.
Did something else also, which still makes me think there is something
with the getAll method or maybe fusebox.
I'm running the following as a seperate CFM page:
<cfset variables.userGateway =
application.Reactor.createGateway("tblLeaveUser") />
<cfset variables.LRInfoGateway =
application.Reactor.createGateway("tblLeaveRecordInfo") />
<cfif not isDefined("attributes.SortByFieldList")><cfset
attributes.SortByFieldList = "PID" /></cfif>
<cfset qryGetAllUsers =
variables.userGateway.getAll(#attributes.SortByFieldList#) />
<cfset qryLeaveUsers = variables.LRInfoGateway.getAll() />
Works first time after deleting project directory, restarting CF.
This is the same code that is generated in the parsed files from the
circuit in my FB app. But I get all the errors. Maybe Sean could
speak to this. Making it even more frustrating, is that if I run the
non FB version successfully, I can run the FB version right after that,
and it works.
I'm still fixated on the following:
The error occurred in
D:\Inetpub\wwwroot\Reactor\base\abstractGateway.cfc: line 92
Called from
D:\Inetpub\wwwroot\Reactor\project\Leave06\Gateway\tblLeaveUserGateway.cfc:
line 85
Called from
D:\Inetpub\wwwroot\Reactor\project\Leave06\Gateway\tblLeaveUserGateway.cfc:
line 9
Called from D:\Inetpub\wwwroot\Leave06\testReactor.cfm: line 15
Called from D:\Inetpub\wwwroot\Reactor\base\abstractGateway.cfc: line 92
Called from
D:\Inetpub\wwwroot\Reactor\project\Leave06\Gateway\tblLeaveUserGateway.cfc:
line 85
Called from
D:\Inetpub\wwwroot\Reactor\project\Leave06\Gateway\tblLeaveUserGateway.cfc:
line 9
Called from D:\Inetpub\wwwroot\Leave06\testReactor.cfm: line 15
90 : <cfinclude template="#pathToQuery#" />
91 : </cfsavecontent>
92 : <cfoutput>#replaceNoCase(queryData.query, "''", "'",
"all")#</cfoutput>
93 : </cfquery>
What is line 92 doing?
byron
Doug Hughes wrote:
Aaaaaah. I think I know what's going on!!
Go under you CF install directory and delete your cfclass files. (Be sure
trusted cache is off.)
I ran into this earlier today too.
Doug
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Byron Raines
Sent: Wednesday, October 11, 2006 9:43 PM
To: [email protected]
Subject: Re: [Reactor for CF] Syntax error at token 0, line 0 offset 0
Doug,
Have an update. I went back to my previous revision (not sure what
number). Everything was ok. Now I upgraded to revision 387. I deleted
the project directory, restarted CF service, and cleared browser cache.
I run the original code sorting by Lastname and get the following as before.
*Exceptions*
20:48:39.039 - MissingInclude Exception - in
D:\Inetpub\wwwroot\fusebox5\fusebox5.cfm : line 113
Could not find the included template
../Leave06/fusebox.appinit.cfm.
20:48:40.040 - Application Exception - in
D:\Inetpub\wwwroot\Reactor\core\objectFactory.cfc : line 87
Could not find the ColdFusion Component
reactor.project.Leave06.Gateway.tblLeaveUserGateway.
20:48:41.041 - Application Exception - in
D:\Inetpub\wwwroot\Reactor\core\objectFactory.cfc : line 87
Could not find the ColdFusion Component
reactor.project.Leave06.Metadata.tblLeaveUserMetadata.
20:48:42.042 - Application Exception - in
D:\Inetpub\wwwroot\Reactor\core\objectFactory.cfc : line 87
Could not find the ColdFusion Component
reactor.project.Leave06.Gateway.tblLeaveRecordInfoGateway.
20:48:42.042 - Application Exception - in
D:\Inetpub\wwwroot\Reactor\core\objectFactory.cfc : line 87
Could not find the ColdFusion Component
reactor.project.Leave06.Metadata.tblLeaveRecordInfoMetadata.
20:48:44.044 - Database Exception - in
D:\Inetpub\wwwroot\Reactor\base\abstractGateway.cfc : line 92
Error Executing Database Query.
20:48:44.044 - Database Exception - in
D:\Inetpub\wwwroot\Reactor\base\abstractGateway.cfc : line 92
Error Executing Database Query.
Then I refresh. I still get the offset error, but not the Application
Exceptions. Still get the Database Exception. What I am seeing
currently, is that it does not matter what I am trying to sort by, the
same thing happens. After going through about 3 or 4 different tries
with different variables, it finally works. But if I clear everything
out and start over, same thing happens again. I wonder if it has
something to do with the gateway or getAll method.
Byron
Doug Hughes wrote:
Well, I wouldn't either!
Doug
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sean Corfield
Sent: Wednesday, October 11, 2006 5:29 PM
To: [email protected]
Subject: Re: [Reactor for CF] Syntax error at token 0, line 0 offset 0
On 10/11/06, Byron Raines <[EMAIL PROTECTED]> wrote:
15:10:26.026 - MissingInclude Exception - in
D:\Inetpub\wwwroot\fusebox5\fusebox5.cfm : line 113
Could not find the included template
../Leave06/fusebox.appinit.cfm.
fusebox.appinit.cfm is an optional file - FB5 simply attempts to
include it and ignores the exception (so you can ignore it too).
15:10:26.026 - java.lang.NullPointerException - in
D:\Inetpub\wwwroot\Reactor\core\objectFactory.cfc : line 87
These I would be more worried about... It's coming from the
createObject() call in this piece of code:
<cftry>
<!--- create an instance of
the object and check its signature --->
<cfset GeneratedObject =
CreateObject("Component",
getObjectName(arguments.type, arguments.alias, arguments.plugin)) />
<cfcatch>
<cfset generate =
true />
</cfcatch>
</cftry>
I would not expect an NPE from that in normal operation... Doug?
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --