[R] Need Help with StatET Error/Bug? on Ubuntu 8.10 amd64

Ken-JP kfmfe04 at gmail.com
Mon Apr 6 11:39:19 CEST 2009


Hi,

I posted this message on the StatET-user board last week, but it looks like
a ghost-town...

I have a bad feeling that there is some code in the plug-in which doesn't
work well with my environment, but if I am lucky, maybe other users have
worked around this problem somehow - I am hoping that my setup is the issue.  

Note: very similar StatET setups on 32-bit XP Pro and Vista run flawlessly.

Has anyone else run into this problem and/or found a way around it?

Ubuntu 8.10 intrepid amd64
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
R 2.8.1
Eclipse 3.4.2
StatET 0.7.2.b200812051430sw

---------------------------------------------------------------------------------------- 

When I start up the R Console, I get a java.lang.NullPointerException inside
Eclipse in the form of a popup warning.

Six icons right of the Console-tab fail to appear:

Cancel the current task
Terminate
Remove Launch
Remove All Terminated Launches
Clear Console
Scroll Lock

Every time the Console gets focus, I get the NullPointerError exception -
probably an attempt to refresh the icons.  After a while, the Eclipse IDE
loses focus and becomes unusable.

Looks like it's happening around:

at org.eclipse.ui.SubActionBars.updateActionBars(SubActionBars.java:610)

---------------------------------------------------------------------------------------- 

Session Data:
eclipse.buildId=M20090211-1700
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64

Exception Stack Trace:
java.lang.NullPointerException
	at
org.eclipse.jface.resource.URLImageDescriptor.getFilePath(URLImageDescriptor.java:138)
	at
org.eclipse.jface.resource.URLImageDescriptor.createImage(URLImageDescriptor.java:157)
	at
org.eclipse.jface.resource.ImageDescriptor.createResource(ImageDescriptor.java:165)
	at
org.eclipse.jface.resource.DeviceResourceManager.allocate(DeviceResourceManager.java:56)
	at
org.eclipse.jface.resource.AbstractResourceManager.create(AbstractResourceManager.java:88)
	at
org.eclipse.jface.resource.LocalResourceManager.allocate(LocalResourceManager.java:82)
	at
org.eclipse.jface.resource.AbstractResourceManager.create(AbstractResourceManager.java:88)
	at
org.eclipse.jface.resource.ResourceManager.createImage(ResourceManager.java:172)
	at
de.walware.eclipsecommons.ui.HandlerContributionItem.updateIcons(HandlerContributionItem.java:648)
	at
de.walware.eclipsecommons.ui.HandlerContributionItem.fill(HandlerContributionItem.java:383)
	at
org.eclipse.jface.action.SubContributionItem.fill(SubContributionItem.java:77)
	at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:349)
	at org.eclipse.ui.internal.ViewPane.updateActionBars(ViewPane.java:449)
	at
org.eclipse.ui.internal.ViewActionBars.updateActionBars(ViewActionBars.java:59)
	at org.eclipse.ui.SubActionBars.updateActionBars(SubActionBars.java:610)
	at
de.walware.statet.nico.ui.console.NIConsolePage$6.handleEvent(NIConsolePage.java:599)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1182)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1163)
	at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:3284)
	at org.eclipse.swt.widgets.Control.gtk_event_after(Control.java:2684)
	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1538)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4506)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4099)
	at org.eclipse.swt.internal.gtk.OS._gtk_widget_grab_focus(Native Method)
	at org.eclipse.swt.internal.gtk.OS.gtk_widget_grab_focus(OS.java:9106)
	at org.eclipse.swt.widgets.Control.forceFocus(Control.java:2107)
	at org.eclipse.swt.widgets.Composite.forceFocus(Composite.java:494)
	at org.eclipse.swt.widgets.Control.forceFocus(Control.java:2101)
	at org.eclipse.swt.widgets.Control.setFocus(Control.java:3646)
	at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:1254)
	at
org.eclipse.swt.widgets.Composite.gtk_button_press_event(Composite.java:656)
	at org.eclipse.swt.widgets.Canvas.gtk_button_press_event(Canvas.java:155)
	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1531)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4506)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4099)
	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:5792)
	at org.eclipse.swt.widgets.Display.eventProc(Display.java:1177)
	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:1550)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3031)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
	at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	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:386)
	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)

-- 
View this message in context: http://www.nabble.com/Need-Help-with-StatET-Error-Bug--on-Ubuntu-8.10-amd64-tp22905352p22905352.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list