Sorry for not getting back on this earlier. My first suggestion was sent from my phone during weekend shopping so I didn't get good look at the problem.
I've looked again and it seems that although my hunch was right (line number in the stack trace is null), my fix was wrong. The Java StringBuffer append() method accepts multiple numeric types so append(-1) is ambiguous and requires a JavaCast to work properly. If you're still having problems just remove or comment out the line so you can see the underlying error. Meanwhile I'll make a patch for error.cfc and push it to the next milestones for 6.0, 6.1, and 6.2. Regards, -- Dennis On 17 January 2013 06:28, Might Aswell <[email protected]> wrote: > anyone else have any input? I'll mention that this site (6.0.15) has been > continuously upgraded since 4.x maybe something outside of core I need to > look at? > > > On Tuesday, January 8, 2013 10:39:21 AM UTC-8, Might Aswell wrote: >> >> no additional info with debug flag.. >> >> The error is now; >> >> The element at position 0 cannot be found. 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-1].line) />* >> 222 : <cfif i eq >> arraylen(arguments.log.stack)> >> 223 : <cfset >> stacktrace.append(variables.**newline) /> >> >> >> On Friday, January 4, 2013 6:19:54 PM UTC-8, AJ Mercer wrote: >>> >>> what do you get is you put >>> ?debug=1 >>> onto the URL? >>> >>> >>> On 5 January 2013 08:56, Might Aswell <[email protected]> wrote: >>> >>>> 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(arguments.log.stack[i-1].line) />* >>>> >>>> 222 : <cfif i eq >>>> arraylen(arguments.log.stack)> >>>> 223 : <cfset >>>> stacktrace.append(variables.**newline) /> >>>> >>>> >>>> On Friday, January 4, 2013 4:42:14 PM UTC-8, AJ Mercer wrote: >>>> >>>>> 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.**lo**g.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.**ne**wline) /> >>>>>> >>>>>> >>>>>> 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.**lo****g.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.**ne****wline) /> >>>>>>>> >>>>>>>> -- >>>>>>>> You received this message cos you are subscribed to "farcry-dev" >>>>>>>> Google group. >>>>>>>> To post, email: [email protected] >>>>>>>> To unsubscribe, email: farcry-dev+...@**googlegroups.**co**m >>>>>>>> >>>>>>>> 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: 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 >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *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: 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 >>>> >>>> >>>> >>> >>> >>> >>> -- >>> >>> *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 > > > -- Dennis Clark | Developer | Daemon | +61 2 8999 8872 | http://www.daemon.com.au -- 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
