[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

JFace nullPointer after "show in resource history"

From: Ben Wolfe <bwolfe_at_regenstrief.org>
Date: 2005-09-15 16:55:24 CEST

I'm not sure if this is a problem with subclipse, or something more
eclipsebased, but it only happens after:
In Navigator perspective --> right click on *root* of project and select
Team->Show in Resource History.
A JFace nullpointer occurs:
java.lang.NullPointerException
at
org.tigris.subversion.subclipse.ui.history.HistoryTableProvider$HistoryLabelProvider.getColumnText(HistoryTableProvider.java:96)
at org.eclipse.jface.viewers.TableViewer.doUpdateItem(TableViewer.java:472)
at
org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:434)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
at
org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:1763)
at org.eclipse.jface.viewers.TableViewer.createItem(TableViewer.java:344)
at
org.eclipse.jface.viewers.TableViewer.internalRefreshAll(TableViewer.java:850)
at
org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:748)
at
org.eclipse.jface.viewers.TableViewer.internalRefresh(TableViewer.java:737)
at
org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1264)
at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1201)
at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1262)
at
org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1221)
at
org.tigris.subversion.subclipse.ui.history.HistoryView$3.run(HistoryView.java:1243)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

I have upgraded to the latest subclipse and am running Eclipse 3.1

After getting the error, you can "clear" it by restarting eclipse. If
you don't, you get the same error with every subversion function you
attempt.

Thanks for a great product!
Ben
Received on Fri Sep 16 00:55:24 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.