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.
Numerous pieces of code in the IDE - Ant's <java> handler, Maven's OutputUtils, Hudson's console and test failure handler, etc. - try to recognize Java stack trace lines and hyperlink them. Certain impls handle certain things which others do not: - search a project-defined classpath or sourcepath first, then fall back to GlobalPathRegistry if necessary - top-level private classes should be linked, so in "\tat p.B(A.java:123)" hyperlink p/A.java at line 123 - matching line should always be hyperlinked immediately (fast check); if and when clicked, look up source file, and print warning if not found (maybe use SourceJavadocAttacher if binary class can be found!) - support for unusual line patterns such as produced by Logback or JRockit There should be a single well-tested API which handles stack traces and gets reused by all of these. Maybe also integrate with External Execution API for convenience.
(In reply to comment #0) > Maybe also integrate with External Execution API for convenience. See MavenFileLocator implements LineConvertors.FileLocator for example.
Not in 7.2.
Another buglet I noticed (in a Maven project using CoS, i.e. in JavaAntLogger) which would be best fixed in a single point: Java 7 suppressed exceptions are not hyperlinked at all, due to the extra \t prepended to each line. So matching /^\t(…)$/ should really be /^\t+(…)$/ to handle possible nesting.