Project: SWT
Bug 17191 SWT Error in JUnit view
Reported: 2002-05-23 06:57:21 | Status: resolved fixed

F1 Suse 8.0, KDE 3.0, GTK 2 - switch to Java perspective - open JUnit view - select Hierarchy tab Got exception (works under Windows & Motif) org.eclipse.swt.SWTError: Argument cannot be null at org.eclipse.swt.widgets.Widget.error(Widget.java:289) at org.eclipse.swt.widgets.Tree.showItem(Tree.java:1034) at org.eclipse.swt.widgets.Tree.setSelection(Tree.java:986) at org.eclipse.jdt.internal.junit.ui.HierarchyRunView.setSelectedTest(HierarchyRunView.java:177) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.testViewChanged(TestRunnerViewPart.java:652) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.access$10(TestRunnerViewPart.java:648) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart$11.widgetSelected(TestRunnerViewPart.java:642) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:85) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:810) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:531) at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:1679) at org.eclipse.swt.custom.CTabFolder.onMouseDown(CTabFolder.java:1796) at org.eclipse.swt.custom.CTabFolder.access$4(CTabFolder.java:1793) at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:196) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:815) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1379) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1223) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1085) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1068) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:739) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:200) at org.eclipse.core.launcher.Main.run(Main.java:643) at org.eclipse.core.launcher.Main.main(Main.java:476)

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java