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

RE: [Subclipse-users] NPEs

From: Stephen Elsemore <selsemore_at_collab.net>
Date: Fri, 4 Nov 2011 07:51:03 -0700

Based on the stacktrace, it looks like the error is happening while Subclipse is attempting to update the status cache after an update that resulted in a tree conflict of some kind. The conflict descriptor apparently has a null srcLeftVersion, which is unexpected and leads to the NPE. I’ve tried to recreate the problem with several different tree conflict scenarios, but have been unable. Can you use the command line to provide a description of the tree conflict? $ svn status should show it.

 

Thanks

 

From: lemmi42 [mailto:lemmi42_at_googlemail.com]
Sent: Friday, November 04, 2011 3:38 AM
To: users_at_subclipse.tigris.org
Subject: [Subclipse-users] NPEs

 

Hi all,

 

I recently upgraded to Subclipse 1.8.2 and converted all of my projects to the new WC-layout.

Now I get two exception all the times:

 

 

 

eclipse.buildId=M20110909-1335

java.version=1.6.0_29

java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB

Framework arguments: -showlocation

Command-line arguments: -os win32 -ws win32 -arch x86 -showlocation

 

Error

Fri Nov 04 10:52:32 CET 2011

An internal error occurred during: "SVN Update".

 

java.lang.NullPointerException

            at org.tigris.subversion.subclipse.core.resources.ResourceStatus.getBytesInto(ResourceStatus.java:483)

            at org.tigris.subversion.subclipse.core.resources.LocalResourceStatus.getBytesInto(LocalResourceStatus.java:144)

            at org.tigris.subversion.subclipse.core.resources.ResourceStatus.getBytes(ResourceStatus.java:436)

            at org.tigris.subversion.subclipse.core.status.SynchronizerSyncInfoCache.addStatus(SynchronizerSyncInfoCache.java:73)

            at org.tigris.subversion.subclipse.core.status.StatusCacheManager.updateCache(StatusCacheManager.java:120)

            at org.tigris.subversion.subclipse.core.status.StatusCacheManager.updateCache(StatusCacheManager.java:96)

            at org.tigris.subversion.subclipse.core.status.StatusCacheManager.refreshStatus(StatusCacheManager.java:269)

            at org.tigris.subversion.subclipse.core.client.OperationManager.endOperation(OperationManager.java:133)

            at org.tigris.subversion.subclipse.core.commands.UpdateResourcesCommand.run(UpdateResourcesCommand.java:98)

            at org.tigris.subversion.subclipse.ui.operations.UpdateOperation.execute(UpdateOperation.java:81)

            at org.tigris.subversion.subclipse.ui.operations.RepositoryProviderOperation.execute(RepositoryProviderOperation.java:71)

            at org.tigris.subversion.subclipse.ui.operations.SVNOperation.run(SVNOperation.java:90)

            at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)

            at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)

            at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)

            at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

 

 

 

 

 

 

eclipse.buildId=M20110909-1335

java.version=1.6.0_29

java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB

Framework arguments: -showlocation

Command-line arguments: -os win32 -ws win32 -arch x86 -showlocation

 

Error

Fri Nov 04 11:23:59 CET 2011

An internal error occurred during: "Synchronizing".

 

java.lang.NullPointerException

            at org.tigris.subversion.subclipse.core.resources.ResourceStatus.getBytesInto(ResourceStatus.java:483)

            at org.tigris.subversion.subclipse.core.resources.RemoteResourceStatus.getBytesInto(RemoteResourceStatus.java:156)

            at org.tigris.subversion.subclipse.core.resources.ResourceStatus.getBytes(ResourceStatus.java:436)

            at org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.findChanges(SVNWorkspaceSubscriber.java:274)

            at org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.refresh(SVNWorkspaceSubscriber.java:231)

            at org.tigris.subversion.subclipse.core.sync.SVNWorkspaceSubscriber.refresh(SVNWorkspaceSubscriber.java:205)

            at org.eclipse.team.internal.ui.synchronize.RefreshSubscriberParticipantJob.doRefresh(RefreshSubscriberParticipantJob.java:116)

            at org.eclipse.team.internal.ui.synchronize.RefreshParticipantJob.run(RefreshParticipantJob.java:309)

            at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

 

 

 

 

The synchronisation stops immediately and the "Synchronize"-view won't show all changes.

A fast fix would be great.

 

TIA,

lemmi

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2873590

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2011-11-04 15:51:13 CET

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.