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

[Subclipse-users] NullPointerException when Synchronizing project which uses svn:externals

From: B. Smith-Mannschott <benpsm_at_gmail.com>
Date: 2006-05-04 18:46:47 CEST

1. I have a project that looks like this:

my_project/
  externals/foo
  externals/bar
  externals/baz
  .classpath
  .project

2. The subdirectories of externals are created through declarations in
the property svn:externals of the directory my_project.

3. When I do a "Team >> Synchronize With Repository" on said project
I'm rewarded with a lovely NullPointerException.

4. If I perform "Team >> Synchronize With Repository" on something not
including externals (in the same project or in a different project)
*no* exception is thrown.

5. Update and Commit work normaly.

Looks like a defect to me. Has anyone seen something similar?

// Ben

* Stack Trace of Exception Follows

!ENTRY org.eclipse.core.runtime 4 2 May 04, 2006 18:31:15.578
!MESSAGE An internal error occurred during: "Synchronizing SVN (/commons_libs)".
!STACK 0
java.lang.NullPointerException
        at org.tigris.subversion.subclipse.core.resources.RemoteResourceStatus.updateFromInfo(RemoteResourceStatus.java:109)
        at org.tigris.subversion.subclipse.core.client.StatusAndInfoCommand.ensureStatusContainsRemoteData(StatusAndInfoCommand.java:137)
        at org.tigris.subversion.subclipse.core.client.StatusAndInfoCommand.collectRemoteStatuses(StatusAndInfoCommand.java:99)
        at org.tigris.subversion.subclipse.core.client.StatusAndInfoCommand.execute(StatusAndInfoCommand.java:55)
        at org.tigris.subversion.subclipse.core.client.StatusAndInfoCommand.run(StatusAndInfoCommand.java:64)
        at org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.findChanges(SVNWorkspaceSubscriber.java:243)
        at org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.refresh(SVNWorkspaceSubscriber.java:223)
        at org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.refresh(SVNWorkspaceSubscriber.java:200)
        at org.eclipse.team.internal.ui.synchronize.RefreshSubscriberJob.run(Unknown
Source)
        at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
Received on Thu May 4 18:46:59 2006

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.