Hi Mark,
When these erorrs happen, I do a fwreinit of the site (I am using
Coldbox) and after a succesfull reinit of the application all is
well.
But sometimes it takes a few times to get rid of these errors.
The stack trace is as follows:
uct
codeprinthtml
string 136: <cfinclude
template="#arguments.transferFileName#"><br> 137:
<cfcatch type="any"><br> <b>138: <cfthrow
type="transfer.#cfcatch.type#" message="Error found in:
#arguments.transferFileName#" detail="#cfcatch.message# :
#cfcatch.detail#"></b><br> 139: </cfcatch><br> 140: </
cftry><br>
codeprintplain
string 136: <cfinclude template="#arguments.transferFileName#"> 137:
<cfcatch type="any"> 138: <cfthrow type="transfer.#cfcatch.type#"
message="Error found in: #arguments.transferFileName#"
detail="#cfcatch.message# : #cfcatch.detail#"> 139: </cfcatch> 140: </
cftry>
column
number 0
id
string ??
line
number 138
raw_trace
string transfer.com.dynamic.transferbuilder_cfc$cf.udfCall1(E:\var\www
\ecs\transfer\com\dynamic\TransferBuilder.cfc:138)
template
string E:\var\www\ecs\transfer\com\dynamic\TransferBuilder.cfc
type
string cfml
2
Struct
codeprinthtml
string 80: <br> 81: injector.injectMethod(transfer,
instance.mixin.buildTransferObject);<br> <b>82:
transfer.buildTransferObject(arguments.object, injector,
getDefinitionPath() &
getObjectWriter().getDefinitionFileName(object));</b><br> 83: <br> 84:
injector.stop(transfer);<br>
codeprintplain
string 80: 81: injector.injectMethod(transfer,
instance.mixin.buildTransferObject); 82:
transfer.buildTransferObject(arguments.object, injector,
getDefinitionPath() &
getObjectWriter().getDefinitionFileName(object)); 83: 84:
injector.stop(transfer);
column
number 0
id
string ??
line
number 82
raw_trace
string transfer.com.dynamic.transferbuilder_cfc$cf.udfCall1(E:\var\www
\ecs\transfer\com\dynamic\TransferBuilder.cfc:82)
template
string E:\var\www\ecs\transfer\com\dynamic\TransferBuilder.cfc
type
string cfml
3
Struct
codeprinthtml
string 45: <cffunction name="createTransferObject"
hint="creates an empty Transfer Object"
access="public"
returntype="transfer.com.TransferObject"
output="false"><br> 46: <cfargument
name="object" hint="The Object business Object"
type="transfer.com.object.Object"
required="Yes"><br> <b>47: <cfreturn
getTransferBuilder().createTransferObject(arguments.object)></
b><br> 48: </cffunction><br> 49: <br>
codeprintplain
string 45: <cffunction name="createTransferObject" hint="creates an
empty Transfer Object" access="public"
returntype="transfer.com.TransferObject" output="false"> 46:
<cfargument name="object" hint="The Object business Object"
type="transfer.com.object.Object" required="Yes"> 47: <cfreturn
getTransferBuilder().createTransferObject(arguments.object)> 48: </
cffunction> 49:
column
number 0
id
string ??
line
number 47
raw_trace
string transfer.com.dynamic.dynamicmanager_cfc$cf.udfCall1(E:\var\www
\ecs\transfer\com\dynamic\DynamicManager.cfc:47)
template
string E:\var\www\ecs\transfer\com\dynamic\DynamicManager.cfc
type
string cfml
4
Struct
codeprinthtml
string 73: <br> 74: //lets build it<br> <b>75: transfer =
getDynamicManager().createTransferObject(object);</b><br> 76: <br> 77:
if(object.hasDecorator())<br>
codeprintplain
string 73: 74: //lets build it 75: transfer =
getDynamicManager().createTransferObject(object); 76: 77:
if(object.hasDecorator())
column
number 0
id
string ??
line
number 75
raw_trace
string transfer.com.transfer_cfc$cf.udfCall1(E:\var\www\ecs\transfer
\com\Transfer.cfc:75)
template
string E:\var\www\ecs\transfer\com\Transfer.cfc
type
string cfml
5
Struct
codeprinthtml
string 115: {<br> 116: //if not put it in<br> <b>117: transfer =
new(arguments.class);</b><br> 118: <br> 119: //run the query<br>
codeprintplain
string 115: { 116: //if not put it in 117: transfer =
new(arguments.class); 118: 119: //run the query
column
number 0
id
string ??
line
number 117
raw_trace
string transfer.com.transfer_cfc$cf.udfCall1(E:\var\www\ecs\transfer
\com\Transfer.cfc:117)
template
string E:\var\www\ecs\transfer\com\Transfer.cfc
type
string cfml
6
Struct
codeprinthtml
string 20: <cffunction name="getSite"
access="public" returntype="any"><br> 21:
<cfargument name="id" type="numeric"
required="false" default="0"><br> <b>22:
<cfreturn getTransfer().get("site",arguments.id)></
b><br> 23: </cffunction><br> 24: <br>
codeprintplain
string 20: <cffunction name="getSite" access="public"
returntype="any"> 21: <cfargument name="id" type="numeric"
required="false" default="0"> 22: <cfreturn
getTransfer().get("site",arguments.id)> 23: </cffunction> 24:
column
number 0
id
string ??
line
number 22
raw_trace
string model.services.siteservice_cfc$cf.udfCall1(E:\var\www\ecs\model
\services\SiteService.cfc:22)
template
string E:\var\www\ecs\model\services\SiteService.cfc
type
string cfml
7
Struct
codeprinthtml
string 49: rc.friendIPs = "
127.0.0.1,192.168.9.1,193.141.90.186,212.187.38.132,77.60.75.250,84.73.166.173,93.186.187.101,82.173.166.121,24.132.244.71,91.189.231.203,77.249.191.173,62.194.72.196";<br>
50: <br> <b>51: rc.thisSite = variables.siteService.getSite(siteID);</
b><br> 52: event.paramvalue('sitename',
rc.thisSite.getsitename());<br> 53: rc.siteurl = 'http://
#cgi.server_name#';<br>
codeprintplain
string 49: rc.friendIPs =
"127.0.0.1,192.168.9.1,193.141.90.186,212.187.38.132,77.60.75.250,84.73.166.173,93.186.187.101,82.173.166.121,24.132.244.71,91.189.231.203,77.249.191.173,62.194.72.196";
50: 51: rc.thisSite = variables.siteService.getSite(siteID); 52:
event.paramvalue('sitename', rc.thisSite.getsitename()); 53:
rc.siteurl = 'http://#cgi.server_name#';
column
number 0
id
string ??
line
number 51
raw_trace
string handlers.main_cfc$cf.udfCall1(E:\var\www\ecs\handlers\Main.cfc:
51)
template
string E:\var\www\ecs\handlers\Main.cfc
type
string cfml
8
Struct
codeprinthtml
string 682: method="#arguments.method#"<br> 683:
returnvariable="refLocal.results"<br> <b>684:
argumentcollection="#arguments.argCollection#"></b><br>
685: </cfif><br> 686: <br>
codeprintplain
string 682: method="#arguments.method#" 683:
returnvariable="refLocal.results" 684:
argumentcollection="#arguments.argCollection#"> 685: </cfif> 686:
column
number 0
id
string ??
line
number 684
raw_trace
string coldbox.system.web.controller_cfc$cf.udfCall6(E:\var\www\ecs
\coldbox\system\web\Controller.cfc:684)
template
string E:\var\www\ecs\coldbox\system\web\Controller.cfc
type
string cfml
9
Struct
codeprinthtml
string 569: else{<br> 570: // Normal execution<br> <b>571:
loc.results = invoker(oHandler,ehBean.getMethod(), loc.argsMain,
arguments.private);</b><br> 572: }<br> 573: }<br>
codeprintplain
string 569: else{ 570: // Normal execution 571: loc.results =
invoker(oHandler,ehBean.getMethod(), loc.argsMain, arguments.private);
572: } 573: }
column
number 0
id
string ??
line
number 571
raw_trace
string coldbox.system.web.controller_cfc$cf.udfCall5(E:\var\www\ecs
\coldbox\system\web\Controller.cfc:571)
template
string E:\var\www\ecs\coldbox\system\web\Controller.cfc
type
string cfml
10
Struct
codeprinthtml
string 225: <!--- IF Found in config, run onRequestStart Handler
---><br> 226: <cfif
len(cbController.getSetting("RequestStartHandler"))><br>
<b>227: <cfset
cbController.runEvent(cbController.getSetting("RequestStartHandler"),true)></
b><br> 228: </cfif><br> 229: <br>
codeprintplain
string 225: <!--- IF Found in config, run onRequestStart Handler --->
226: <cfif len(cbController.getSetting("RequestStartHandler"))> 227:
<cfset
cbController.runEvent(cbController.getSetting("RequestStartHandler"),true)>
228: </cfif> 229:
column
number 0
id
string ??
line
number 227
raw_trace
string coldbox.system.coldbox_cfc$cf.udfCall1(E:\var\www\ecs\coldbox
\system\Coldbox.cfc:227)
template
string E:\var\www\ecs\coldbox\system\Coldbox.cfc
type
string cfml
11
Struct
codeprinthtml
string 61: <!--- Process A ColdBox Request Only ---><br> 62:
<cfif findNoCase('index.cfm', listLast(arguments.targetPage,
'/'))><br> <b>63: <cfset
application.cbBootstrap.processColdBoxRequest()></b><br> 64: </
cfif><br> 65: <br>
codeprintplain
string 61: <!--- Process A ColdBox Request Only ---> 62: <cfif
findNoCase('index.cfm', listLast(arguments.targetPage, '/'))> 63:
<cfset application.cbBootstrap.processColdBoxRequest()> 64: </cfif>
65:
column
number 0
id
string ??
line
number 63
raw_trace
string application_cfc$cf.udfCall(E:\var\www\ecs\Application.cfc:63)
template
string E:\var\www\ecs\Application.cfc
type
string cfml
Kind regards,
Erik-Jan
On 5 jul, 12:01, Mark Mandel <[email protected]> wrote:
> That's weird - the Transfer file doesn't get regenerated unless the
> definition changes, and they would fail at the start if they failed at all.
>
> What is the error exactly? Does it give you any sort of error/stack trace?
>
> What do you do when it happens? Delete the files? reboot the server?
>
> Mark
>
> On Tue, Jul 5, 2011 at 7:31 PM, EJ Jaquet <[email protected]> wrote:
> > Error found in: /model/transfer/definitions/site
> > $16D6F39D1F598A5CF5FE1A5E0CE77E06.transfer
>
> --
> E: [email protected]
> T:http://www.twitter.com/neurotic
> W:www.compoundtheory.com
>
> cf.Objective(ANZ) + Flex - Nov 17, 18 - Melbourne
> Australiahttp://www.cfobjective.com.au
--
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8
You received this message because you are subscribed to the Google Groups
"transfer-dev" 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/transfer-dev?hl=en