Re: cfdump [unknown type]
Tony, This issue has already been discussed a few times on this list. You can use the search engine to find people's solutions. My solution was to code my own CFDUMP tag, which is 90% the same as the original CFDUMP, but has special handling for CFCATCH. The CFMX6.1 updater includes a hotfix which changes the behavior of CFDUMP. It fixes the dumping of some objects, while breaking the dumping of cfcatch. Good luck, Mike Chabot [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfdump [unknown type]
Well it's rubbish, my code that used to simply try/catch a piece of code, if there was an error, passed the cfcatch structure to a custom tag which then handles it. It's now royally broken. I've now either got to use the custom tag suggested above, or rely on cferror to handle all my specific errors. Which is the wrong method, but about the only one I can get working. I would suggest MM gather a hotfix to resolve this problem, because I'm sure it can't just be me encountering this problem. Tony > I think this is sort of a "bugfix" in the updater for the endless loop > error you sometimes get when you try to dump an error which has a type > of "coldfusion.runtime.UndefinedElementException" or "coldfusion. > runtime.UndefinedVariableException". > > >anyone ever get this when you > > > >[unknown type] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfdump [unknown type]
I think this is sort of a "bugfix" in the updater for the endless loop error you sometimes get when you try to dump an error which has a type of "coldfusion.runtime.UndefinedElementException" or "coldfusion.runtime.UndefinedVariableException". >anyone ever get this when you > >[unknown type] [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: cfdump [unknown type]
Hi Tony, Yeah, I've noticed this a lot since the CFMX 6.1 Updater. I never had this problem before applying the updater. It's now appearing all over the place. Have you found the cause for this yet, or any solutions? Thanks. Tony (another) >anyone ever get this when you > >[unknown type] > >thanks > >...tony > >tony weeg >senior web applications architect >navtrak, inc. >www.navtrak.net >[EMAIL PROTECTED] >410.548.2337 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: cfdump [unknown type]
Tony, I have a custom tag that I wrote to display exception information and it catches some of the random error that happen when just cfdumping a cfcatch variable. Call it like: I put it below. Paul Kenney [EMAIL PROTECTED] 916-212-4359 ---START CODE--- Len(toString(ArrayLen(Arguments.StackTrace> Arguments.StackTrace[j].getMethodName(), ",")> maskChar = Mid(ElemMask, i, 1); switch(maskChar) { case "c": // Class name Elem.Str = Elem.Str & Elem.Val.getClassName(); break; case "f": // Filename Elem.Str = Elem.Str & Elem.Val.getFileName(); break; case "i": // Current Index into the StackTrace array. Elem.Str = Elem.Str & NumberFormat(j, LineNumMask); break; case "l": // Line number in file. Elem.Str = Elem.Str & Elem.Val.getLineNumber(); break; case "m": // Method name Elem.Str = Elem.Str & Elem.Val.getMethodName(); break; case "*": Elem.Str = Elem.Str & Elem.Val.toString(); break; default: Elem.Str = Elem.Str & maskChar; } ,<,""")> StructKeyExists(ThisTag.Info, "Template")> ArrayLen(ThisTag.Stacks.TagContext)> style="background:cc;color:ff;"> - EXCEPTION - expand="true"/> expand="false"/> [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfdump [unknown type]
it's a query... that's wrapped in a cftry/cfcatch series of tags... the error was in the sql code, and the cfdump didn't know what to do with the error. it was strange. thanks tony Tony Weeg sr. web applications architect navtrak, inc. [EMAIL PROTECTED] 410.548.2337 www.navtrak.net -Original Message- From: Andrew Tyrone [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 4:37 PM To: CF-Talk Subject: RE: cfdump [unknown type] Ah, silly me. I was thinking about what you need to do to be able to access the CFCATCH struct outside of the cfcatch opening and closing tags... That is where your CFDUMP tag is, correct? Maybe pasting the surrounding code would help... -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 4:05 PM To: CF-Talk Subject: RE: cfdump [unknown type] uhhh I didn't have to yesterday. is this something new today? :) me -Original Message- From: Andrew Tyrone [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 4:00 PM To: CF-Talk Subject: RE: cfdump [unknown type] If I remember correctly, you have to Duplicate() the CFCATCH struct to be able to dump it. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfdump [unknown type]
Ah, silly me. I was thinking about what you need to do to be able to access the CFCATCH struct outside of the cfcatch opening and closing tags... That is where your CFDUMP tag is, correct? Maybe pasting the surrounding code would help... -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 4:05 PM To: CF-Talk Subject: RE: cfdump [unknown type] uhhh I didn't have to yesterday. is this something new today? :) me -Original Message- From: Andrew Tyrone [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 4:00 PM To: CF-Talk Subject: RE: cfdump [unknown type] If I remember correctly, you have to Duplicate() the CFCATCH struct to be able to dump it. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfdump [unknown type]
uhhh I didn't have to yesterday. is this something new today? :) me -Original Message- From: Andrew Tyrone [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 4:00 PM To: CF-Talk Subject: RE: cfdump [unknown type] If I remember correctly, you have to Duplicate() the CFCATCH struct to be able to dump it. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 3:51 PM To: CF-Talk Subject: cfdump [unknown type] anyone ever get this when you [unknown type] thanks ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: cfdump [unknown type]
If I remember correctly, you have to Duplicate() the CFCATCH struct to be able to dump it. -Original Message- From: Tony Weeg [mailto:[EMAIL PROTECTED] Sent: Friday, May 07, 2004 3:51 PM To: CF-Talk Subject: cfdump [unknown type] anyone ever get this when you [unknown type] thanks ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
cfdump [unknown type]
anyone ever get this when you [unknown type] thanks ...tony tony weeg senior web applications architect navtrak, inc. www.navtrak.net [EMAIL PROTECTED] 410.548.2337 [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]