Bug 401898 - NPE when synchronizing workspace
Summary: NPE when synchronizing workspace
Status: RESOLVED FIXED
Alias: None
Product: Subversive
Classification: Technology
Component: Connectors (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Alexander Gurov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 404426 414215 414216 433530 433531 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-27 08:51 EST by Jesper Eskilson CLA
Modified: 2014-04-30 04:26 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesper Eskilson CLA 2013-02-27 08:51:24 EST
Version:	1.0.0.I20121228-1700

SVN Client:	org.eclipse.team.svn.connector.svnkit17 3.0.0.I20130122-1700 SVN/1.7.8 SVNKit/1.7.8 (http://svnkit.com/) r9538_v20130107_2001

JVM Properties:
{java.runtime.name=OpenJDK Runtime Environment, java.runtime.version=1.6.0_24-b24, java.vendor=Sun Microsystems Inc., line.separator= , java.class.version=50.0, os.name=Linux, os.arch=amd64, user.country=US, os.version=3.2.0-29-generic, eclipse.commands=-os linux -ws gtk -arch x86_64 -showsplash /home/jesperes/Eclipse/eclipse-SDK-4.3M5a-linux-gtk-x86_64/eclipse//plugins/org.eclipse.platform_4.3.0.v201302041400/splash.bmp -launcher /home/jesperes/Eclipse/eclipse-SDK-4.3M5a-linux-gtk-x86_64/eclipse/eclipse -name Eclipse --launcher.library /home/jesperes/Eclipse/eclipse-SDK-4.3M5a-linux-gtk-x86_64/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20130117-173747/eclipse_1504.so -startup /home/jesperes/Eclipse/eclipse-SDK-4.3M5a-linux-gtk-x86_64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130125-144918.jar --launcher.appendVmargs -exitdata 68009 -vm /usr/bin/java , java.version=1.6.0_24, osgi.framework.version=3.9.0.v20130128-202223, file.separator=/, java.vm.info=mixed mode, path.separator=:, user.timezone=Europe/Stockholm, user.language=en, java.vm.name=OpenJDK 64-Bit Server VM, file.encoding=UTF-8}

java.lang.NullPointerException
java.lang.NullPointerException
	at org.eclipse.team.svn.core.utility.SVNUtility.decodeURL(SVNUtility.java:688)
	at org.eclipse.team.svn.core.SVNTeamProvider.uploadRepositoryResource(SVNTeamProvider.java:266)
	at org.eclipse.team.svn.core.SVNTeamProvider.connectToProject(SVNTeamProvider.java:183)
	at org.eclipse.team.svn.core.SVNTeamProvider.getRepositoryResource(SVNTeamProvider.java:83)
	at org.eclipse.team.svn.core.svnstorage.SVNRemoteStorage.asRepositoryResource(SVNRemoteStorage.java:477)
	at org.eclipse.team.svn.core.operation.local.RemoteStatusOperation$2.run(RemoteStatusOperation.java:162)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doSubTask(ProgressMonitorUtility.java:118)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:154)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:149)
	at org.eclipse.team.svn.core.operation.local.RemoteStatusOperation.runImpl(RemoteStatusOperation.java:160)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:81)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.operation.CompositeOperation.runImpl(CompositeOperation.java:95)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:81)
	at org.eclipse.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:39)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:90)
	at org.eclipse.team.svn.core.synchronize.AbstractSVNSubscriber.findChanges(AbstractSVNSubscriber.java:371)
	at org.eclipse.team.svn.core.synchronize.AbstractSVNSubscriber$UpdateStatusOperation$2.run(AbstractSVNSubscriber.java:406)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doSubTask(ProgressMonitorUtility.java:118)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:154)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.protectStep(AbstractActionOperation.java:149)
	at org.eclipse.team.svn.core.synchronize.AbstractSVNSubscriber$UpdateStatusOperation.runImpl(AbstractSVNSubscriber.java:404)
	at org.eclipse.team.svn.core.operation.AbstractActionOperation.run(AbstractActionOperation.java:81)
	at org.eclipse.team.svn.core.operation.LoggedOperation.run(LoggedOperation.java:39)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTask(ProgressMonitorUtility.java:104)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:90)
	at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskExternal(ProgressMonitorUtility.java:81)
	at org.eclipse.team.svn.core.synchronize.AbstractSVNSubscriber.refresh(AbstractSVNSubscriber.java:240)
	at org.eclipse.team.svn.core.synchronize.UpdateSubscriber.refresh(UpdateSubscriber.java:73)
	at org.eclipse.team.core.subscribers.Subscriber.refresh(Subscriber.java:466)
	at org.eclipse.team.core.subscribers.SubscriberMergeContext.refresh(SubscriberMergeContext.java:85)
	at org.eclipse.team.core.mapping.provider.SynchronizationContext.refresh(SynchronizationContext.java:109)
	at org.eclipse.team.internal.ui.synchronize.RefreshModelParticipantJob.doRefresh(RefreshModelParticipantJob.java:69)
	at org.eclipse.team.internal.ui.synchronize.RefreshParticipantJob.run(RefreshParticipantJob.java:309)
	at org.eclipse.team.internal.ui.synchronize.RefreshModelParticipantJob.run(RefreshModelParticipantJob.java:117)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Comment 1 Jesper Eskilson CLA 2013-02-27 08:56:07 EST
This is really, really, really, annoying. A "problem occurred" dialog box is displayed each time a resource in the workspace is modified. The workspace becomes more or less unusable.
Comment 2 Jesper Eskilson CLA 2013-02-27 09:04:59 EST
Additional info: I had previously made a copy of a project which was under SVN control. There were some inconsistencies in this copy which may contribute to the problem.
Comment 3 Alexander Gurov CLA 2013-03-03 02:52:50 EST
Fixed.

P.S.
It seems to me like it is the SVN support library fault (or the working copy is damaged somehow), since there is no reason for returned URL to be null. But anyway, I'll try to get it another way in that case. And if there is no helping the situation at least instead of crash dialog a more reasonable message should be displayed.
Comment 4 Alexander Gurov CLA 2013-03-31 04:14:41 EDT
*** Bug 404426 has been marked as a duplicate of this bug. ***
Comment 5 Alexander Gurov CLA 2013-08-04 14:23:16 EDT
*** Bug 414215 has been marked as a duplicate of this bug. ***
Comment 6 Alexander Gurov CLA 2013-08-04 14:23:30 EDT
*** Bug 414216 has been marked as a duplicate of this bug. ***
Comment 7 Alexander Gurov CLA 2014-04-30 04:26:14 EDT
*** Bug 433531 has been marked as a duplicate of this bug. ***
Comment 8 Alexander Gurov CLA 2014-04-30 04:26:42 EDT
*** Bug 433530 has been marked as a duplicate of this bug. ***