| Summary: | [JUnit] PatternSyntaxException while trying to open popup-menu in JUnit failures list (custom test name) | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Frederic Fusier <frederic_fusier> |
| Component: | UI | Assignee: | Markus Keller <markus.kell.r> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | martinae |
| Version: | 3.4 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | stalebug | ||
It seems due to the fact that the name of my test has backslash character as it includes a Windows path... I'll fix it in my test by using a '/' instead of '\', however this action should be protected from this possibility and do not raise any exception in this case... Can only fix if we can switch to 1.5, since Pattern#quote(String) is not yet available in 1.4 ;-). This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |
Using build I20080513-2000. I run some tests and got some failures. I selected one of the failures in the list and try to open the popup-menu but nothing happened. In the console I had the following stack trace: !SESSION 2008-05-14 10:11:44.759 ----------------------------------------------- eclipse.buildId=I20080513-2000 java.version=1.6.0_05 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -showlocation -showversion -verify Command-line arguments: -os win32 -ws win32 -arch x86 -showlocation -debug c:\eclipse\v34\.options -data D:\usr\OTI\workspaces\dvpt\javadoc\head -consoleLog -showversion -verify !ENTRY org.eclipse.ui 4 0 2008-05-14 11:12:36.744 !MESSAGE Unhandled event loop exception !STACK 0 java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 112 at org\.eclipse\.jdt\.core\.tests\.formatter\.FormatterCommentsMassiveTests.testCompare - org.apache.lucene\src\org\apache\lucene\search\Similarity.java\(.*:(\d+)\) ^ at java.util.regex.Pattern.error(Pattern.java:1713) at java.util.regex.Pattern.escape(Pattern.java:2177) at java.util.regex.Pattern.atom(Pattern.java:1952) at java.util.regex.Pattern.sequence(Pattern.java:1885) at java.util.regex.Pattern.expr(Pattern.java:1752) at java.util.regex.Pattern.compile(Pattern.java:1460) at java.util.regex.Pattern.<init>(Pattern.java:1133) at java.util.regex.Pattern.compile(Pattern.java:823) at org.eclipse.jdt.internal.junit.ui.OpenTestAction.<init>(OpenTestAction.java:57) at org.eclipse.jdt.internal.junit.ui.TestViewer.handleMenuAboutToShow(TestViewer.java:223) at org.eclipse.jdt.internal.junit.ui.TestViewer$1.menuAboutToShow(TestViewer.java:196) at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:335) at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:463) at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:459) at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:485) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1007) at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:4106) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3810) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:334) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1564) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1932) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4506) at org.eclipse.swt.internal.win32.OS.$$YJP$$TrackPopupMenu(Native Method) at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(OS.java) at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:246) at org.eclipse.swt.widgets.Display.runPopups(Display.java:3827) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3394) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2387) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2351) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2203) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:112) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:379) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212)