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

NPE when starting up eclipse

From: Panagiotis Korros <panagiotis.korros_at_gmail.com>
Date: 2005-01-24 22:10:10 CET

Hi to all,

I get the following NPE's when I start eclipse. When I use the
recursive status updater:

java.lang.NullPointerException
at org.tigris.subversion.subclipse.core.status.RecursiveStatusUpdateStrategy.updateStatus(RecursiveStatusUpdateStrategy.java:56)
at org.tigris.subversion.subclipse.core.status.StatusCacheManager.getStatus(StatusCacheManager.java:101)
at org.tigris.subversion.subclipse.core.resources.LocalResource.getStatus(LocalResource.java:157)
at org.tigris.subversion.subclipse.core.resources.LocalResource.hasRemote(LocalResource.java:150)
at org.tigris.subversion.subclipse.core.SVNTeamProvider.setProject(SVNTeamProvider.java:78)
at org.eclipse.team.core.RepositoryProvider.mapNewProvider(RepositoryProvider.java:176)
at org.eclipse.team.core.RepositoryProvider.mapExistingProvider(RepositoryProvider.java:205)
at org.eclipse.team.core.RepositoryProvider.getProvider(RepositoryProvider.java:409)
at org.eclipse.team.internal.core.TeamHookDispatcher.getProvider(TeamHookDispatcher.java:71)
at org.eclipse.team.internal.core.TeamHookDispatcher.getRuleFactory(TeamHookDispatcher.java:79)
at org.eclipse.core.internal.resources.Rules.factoryFor(Rules.java:86)
at org.eclipse.core.internal.resources.Rules.refreshRule(Rules.java:142)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1222)
at org.eclipse.core.internal.refresh.RefreshJob.runInWorkspace(RefreshJob.java:98)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

Or this when I use the non recursive one:
java.lang.NullPointerException
at org.tigris.subversion.subclipse.core.status.NonRecursiveStatusUpdateStrategy.updateStatus(NonRecursiveStatusUpdateStrategy.java:48)
at org.tigris.subversion.subclipse.core.status.StatusCacheManager.getStatus(StatusCacheManager.java:101)
at org.tigris.subversion.subclipse.core.resources.LocalResource.getStatus(LocalResource.java:157)
at org.tigris.subversion.subclipse.core.resources.LocalResource.hasRemote(LocalResource.java:150)
at org.tigris.subversion.subclipse.core.SVNTeamProvider.setProject(SVNTeamProvider.java:78)
at org.eclipse.team.core.RepositoryProvider.mapNewProvider(RepositoryProvider.java:176)
at org.eclipse.team.core.RepositoryProvider.mapExistingProvider(RepositoryProvider.java:205)
at org.eclipse.team.core.RepositoryProvider.getProvider(RepositoryProvider.java:409)
at org.eclipse.team.internal.core.TeamHookDispatcher.getProvider(TeamHookDispatcher.java:71)
at org.eclipse.team.internal.core.TeamHookDispatcher.getRuleFactory(TeamHookDispatcher.java:79)
at org.eclipse.core.internal.resources.Rules.factoryFor(Rules.java:86)
at org.eclipse.core.internal.resources.Rules.refreshRule(Rules.java:142)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1222)
at org.eclipse.core.internal.refresh.RefreshJob.runInWorkspace(RefreshJob.java:98)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

This is happening when start eclipse after I use the subversion
command line tool or tortoisesvn to upate my workspace. The NPEs
happen in the refresh thread (I have the 'refresh workspace
automatically' option enabled).

I don't know what is causing this behaviour. Does anyone have any ideas?

-- 
Take back the web http://www.getfirefox.com
Received on Tue Jan 25 08:10:10 2005

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

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