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

NPE when sharing project under eclipse 3.1.1

From: Jason Grant <jas_at_logular.com>
Date: 2005-10-04 08:12:06 CEST

I've just upgraded to eclipse 3.1.1 with subclipse 0.9.34 under fedora
core 4, and when attempting to share my projects, I am getting the
exceptions shown below. I had no problems using 0.9.34 with with
eclipse 3.1.

To produce this fault, I do the following:

* removed the tigris directories under .metadata, after getting similar
exceptions to the ones shown below.

* installed 0.9.34

* Added a new repository location in the SVN perspective. (I had to
reset the perspective after the workspace was unable to restore the
view). I can browse the contents without a problem.

* Selected team->share-project in the plugin perspective. I had
previously disconnected all my projects from svn after getting similar
exceptions to those shown below.

* When I hit the finish button on the share wizard, the exception is
thrown, and the wizard keeps focus (i.e. doesn't close)

* The project displays a '?' decorator, instead of the normal gold drum.

* If I cancel the wizard and then try and use subclipse actions, a
variety of exceptions ensue, depending on what I try. Bascially, the
project is in an unstable state wrt to the svn ui.

So this fault effectively stops me from connecting any of my projects to
svn via the eclipse UI - it's quite a bad one.

Exception shown below. Thanks for any help.

!SESSION 2005-10-04 16:04:49.542
-----------------------------------------------
eclipse.buildId=M20050929-0840
java.version=1.4.2_09
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.tigris.subversion.subclipse.core 4 -6 2005-10-04 16:05:47.807
!MESSAGE An (un?)expected error has occured! Please report to
users@subclipse.tigris.org !
pathForLocation(/home/jas/code/java/photogrammetry/workspace/.metadata)
is null ! Url: null Projects:
[Lorg.eclipse.core.resources.IProject;@b3a5d1

!ENTRY org.tigris.subversion.subclipse.core 4 -6 2005-10-04 16:05:47.859
!MESSAGE The SVN synchronization information for
'com.logular.photo.common' has become corrupt or does not exist.

!ENTRY org.eclipse.ui.workbench 4 2 2005-10-04 16:05:47.861
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
        at
org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorateTextLabel(SVNLightweightDecorator.java:292)
        at
org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorate(SVNLightweightDecorator.java:254)
        at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:220)
        at org.eclipse.ui.internal.decorators.LightweightDecoratorManager
$LightweightRunnable.run(LightweightDecoratorManager.java:67)
        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.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:289)
        at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:275)
        at org.eclipse.ui.internal.decorators.DecorationScheduler
$1.run(DecorationScheduler.java:318)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

!ENTRY org.eclipse.ui 4 4 2005-10-04 16:05:47.866
!MESSAGE Exception in Decorator

!ENTRY org.eclipse.ui 4 4 2005-10-04 16:05:47.867
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
        at
org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorateTextLabel(SVNLightweightDecorator.java:292)
        at
org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorate(SVNLightweightDecorator.java:254)
        at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:220)
        at org.eclipse.ui.internal.decorators.LightweightDecoratorManager
$LightweightRunnable.run(LightweightDecoratorManager.java:67)
        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.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:289)
        at
org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:275)
        at org.eclipse.ui.internal.decorators.DecorationScheduler
$1.run(DecorationScheduler.java:318)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

!ENTRY org.tigris.subversion.subclipse.core 4 -6 2005-10-04 16:05:48.173
!MESSAGE The SVN synchronization information for
'com.logular.photo.common' has become corrupt or does not exist.

!ENTRY org.eclipse.ui 4 4 2005-10-04 16:05:48.175
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2005-10-04 16:05:48.175
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
        at
org.tigris.subversion.subclipse.core.commands.GetStatusCommand.run(GetStatusCommand.java:50)
        at
org.tigris.subversion.subclipse.ui.actions.CommitAction.getModifiedResources(CommitAction.java:132)
        at org.tigris.subversion.subclipse.ui.actions.CommitAction.access
$0(CommitAction.java:114)
        at org.tigris.subversion.subclipse.ui.actions.CommitAction
$1.run(CommitAction.java:75)
        at
org.tigris.subversion.subclipse.ui.repository.RepositoryManager.run(RepositoryManager.java:366)
        at org.tigris.subversion.subclipse.ui.actions.SVNAction
$1.run(SVNAction.java:228)
        at org.tigris.subversion.subclipse.ui.actions.SVNAction
$2.run(SVNAction.java:237)
        at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at
org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:234)
        at
org.tigris.subversion.subclipse.ui.actions.CommitAction.execute(CommitAction.java:71)
        at
org.tigris.subversion.subclipse.ui.actions.SVNAction.run(SVNAction.java:58)
        at
org.tigris.subversion.subclipse.ui.wizards.sharing.SharingWizard.performFinish(SharingWizard.java:283)
        at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:676)
        at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:349)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
        at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
        at org.eclipse.jface.window.Window.open(Window.java:787)
        at org.eclipse.team.internal.ui.actions.ConfigureProjectAction
$1.run(ConfigureProjectAction.java:55)
        at org.eclipse.team.internal.ui.actions.TeamAction
$2.run(TeamAction.java:234)
        at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
        at
org.eclipse.team.internal.ui.actions.TeamAction.run(TeamAction.java:231)
        at
org.eclipse.team.internal.ui.actions.ConfigureProjectAction.run(ConfigureProjectAction.java:47)
        at
org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:70)
        at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:236)
        at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
        at org.eclipse.jface.action.ActionContributionItem.access
$2(ActionContributionItem.java:488)
        at org.eclipse.jface.action.ActionContributionItem
$5.handleEvent(ActionContributionItem.java:400)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
        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(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        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)
Received on Tue Oct 4 16:12:06 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.