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

Re: [Subclipse-users] JUnit Plugin Test in Eclipse - NullPointerException and SVNClientException when performing file operations

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 12 Mar 2008 10:44:05 -0400

On Wed, Mar 12, 2008 at 10:10 AM, Patrick Könemann <pk_at_imm.dtu.dk> wrote:
> Hi everyone,
>
> I get a SVNClientException and a NullPointerException if I copy a versioned file in my workspace using the following code:
>
> IPath path = new Path("/testProject/folder1/test.txt");
> IPath path2 = new Path("/testProject/folder1/test2.txt");
> IFile file = ResourcesPlugin.getWorkspace().getRoot().getFile(path);
> file.copy(path2, false, null);
>
> The SVNClientException is the first exception, the NullPointerException is thrown afterwards:
>
> org.tigris.subversion.svnclientadapter.SVNClientException: No subversion client interface found.

I would guess that both problems are linked to this. It looks like
the runtime is not loading all plugins or otherwise has differences
from a "normal" runtime.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-03-12 15:44: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.