Community
Participate
Working Groups
1. make sure the variables view is hidden (e.g. covered by breakpoints view) when before shutting down. Shut down workbench. 2. start workbench 3. start java debug session 4. suspend something and select stackframe 5. bring the variables view to the top The variables view would show up empty. There is a big grey bar at the top (looks like column header). Selecting a thread and back to the stackframe will populate the view. I will attach screen capture. Found this in the log: java.lang.NullPointerException at org.eclipse.debug.internal.ui.viewers.AsynchronousTreeViewer$5.paintControl(AsynchronousTreeViewer.java:634) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:83) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1070) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1094) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079) at org.eclipse.swt.widgets.Control.gtk_expose_event(Control.java:2012) at org.eclipse.swt.widgets.Composite.gtk_expose_event(Composite.java:576) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1415) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3787) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5242) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1128) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1424) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2833) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
Created attachment 40135 [details] screen shot
getVisibleColumns() can return null. This needs to be fixed for RC3. CC'ing Markus for approval.
*** Bug 139508 has been marked as a duplicate of this bug. ***
*** Bug 139548 has been marked as a duplicate of this bug. ***
+1 for 3.2 RC3.
*** Bug 139512 has been marked as a duplicate of this bug. ***
Created attachment 40258 [details] .
Patch fixes the NPE, but the view is still empty. It appears we're not getting the set data callbacks in this case.
Filed bug 140077 for missing callbacks.
Applied our patch to head to avoid NPE.
Created attachment 40310 [details] patch patch sets column width on each column to be 1 when the column is created. If all columns have 0 width we never get a paint event on GTK and initColumns is never called so our columns stay 0 pixels wide. This is a workaround to bug 140077
+1 to patch.
released patch to HEAD
Sam, please verify
verified.