I think Dennis means stack[i - 1]
On 5 January 2013 08:20, Might Aswell <[email protected]> wrote: > Not sure if this was what you meant, but doesn't seem to help, did I > misinterpret? > > The append method was not found.Either there are no methods with the > specified method name and argument types, or the append method is > overloaded with argument types that ColdFusion cannot decipher reliably. > ColdFusion found 2 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 > *D:\InetPub\farcry\core\packages\lib\error.cfc: > line 221* > > 219 : <cfset > stacktrace.append(arguments.log.stack[i].template) /> > 220 : <cfset stacktrace.append(":") /> > *221 : <cfset stacktrace.append(-1) />* > > 222 : <cfif i eq > arraylen(arguments.log.stack)> > 223 : <cfset > stacktrace.append(variables.newline) /> > > > On Friday, January 4, 2013 3:58:10 PM UTC-8, Dennis Clark wrote: > >> Given that the error was thrown on line 221 and not 219 or 220, I'd say >> the exception that error.cfc was trying to handle doesn't have a line >> number. >> >> We'll need to patch error.cfc to handle such cases, but for now try >> replacing arguments.log.stack[i].line with -1 so you can see what the >> underlying exception is. Make a backup of error.cfc first so you can revert >> the change after you're done. >> >> Regards, >> -- Dennis >> On 05/01/2013 10:30 AM, "Might Aswell" <[email protected]> wrote: >> >>> trying to go from 6.0.15 to 6.2.6 on Win2008 / CF8 >>> >>> Dropped in a new core and get this when updating app. >>> >>> The append method was not found.Either there are no methods with the >>> specified method name and argument types, or the append method is >>> overloaded with argument types that ColdFusion cannot decipher reliably. >>> ColdFusion found 5 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 * >>> D:\InetPub\farcry\core\packages\lib\error.cfc: line 221* >>> >>> 219 : <cfset >>> stacktrace.append(arguments.**log.stack[i].template) /> >>> 220 : <cfset stacktrace.append(":") />*221 : >>> <cfset >>> stacktrace.append(arguments.log.stack[i].line) />* >>> 222 : <cfif i eq >>> arraylen(arguments.log.stack)> >>> 223 : <cfset >>> stacktrace.append(variables.**newline) /> >>> >>> -- >>> You received this message cos you are subscribed to "farcry-dev" Google >>> group. >>> To post, email: [email protected] >>> To unsubscribe, email: farcry-dev+...@**googlegroups.com >>> >>> For more options: >>> http://groups.google.com/**group/farcry-dev<http://groups.google.com/group/farcry-dev> >>> ------------------------------**-- >>> Follow us on Twitter: http://twitter.com/farcry >>> >>> >>> >> -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: [email protected] > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry > > > -- *AJ Mercer* <webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org community="Open" /> <http://webonix.org> http://twitter.com/webonix Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/> -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
