[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: Folke Lemaitre <folke_at_landc.be>
Date: 2006-03-28 17:12:41 CEST

Mark Phippard wrote:
> 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
>
>
Thanks for the quick response.
Seems like you're right about the subclipse:tags property, so the
problem is probably unrelated to the svn:external definitions.
This is how my layout looks like:

Local repository:
    /
    /cfg
    /.project
    /src -> external defined on / pointing to some remote repo
    /lib -> external defined on / pointing to some remote repo

The src directory has indeed a subclipse:tags property set. the contents is:
12247,tessi-search-1.0,/branches/tessi-search-1.0,branch
12584,tessi-search-2.7.0-experimental-tests,/branches/tessi-search-2.7.0-experimental-tests,branch
12764,tessi-search-2.7.0-experimental,/branches/tessi-search-2.7.0-experimental,branch
13111,POS-integration,/branches/POS-integration,branch
13257,tessi-search-2.5.6-b,/branches/tessi-search-2.5.6-b,branch
13261,tessi-search-2.5.5-b,/branches/tessi-search-2.5.5-b,branch
13537,linkfactory-aligner,/branches/linkfactory-aligner,branch
13543,AdsRollBack1,/branches/AdsRollBack1,branch
843,LCGraphReader beta 0,/tags/LCGraphReader beta 0,tag
860,FastType 2.0,/tags/FastType 2.0,tag
983,Beta 0,/tags/Beta 0,tag
988,V1,/tags/V1,tag
1196,FastType 1.0,/tags/FastType 1.0,tag
1201,FastType 2.1,/tags/FastType 2.1,tag
1939,database structure 1,/tags/database structure 1,tag
2082,Full doc intersections,/tags/Full doc intersections,tag
2456,20020627 - Working,/tags/20020627 - Working,tag
2469,20020628,/tags/20020628,tag
2606,Before full intersection calc,/tags/Before full intersection calc,tag
3299,Beta 1,/tags/Beta 1,tag
3300,Beta 2,/tags/Beta 2,tag
3343,New Segmenter - Code not split,/tags/New Segmenter - Code not split,tag
3485,Tessi - Eclipsys 1 - 20021218,/tags/Tessi - Eclipsys 1 - 20021218,tag
5360,4.2,/tags/4.2,tag
5461,V5.1,/tags/V5.1,tag
5599,4.0,/tags/4.0,tag
5693,4.1,/tags/4.1,tag
5932,V5.4,/tags/V5.4,tag
5933,FC V5.4,/tags/FC V5.4,tag
6498,4.4,/tags/4.4,tag
7077,LinkFactory Classic,/tags/LinkFactory Classic,tag
7638,1.0.0,/tags/1.0.0,tag
7717,1.0.0 baseline,/tags/1.0.0 baseline,tag
8297,4.5,/tags/4.5,tag
8300,5.0,/tags/5.0,tag
8385,Permutation Scheme 1,/tags/Permutation Scheme 1,tag
8439,CError return values only,/tags/CError return values only,tag
8788,Before Frames,/tags/Before Frames,tag
8998,2.0.0,/tags/2.0.0,tag
9058,2.1.0pre1,/tags/2.1.0pre1,tag
9178,version 2.1.2,/tags/version 2.1.2,tag
9457,tessi-search-2.2.1,/tags/tessi-search-2.2.1,tag
9581,2.3.0,/tags/2.3.0,tag
9757,2.4.0-pre1,/tags/2.4.0-pre1,tag
9909,2.4.0-pre2,/tags/2.4.0-pre2,tag
10051,2.4.0-pre3,/tags/2.4.0-pre3,tag
10058,2.4.0-pre4,/tags/2.4.0-pre4,tag
10104,2.4.0-pre5,/tags/2.4.0-pre5,tag
10198,stable fixed split at 20,/tags/stable fixed split at 20,tag
10434,2.4.0-b1,/tags/2.4.0-b1,tag
10469,2.4.0-b5,/tags/2.4.0-b5,tag
10523,2.4.0-b8,/tags/2.4.0-b8,tag
10598,2.4.0-final,/tags/2.4.0-final,tag
10613,2.4.1,/tags/2.4.1,tag
10616,tessisearch 28052005,/tags/tessisearch 28052005,tag
10693,2.4.1-pallianet,/tags/2.4.1-pallianet,tag
10718,2.4.2-pre1,/tags/2.4.2-pre1,tag
10742,2.4.2-pre2,/tags/2.4.2-pre2,tag
10788,2.4.2,/tags/2.4.2,tag
10808,basic database metadata support,/tags/basic database metadata
support,tag
10852,2.4.3-pre1,/tags/2.4.3-pre1,tag
10954,2.4.3-pre2,/tags/2.4.3-pre2,tag
10983,2.5.0-pre1,/tags/2.5.0-pre1,tag
10996,2.5.0-pre2,/tags/2.5.0-pre2,tag
11037,2.5.0,/tags/2.5.0,tag
11090,2.5.1-pre1,/tags/2.5.1-pre1,tag
11094,tessisearch 25072005 15h51,/tags/tessisearch 25072005 15h51,tag
11097,2.5.1-pre3,/tags/2.5.1-pre3,tag
11108,tessisearch with debug 26072005,/tags/tessisearch with debug
26072005,tag
11135,2.5.1-pre4,/tags/2.5.1-pre4,tag
11147,2.5.1,/tags/2.5.1,tag
11192,tessisearch 05082005,/tags/tessisearch 05082005,tag
11227,2.5.5,/tags/2.5.5,tag
11228,tessi-search-2.5.5,/tags/tessi-search-2.5.5,tag
11413,2.6.0-pre1,/tags/2.6.0-pre1,tag
11469,beforeAddingDependentOfSingleWo,/tags/beforeAddingDependentOfSingleWo,tag
11471,after adding single word depend,/tags/after adding single word
depend,tag
11619,1.0,/tags/1.0,tag
11635,0.7,/tags/0.7,tag
11641,2.5.6,/tags/2.5.6,tag
11755,0.2.0,/tags/0.2.0,tag
11849,0.2.2,/tags/0.2.2,tag
11913,tessisearch 10102005,/tags/tessisearch 10102005,tag
11982,0.2.5,/tags/0.2.5,tag
11988,tessisearch 12102005,/tags/tessisearch 12102005,tag
12156,Some version ,/tags/Some version ,tag
12175,vss-migration,/tags/vss-migration,tag
12388,tessi-search,/tags/tessi-search,tag
12503,tessi-search-2.5.8,/tags/tessi-search-2.5.8,tag
12513,FastCode,/tags/FastCode,tag
12522,ADS,/tags/ADS,tag
12703,tessi-search-2.5.8-real,/tags/tessi-search-2.5.8-real,tag
13015,tessi-search-2.5.6-b6,/tags/tessi-search-2.5.6-b6,tag
13104,tessi-search-2.5.9,/tags/tessi-search-2.5.9,tag
13120,tessi-search-2.5.6-b7,/tags/tessi-search-2.5.6-b7,tag
13229,tessi-search-2.5.11,/tags/tessi-search-2.5.11,tag
13268,tessi-search-2.5.6-b8,/tags/tessi-search-2.5.6-b8,tag
13331,annotation-tool-javaold-0.2.9,/tags/annotation-tool-javaold-0.2.9,tag
13332,annotation-tool-javanew-0.2.9,/tags/annotation-tool-javanew-0.2.9,tag

Thanks,
Folke

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Mar 28 17:13:00 2006

This is an archived mail posted to the Subclipse Users mailing list.