This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 107412

Summary: Integrate ErrorHander with the HTTP monitor
Product: javaee Reporter: Petr Jiricka <pjiricka>
Component: HTTP MonitorAssignee: issues@javaee <issues>
Status: RESOLVED WONTFIX    
Severity: blocker CC: potingwu
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 89772    

Description Petr Jiricka 2007-06-20 12:40:26 UTC
Visual web has the ErrorHandler feature, which makes stack traces in the browser clickable. When clicking on a stack
frame, the corresponding source is opened in the NetBeans editor. 

This feature works well, but the current approach has a couple disadvantages:
- The server-side code that implements this is registered as a servlet in the application's web.xml. So the IDE inserts
code into web.xml that will not be used in the production and that the user does not want to see. This also results in
bugs such as issue 92406.
- The feature is only implemented for visual JSF applications, not for arbitrary web applications in general. So only a
subset of applications can take advantage of this, the others are left out in the cold.

These deficiencies could be fixed by integrating the ErrorHandler with the HTTP monitor. The HTTP monitor server-side
component is registered on the server, not in the application. Also, it is applied to all applications, not just visual
JSF apps.
Comment 1 Petr Jiricka 2007-06-20 12:41:27 UTC
Adding plan60 and 'future' target milestone.
Comment 2 Martin Balin 2016-07-07 08:53:07 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss