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.
Summary: | Stack-traces are not being converted to links | ||
---|---|---|---|
Product: | platform | Reporter: | _ gtzabari <gtzabari> |
Component: | Output Window | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jglick |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
_ gtzabari
2011-04-20 18:39:17 UTC
A similar problem is when the output window contains stack-traces such as this: [exec:exec] Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: input == null! at javax.imageio.ImageIO.read(ImageIO.java:1362) at com.foo.health.client.MainPanel.<init>(MainPanel.java:35) at com.foo.health.client.Main$1.run(Main.java:52) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642) at java.awt.EventQueue.access$000(EventQueue.java:85) at java.awt.EventQueue$1.run(EventQueue.java:603) at java.awt.EventQueue$1.run(EventQueue.java:601) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:612) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) ------------------------------------------------------------------------ BUILD SUCCESS ------------------------------------------------------------------------ Total time: 2.585s Finished at: Wed Apr 20 14:39:04 EDT 2011 Final Memory: 7M/184M ------------------------------------------------------------------------ In the line "com.foo.health.client.MainPanel.<init>(MainPanel.java:35)" the letters "com." are not underlined but the rest of the line is. I am expecting the entire line to be highlighted. My guess is that this is related to Maven 3.0. Netbeans 6.9.1 suffers from the same problem if Maven 3 is used. Thanks for report, we already know about this regression - plan to fix it in the first patch. *** This bug has been marked as a duplicate of bug 197381 *** (In reply to comment #0) > C:\Users\Gili\Documents\foo\health\client\src\main\java\com\foo\health\client\MainPanel.java:[41,2] > cannot find symbol > symbol : method add(java.awt.Color,java.lang.Integer) > location: class com.foo.health.client.MainPanel This looks different from bug #197381, which was about working around a bug in the Maven compiler plugin which omits the drive letter in its output; in the sample printed above, the Maven output looks OK and NB should be hyperlinking it (assuming the named file really exists). Check whether it is really fixed in a post-7.0 development build, otherwise file a fresh bug in projects/Maven with steps to reproduce from scratch. Anyway the summary here is about "stack traces" and the above is not a stack trace line. (In reply to comment #1) > In the line "com.foo.health.client.MainPanel.<init>(MainPanel.java:35)" the > letters "com." are not underlined but the rest of the line is. I am expecting > the entire line to be highlighted. I have observed this too. I believe it is a bug in the Output Window relating to the display of TAB characters. Try turning line wrap mode on or off to see if that affects it. > Try turning line wrap mode on or off to see if that affects it.
I just checked: toggling line-wrap makes no difference.
I've verified that it's a bug of Output Window that occur when tabs form a part of the link. Fixed by changeset: 194549:c288e9c3aeb7 http://hg.netbeans.org/main/rev/c288e9c3aeb7 Pushed to release701 as changeset: 199106:309aa7321bbd Integrated into 'main-golden', will be available in build *201105250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c288e9c3aeb7 User: mentlicher@netbeans.org Log: #197915 Do not translate tabs to spaces for links. It breaks character indexes. |