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

Re: null pointer exception during "auto sharing" of a project

From: Mark Phippard <markp_at_softlanding.com>
Date: 2005-10-06 15:20:37 CEST

news <news@sea.gmane.org> wrote on 10/05/2005 08:14:13 PM:

> On one of the dev boxes running Mandrake 10.2, Sun Java 1.5.0_05 and
> eclipse 3.1 w/ the latest subclipse (0.9.34) This error occurs when
> opening any of the projects (which are controlled by SVN)
>
> java.lang.NullPointerException
> at org.tigris.subversion.subclipse.core.repo.SVNRepositories.
> getRepository(SVNRepositories.java:150)
> at org.tigris.subversion.subclipse.core.resources.SVNWorkspaceRoot.
> setSharing(SVNWorkspaceRoot.java:168)
> at
org.tigris.subversion.subclipse.core.SVNTeamProviderType$AutoShareJob.
> autoconnectSVNProject(SVNTeamProviderType.java:125)
> at
org.tigris.subversion.subclipse.core.SVNTeamProviderType$AutoShareJob.
> run(SVNTeamProviderType.java:103)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
>
> Also when trying to do a manual Team/Share an error occurs complaining
> that the syntax for a repository is protocol://host[:port]/location

What is being shown for the URL? If you run the svn info command, what
does it show? I suspect that this is the cause of both problems. It is
possibly a problem in our URL parsing. I recall the code looking for
specific protocols. I wonder if you are using one of the custom protocols
you can define when using tunnels and we do not support that in our
parsing.

So the question is, what is your URL in your WC?

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Thu Oct 6 23:20:37 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.