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

Re: [Subclipse-users] Exception when using svn:externals

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-03-28 16:38:47 CEST

Folke Lemaitre <folke@landc.be> wrote on 03/28/2006 03:28:15 AM:

> I recently created a new Eclipse project that contains an external
> definition. Updating and most other things work as expected, but each
> time I try to "View Resource History" of an item belonging to one of the

> external files, I get the following error (Error Log):
>
> An internal error occurred during: "Fetching SVN revision history".
>
> Stack trace:
> java.lang.NullPointerException
> at
> org.tigris.subversion.subclipse.core.history.AliasManager.

Does your project have the subclipse:tags property set somewhere? If so,
could you describe where?

The second line below is the one with the error.

property = svnResource.getSvnProperty("subclipse:tags"); //$NON-NLS-1$
if (property != null && property.getValue() != null) getAliases(aliases,
property.getValue(), svnResource.getUrl().toString());

My guess would be that svnResource.getUrl() must be returning a null. I
am not sure why that would be the case, but it should not even be getting
there unless the property is set. So if you can explain your structure it
might help me reproduce the problem and find the right fix.

Thanks

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Mar 28 16:39:33 2006

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.