This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 216977 - Repository UUID doesn't match expected UUID
Summary: Repository UUID doesn't match expected UUID
Status: RESOLVED INCOMPLETE
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Subversion (show other bugs)
Version: 7.2
Hardware: Macintosh (x86) Mac OS X
: P1 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-16 14:56 UTC by nghianja
Modified: 2012-08-22 09:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NetBeans 7.2 messages log (50.14 KB, application/octet-stream)
2012-08-22 07:02 UTC, nghianja
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nghianja 2012-08-16 14:56:27 UTC
After adding a new svn checkout, any updates done on old svn checkouts from same server but different logins/trunks will result in the following error:

org.apache.subversion.javahl.ClientException: E170009: Repository UUID '6273807f-1b75-40b9-beab-73ce2f6d0e6d' doesn't match expected UUID '1f95d0d0-8ef1-4c5a-8924-db3d3658982b'
Comment 1 Ondrej Vrabec 2012-08-16 15:15:56 UTC
Attach the messages log.
And paste the output of 'svn info' command ran inside the folder with the problematic checkout. Does 'svn update' on commandline works?
Comment 2 nghianja 2012-08-18 09:57:53 UTC
Sorry for the slow reply. I am not proficient with svn so I can't locate the message log.

'svn info' gave me the following:
svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.

Note:
I am using the SvnKit client as defaulted in Netbeans 7.2. My observation, after trying a few settings, is that the project I am trying to update seems to always use the latest connection added and not the previous connection that is tied to it. This resulted in only the latest project able to access the svn correctly.
Comment 3 Ondrej Vrabec 2012-08-18 18:49:40 UTC
The original message '6273807f-1b75-40b9-beab-73ce2f6d0e6d' doesn't match expected UUID
'1f95d0d0-8ef1-4c5a-8924-db3d3658982b' means that your local working copy matches the repository with id 1f95d0d0-8ef1-4c5a-8924-db3d3658982b. But that repository does not exist - the repository residing at the URL you originally checked out has probably been replaced. Simply do a new fresh checkout and everything should work again.
If you can do the update on the old working copy with another subversion client (as commandline client), reopen.
Comment 4 Ondrej Vrabec 2012-08-18 19:11:28 UTC
few hints:
1) how to attach the messages.log: http://wiki.netbeans.org/FaqLogMessagesFile
2) you should upgrade your commandline client to 1.7 version. You're still on 1.6, that's why you're getting:
> svn: The path '.' appears to be part of a Subversion 1.7 or greater
3) then you should go to the failing checkout and run:
a) svn info .
b) svn info URL_OF_THE_REPOSITORY
and compare the repository UUIDs
Comment 5 nghianja 2012-08-22 07:02:30 UTC
Created attachment 123379 [details]
NetBeans 7.2 messages log

Attached is my messages log in case someone is interested in. From it you can see that a svn update of an older project 'kopitiam' encountered error while a svn update of the latest project 'biipmi' is okay.

Problem will reverse if I checkout 'kopitiam' as the latest and 'biipmi' will encounter error.
Comment 6 Ondrej Vrabec 2012-08-22 08:01:10 UTC
Does your checkouts use svn externals? Is there a folder in your local checkout that points to an external repository?
Comment 7 Ondrej Vrabec 2012-08-22 08:15:42 UTC
the two repository UUIDs: 6273807f-1b75-40b9-beab-73ce2f6d0e6d' and '1f95d0d0-8ef1-4c5a-8924-db3d3658982b'
Do they belong to different repositories you're both using? Because you mentioned in the original post that:
> on old svn checkouts from same server but different logins/trunks
how should i understand that? That you have a single repository and you checkout two projects from it or that you have actually more than one repository on the server? In case of two repos, what is their URL? And what is the local folder for both the checkouts on disk?
Comment 8 Ondrej Vrabec 2012-08-22 08:21:05 UTC
Also please download and install the latest dev build from http://bits.netbeans.org/download/trunk/nightly/latest/
We upgraded the svnkit client to 1.7.5 in dev builds, maybe your issue is already fixed. If not, attach the messages log from the dev build, it will at least contain updated stacktraces. Thanks
Comment 9 nghianja 2012-08-22 09:37:15 UTC
Hi,

I am using the SvnKit included, not external ones. The server has multiple repositories and the two checkouts are of two different repos. The local folders of the two checkouts are separate.

Anyway, I see whether I can install the patch or wait for an update.

Thank you very much for your response and help.