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

NPE when trying to share project existing project

From: Øyvind Harboe <oyvind.harboe_at_zylin.com>
Date: 2005-08-09 09:17:19 CEST

To reproduce the NPE below, I did the following:

1. Team->Disconnect on an existing project shared to a subversion
   repository. Delete all SVN meta information locally.
2. Team->Share on same project.
3. => NPE

Thread [Worker-30] (Suspended (exception NullPointerException))
        LocalFolder(LocalResource).getWorkspaceRoot() line: 183
        StatusAndInfoCommand.<init>(ISVNLocalResource, boolean, boolean,
boolean) line: 55
        SVNWorkspaceSubscriber.findChanges(IResource, int, IProgressMonitor)
line: 232
        SVNWorkspaceSubscriber.refresh(IResource, int, IProgressMonitor) line:
213
        SVNWorkspaceSubscriber.refresh(IResource[], int, IProgressMonitor)
line: 191
        RefreshSubscriberJob.run(IProgressMonitor) line: 341
        Worker.run() line: 76

-----
the actual problem starts here as isMarkedAsUnshared(project) is true
-----

                // Do a quick check to see it the project is known to be
unshared.
                // This is done to avoid accessing the persistent
property store
                if (isMarkedAsUnshared(project))
                    return null;

------

I started debugging javaSVN + subclipse after encountering a different
NPE in javaSVN(which will be fixed in the next release 0.92?) and after
a bit of mucking about I think I've ended up with something that should
be fresh from javaSVN + subclipse repositories as of yesterday.

What more useful and relevant information can I provide?

It is readily reproduceable here, so I can probably get more information
from a couple of debug sessions if I know what to look for.

- using javaSVN
- Windows XP

-- 
Øyvind Harboe
http://www.zylin.com
Received on Tue Aug 9 17:17:19 2005

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.