| Summary: | Open Link in Console view doesn't work | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Toshihiro Izumi <euthanasia_waltz> |
| Component: | Debug | Assignee: | Platform-Debug-Inbox <platform-debug-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | darin.eclipse, nachervenkova, remy.suen |
| Version: | 3.4.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
*** Bug 232244 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 229202 *** |
Build ID: M20080911-1700 Steps To Reproduce: 1. In JDT for example, create new class and run it. public class Test { public static void main(String[] args) { int i = 1 / 0; } } 2. Error message appears in the Console view. Exception in thread "main" java.lang.ArithmeticException: / by zero at Test.main(Test.java:3) 3. Right-click the hyperlink on "Test.java:3", and click "Open Link". => Nothing will happen. (4. Click the hyperlink => This will work.) More information: If user move mouse pointer onto hyperlink, org.eclipse.ui.console.TextConsoleViewer.linkEntered(IHyperlink) set the link to internal variable. However, when user click menu-item "Open Link", org.eclipse.ui.console.TextConsoleViewer.linkExited(IHyperlink) run first and clear internal variable. Next org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Event, boolean) run and 558: if (action.isEnabled()) { will fail. So the action won't run.