Fixed and committed.

 

OH, by the way – there’s delete methods on the gateways now.

 

Doug

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Hughes
Sent: Sunday, June 04, 2006 6:13 PM
To: [email protected]
Subject: RE: [Reactor for CF] Reactor update error

 

There was a bug in that update. Sorry.  I’ll commit a fix shortly.

 

Doug

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Hughes
Sent: Sunday, June 04, 2006 4:57 PM
To: [email protected]
Subject: RE: [Reactor for CF] Reactor update error

 

This fix was committed.

 

Doug

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cedric Villat
Sent: Sunday, June 04, 2006 3:14 PM
To: [email protected]
Subject: RE: [Reactor for CF] Reactor update error

 

Just for reference, I am using CFMX 6.1, which may explain why you are not seeing the issue.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cedric Villat
Sent: Sunday, June 04, 2006 12:06 PM
To: [email protected]
Subject: RE: [Reactor for CF] Reactor update error

 

Doug,

 

I changed query.cfc’s line 13 to what you said, and that seemed to fix the problem. Hopefully that will help you explain why it occurs J Let me know if there is anything else you want me to do on this end to help you debug.

 

Cedric

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Hughes
Sent: Sunday, June 04, 2006 11:54 AM
To: [email protected]
Subject: RE: [Reactor for CF] Reactor update error

 

Cedric,

 

Did you override load in your custom CFCs somewhere?  If so, that’s where the problem lies.  Yes, at one point the load method did change.  Based on the stack trace it doesn’t look like you overrode it though.

 

I’d also try clearing the compiled CFCs… I’ve had these hang around in the past inexplicably.

 

What version of CF? 

 

Also, try changing query.cfc’s line 13 to look like this: 

 

<cfset setObject(CreateObject("Component", "reactor.query.object").init(arguments.ReactorFactory.createMetadata(arguments.objectAlias), arguments.queryAlias, arguments.ReactorFactory)) />

 

Let me know if that helps, thanks.

 

Doug

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cedric Villat
Sent: Sunday, June 04, 2006 2:51 PM
To: [email protected]
Subject: RE: [Reactor for CF] Reactor update error

 

Doug,

 

I restarted CF and I still get the same error. I’m loading reactor in the init() method of a MG controller, so when I re-initialize the MG app, reactor should be reloaded.

 

From the stack trace I provided, you can see my simple load() command goes from my controller to the purely reactor generated files. I can’t imagine my load() is a problem, since it is so simple. Unless the load() command has changed? I assume some init() method being called from within reactor maybe has a null value or something and can’t return an instance of itself properly.

 

Any other ideas of where to look?

 

Cedric

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Hughes
Sent: Sunday, June 04, 2006 11:33 AM
To: [email protected]
Subject: RE: [Reactor for CF] Reactor update error

 

I’m not sure how you have reactor loaded.  But all you need to do is clear reactor out of memory.  Tried restarting CF?

 

Doug

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cedric Villat
Sent: Sunday, June 04, 2006 2:21 PM
To: [email protected]
Subject: RE: [Reactor for CF] Reactor update error

 

Doug,

 

I reinit’d the MG app. Is there a way to reinit the Reactor part of it?

 

Cedric

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Hughes
Sent: Sunday, June 04, 2006 11:17 AM
To: [email protected]
Subject: RE: [Reactor for CF] Reactor update error

 

Did you reinit your application?  Can you give me any more information?  (I’m not seeing this problem.)

 

Doug

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cedric Villat
Sent: Sunday, June 04, 2006 1:58 PM
To: [email protected]
Subject: [Reactor for CF] Reactor update error

 

I got the latest Reactor code from the new SVN repository and deleted my project files, but now when I visit my main page I get the following error:

 

The value returned from function init() is not of type reactor.query.object.

If the component name is specified as a return type, the reason for this error might be that a definition file for such component cannot be found or is not accessible.   The error occurred in C:\Inetpub\wwwroot\Reactor\query\query.cfc: line 13
Called from C:\Inetpub\wwwroot\Reactor\base\abstractGateway.cfc: line 69
Called from C:\Inetpub\wwwroot\Reactor\project\Cornfeed\Gateway\ClientUsersGateway.cfc: line 33
Called from C:\Inetpub\wwwroot\Reactor\project\Cornfeed\Dao\ClientUsersDao.cfc: line 203
Called from C:\Inetpub\wwwroot\Reactor\base\abstractRecord.cfc: line 63
Called from D:\Site Dev\cornfeed\controller\UserController.cfc: line 25
Called from C:\Inetpub\wwwroot\ModelGlue\ModelGlue.cfc: line 482
Called from C:\Inetpub\wwwroot\ModelGlue\ModelGlue.cfc: line 332
Called from C:\Inetpub\wwwroot\ModelGlue\ModelGlue.cfc: line 304
Called from C:\Inetpub\wwwroot\ModelGlue\ModelGlue.cfm: line 64
Called from D:\Site Dev\cornfeed\index.cfm: line 27

 

 

Any ideas what this means? The line in the UserController.cfc looks like:

<cfset SessionFacade.setValue("ClientObject", ClientRecord.load(clientID=0))>

 

It seems to be bombing out while doing the load().

 

Cedric


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to