Hi Dave,

We've seen this issue before, and the ultimate root of the problem is
a bug in ColdSpring, which is exposed due to some (relatively) recent
changes to Reactor.

In order to fix this, I'd recommend pulling down a copy of ColdSpring
from CVS, as this bug and some other issues that have been fixed in
the repository are not available in any "official" downloads.

If you're not comfortable doing this, post back to the list and I can
send you a patched version of the DefaultXmlBeanFactory.cfc file which
will fix the problem.

HTH,

--
Ezra Parker


On Tue, Apr 20, 2010 at 10:07 AM, Dave <[email protected]> wrote:
> Hi,
>
> I tried executing the "PlanOMatic" application which has been
> published in MG wiki. But I am having this error and can't able to
> move forward. Please help
>
>
> The setBeanFactory method was not found.
>
> Either there are no methods with the specified method name and
> argument types, or the setBeanFactory method is overloaded with
> argument types that ColdFusion cannot decipher reliably. ColdFusion
> found 0 methods that matched the provided arguments. If this is a Java
> object and you verified that the method exists, you may need to use
> the javacast function to reduce ambiguity.
>
> The error occurred in C:\ColdFusion8\wwwroot\reactor
> \reactorFactory.cfc: line 135
> Called from C:\ColdFusion8\wwwroot\coldspring\beans
> \DefaultXmlBeanFactory.cfc: line 902
> Called from C:\ColdFusion8\wwwroot\coldspring\beans
> \DefaultXmlBeanFactory.cfc: line 632
> Called from C:\ColdFusion8\wwwroot\ModelGlue\gesture\externaladapters
> \ioc\ColdSpringAdapter.cfc: line 46
> Called from C:\ColdFusion8\wwwroot\ModelGlue\gesture\ModelGlue.cfc:
> line 228
> Called from C:\ColdFusion8\wwwroot\ModelGlue\gesture\modules\orm
> \controller\GenericORMController.cfc: line 51
> Called from C:\ColdFusion8\wwwroot\ModelGlue\gesture\eventrequest
> \EventContext.cfc: line 326
> Called from C:\ColdFusion8\wwwroot\ModelGlue\gesture\eventrequest
> \EventContext.cfc: line 253
> Called from C:\ColdFusion8\wwwroot\ModelGlue\gesture\eventrequest\phase
> \Population.cfc: line 42
> Called from C:\ColdFusion8\wwwroot\ModelGlue\gesture\eventrequest
> \EventContext.cfc: line 180
> Called from C:\ColdFusion8\wwwroot\ModelGlue\gesture\ModelGlue.cfc:
> line 243
> Called from C:\ColdFusion8\wwwroot\ModelGlue\gesture\ModelGlue.cfm:
> line 83
> Called from C:\ColdFusion8\wwwroot\PlantOMatic\index.cfm: line 50
>
> 133 :           <cfargument name="factory" type="coldspring.beans.BeanFactory"
> required="true" />
> 134 :           <cfset variables.BeanFactory = arguments.factory />
> 135 :           <cfset getObjectFactory().setBeanFactory( arguments.factory )>
> 136 :   </cffunction>
> 137 :
>
>
> Thanks in advance!,
> Dave.
>
> --
> 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
>

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

Reply via email to