Friendly Error Messages Chrome
Contents |
från GoogleLogga inDolda fältSök efter grupper eller meddelanden
404" displays Starred by 69 users Reported by sant9...@gmail.com, Sep 7 2008 Back to list Status: Duplicate Merged: issue 36558 Owner:
Http Error 500
---- Closed: Feb 2011 Cc: niranjan@chromium.org Components: UI NextAction: ---- OS: All Pri: 2 Type: Feature mstone-X Sign in to add a comment Product Version :
mode. Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript). Home General I keep telling you! Chrome can sometimes hide an HTTP 500 ClassNotFound error!! I keep telling https://what.thedailywtf.com/topic/18661/i-keep-telling-you-chrome-can-sometimes-hide-an-http-500-classnotfound-error you! Chrome can sometimes hide an HTTP 500 ClassNotFound error!! This topic has been deleted. Only users with topic management privileges can see it. Ascendant last edited by The same guy(senior lead dev with 10+ years) http://imar.spaanjaars.com/264/how-do-i-get-detailed-information-about-errors-in-asp-or-aspnet-pages who filled the database with comma separated value columns, calls me to his desk, showed me a 500 status error page. Then told me, "Look, you're not supposed to mix Spring form tags with a value http error attribute specified. It's incorrect syntax. This is causing this 500 error and the users can see this only sometimes because Chrome hides this sometimes". Chrome had that magical power of hiding an HTTP status 500 error and make the web app work for a while, and only do this sometimes ?!!! The stack trace shows a clear CNF error for the jsp file. It failed to compile the jsp file in 500 internal server the first place. I kept insisting looking at the stack trace, he dismissed and kept saying it's the Spring form tags with a value attribute with a value. He didn't have to even look at the stack trace. LOL' Oh of course, it was working just fine on the demonstration server, my local host and every other developer's local machine and that of the testers. Reply Quote 10 Maciejasjmj last edited by I, ah, guess it can replace the error page with the built-in Chrome one unless you pad yours to 512 bytes? That's about the only thing that could maybe make sense... Reply Quote 1 rc4 last edited by @Maciejasjmj That prevents chrome from showing its stupid "friendly error," yes. I know nginx pads its default error pages with HTML comments that say something like . Reply Quote 4 Ascendant last edited by @rc4 @rc4 said:That prevents chrome from showing its stupid "friendly error," yes. No. The guy was talking about the web application completely behaving normal sometimes and crashing( HTTP 500, with ClassNotFound root cause) sometimes. Btw, then I asked him to look at the stacktrace and he just dismissed my suggestion. So I told him, that without looking at
Written by Imar Spaanjaars Posted 03/31/2004 10:48 Reviewed 12/07/2006 17:23 Page views 50007 Listened to Incubus - In My Room from the album: A Crow left to the murder Print this Page Looking to hire? Are you looking to hire an experienced software developer or .NET consultant? Then get in touch with me through my company's web site at devierkoeden.com Do you like this site? Found an interesting article on this site? Got inspired by something you read here? Then consider making a donation with PayPal. Rate this item Like this article? Or do you think it sucks? Make yourself heard by casting your vote below. 1 2 3 4 5 (Sucks) (Rules) Total number of ratings: 23 Follow me on Twitter Want to be notified of new posts on this web site? Then follow me on Twitter. How Do I Get Detailed Information About Errors in ASP or ASP.NET Pages? When you are trying to debug your ASP or ASP.NET pages, it's important to get detailed information about your errors. Knowing the cause of the error is often the biggest part of solving the problem. By default, Internet Explorer will hide most of the raw error message from you, and instead will give you a "Friendly" HTTP error message. This FAQ will show you how to disable this feature so you can see the original error that the ASP run-time threw at you. This will help tremendously in debugging your ASP applications. When you are creating ASP or ASP.NET pages, it's likely you have seen an error like the following when you requested a page in your browser:Figure 1 - An HTTP 500 Error as Displayed in Internet Explorer with Friendly Errors Turned On It's also possible to get error messages like this one:Figure 2 - An Error Message You May See when Detailed Error Messages is Disabled in IISI think you'll agree with me that these error messages are not very descriptive. All they tell you is that something went wrong, but it is impossible to find out what went wrong. Good Morning, I am your Friendly HTTP Error Message for the Day The error message from the first screen shot is what the designers of Internet Explorer call a “Friendly HTTP Error Message”. For the majority of users, this is true. This error message tells them that something went wrong, and it offers them a link back to the homepage of the site. There is no need to bother ordinary visitors with technical gobbledygook.But for you as a developer, this message is useless. Fortunately, it's easy to get more detailed informati