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
Adding plan60 and 'future' target milestone.
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