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

Re: [Subclipse-users] NPE with subclipse 1.8.0

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 19 Oct 2011 16:04:29 -0400

It seems like it is probably a bug in SVN API. Are there any
"features" of SVN you use like file externals that maybe we need to
check?

Looking at the code, this happens pretty deep in some stuff where
nulls would not really be expected. So it might be something where
SVN gave us an object but is missing some data such as the URL for the
item. I have seen some conversations on their forums that might be
similar.

I have been using 1.7.0 even pre-release and not run into any problems
so maybe you are just using some features of SVN we have not tested
and which have bugs.

If you have any ideas we could test.

Even better would be if you are checking out an open-source project
that we could also check out and see the problem ourselves.

On Wed, Oct 19, 2011 at 3:48 PM, Tim Eck <teck_at_terracotta.org> wrote:
> This is with a clean checkout (not an upgraded one). Seems to happen for all of my projects.
>
> eclipse.buildId=M20110909-1335
> java.version=1.6.0_29 (64 bit)
> os=64bit windows7
>
> Any thoughts?
>
> Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
>
> java.lang.NullPointerException
>        at org.tigris.subversion.subclipse.core.resources.LocalResource.getUrl(LocalResource.java:296)
>        at org.tigris.subversion.subclipse.core.resources.ResourceStatus.<init>(ResourceStatus.java:112)
>        at org.tigris.subversion.subclipse.core.resources.LocalResourceStatus.<init>(LocalResourceStatus.java:76)
>        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.resourcesListeners.FileModificationManager.refreshStatus(FileModificationManager.java:194)
>        at org.tigris.subversion.subclipse.core.resourcesListeners.FileModificationManager.resourceChanged(FileModificationManager.java:139)
>        at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
>        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>        at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
>        at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
>        at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:381)
>        at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
>        at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>
> ------------------------------------------------------
> http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2858918
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
>

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2858923
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2011-10-19 22:04:34 CEST

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.