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 182976 - KWallet issue - IDE seems to have lost track of Subversion
Summary: KWallet issue - IDE seems to have lost track of Subversion
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on: 186196
Blocks:
  Show dependency tree
 
Reported: 2010-03-27 00:01 UTC by tbrunhoff
Modified: 2010-12-27 16:33 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Trace during a subversion update (18.59 KB, text/plain)
2010-06-18 15:37 UTC, scharrier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tbrunhoff 2010-03-27 00:01:14 UTC
I think there are two problems: one has to do with kwallet and the other with subversion access. Over the past several days, 6.9m1 worked well with subversion, showing diffs, etc. Then today it stopped showing any svn status at all. If I restart the ide I see entries in the log like:

...
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: file:/home/toddb/src/src2/omneon/shared/utils/ took: 137 ms (New or modified files: 0, Deleted files: 0)
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 19 source roots took: 7956 ms (New or modified files: 0, Deleted files: 0)
INFO [org.netbeans.modules.subversion]: Finished indexing svn cache with 4744 entries. Elapsed time: 254 ms.

Whereas it should have found many modified files. At the same time, there was some interaction with kwallet that made no sense. If I remove the files in ~/.kde/share/apps/kwallet/ and restart the ide, kwallet asks for a new wallet password, which it accepts, and then continues to ask for the password as if each request by the ide for access to a file spawns a request to kwallet. Not sure.

My next best hope is to reinstall 6.9m1 and hope it is a corrupt file in ~/.netbeans/6.9m1.
Comment 1 tbrunhoff 2010-03-27 00:14:00 UTC
New news: apparently the ide is off scanning svn properties, meaning that it does have access to svn, but it is exceptionally slow. Its been at it now for 15 minutes, and I can run 'svn status' in about 30 seconds.

Why is it so slow? And if I close the ide while it is still scanning does it give up? Is that why some of my files show no svn information?
Comment 2 Ondrej Vrabec 2010-03-27 07:40:06 UTC
> INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete
> indexing of 19 source roots took: 7956 ms (New or modified files: 0, Deleted
> files: 0)
These are not subversion logs, these have nothing to do with subversion.

> At the same time, there was some interaction with kwallet that made no sense
Probably Keyring API, which's probably trying to acquire password to your repository from kwallet. Since early builds of 6.9 we do not persist passwords ourselves but leave this responsibility upon new Keyring API.

About the slowness, could you make several thread dumps while the scanning is in progress? http://wiki.netbeans.org/GenerateThreadDump
Comment 3 Ondrej Vrabec 2010-05-13 11:06:31 UTC
Any update? Could you attach those thread dumps while the IDE is busy with subversion scanning?
Comment 4 scharrier 2010-06-18 15:37:34 UTC
Created attachment 100216 [details]
Trace during a subversion update

We are 2 devs with exactly the same subversion problem, on a Linux Fedora : we can't commit or update anything in our repository, with 6.9.

Everything works well with 6.8.
Comment 5 Ondrej Vrabec 2010-06-21 07:01:40 UTC
Stuck in org.netbeans.modules.keyring.kde.KWalletProvider
Comment 6 scharrier 2010-06-21 07:16:36 UTC
Is there something we can hack in order to make commit/update work with the actual version ?
Comment 7 Jesse Glick 2010-06-21 15:00:32 UTC
I don't do anything with KWallet.
Comment 8 Jaroslav Tulach 2010-06-22 08:49:51 UTC
Jesse can for sure suggest how to disable KWallet support and use the fallback one.

You can also generate some logs -J-Dorg.netbeans.modules.keyring.kde.level=ALL
Comment 9 Jaroslav Tulach 2010-06-22 08:51:55 UTC
Quote from bug 186196:
> Users: you can always pass -J-Dnetbeans.keyring.no.native=true 
> to use the fallback master password encryption.
Comment 10 Yulia Novozhilova 2010-12-13 14:28:20 UTC
I suppose this bug is closely related (may be even a duplicate) to https://netbeans.org/bugzilla/show_bug.cgi?id=186196. I'm now working on the fix for 186196. Adding this to "Depends on" field.
Comment 11 Yulia Novozhilova 2010-12-27 16:33:10 UTC
http://hg.netbeans.org/main/rev/da68a140b5e1
This should resolve the issue. Please feel free to reopen the bug in case if the issue is reproducible on the latest dev builds.