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.
Summary: | org.netbeans.modules.keyring.kde.KWalletProvider$KwalletException: error while trying to access KWallet, during save | ||
---|---|---|---|
Product: | platform | Reporter: | tbrunhoff <tbrunhoff> |
Component: | Options&Settings | Assignee: | Yulia Novozhilova <ynov> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | artisan, asmotrich, dvujicic, hyzoom, jtulach, kjozic, ovrabec, paolosca, pragalathan, rost, sebglon, tejas.nevrekar, troodon |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 169073 |
Bug Depends on: | |||
Bug Blocks: | 182976 | ||
Attachments: |
stacktrace
stacktrace message log with kwallet logs stacktrace diff for KWalletProvider |
Description
tbrunhoff
2010-05-14 23:52:09 UTC
Created attachment 99035 [details]
stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=169073 could, please, anybody who is able to reproduce run netbeans with -J-Dorg.netbeans.modules.keyring.kde.KWalletProvider.level=-1 and attach the messages.log file? thanks please not that you password might be listed in the log file when running with the mentioned switch ... almost all reports are from the same user and seem to be related to the call from at org.netbeans.modules.bugzilla.api.NBBugzillaUtils.saveNBPassword(NBBugzillaUtils.java:118) at org.netbeans.modules.bugzilla.exceptionreporter.NBBugzillaAccessorImpl.saveNBPassword(NBBugzillaAccessorImpl.java:82) unfortunately, it is not obvious what could be the cause. org.netbeans.modules.keyring.kde.KWalletProvider.save(KWalletProvider.java:93) throws the exception in case runCommand() returns -1, but no additional information what went wrong is logged Please evaluate Created attachment 99610 [details]
stacktrace
I submitted a slowness report entered username and password and selected 'Remember password' in the exception reporter. Then clicked on Send.
Created attachment 99613 [details]
message log with kwallet logs
this might help a bit, i started ide with -J-Dorg.netbeans.modules.keyring.kde.KWalletProvider.level=-1
*** Bug 186900 has been marked as a duplicate of this bug. *** Does anyone have a workaround for this bug? A way to disable the KWallet integration? It makes NB6.9 completely unusable under KDE since it seems that NB is trying to store all database passwords, etc. in KWallet. I cannot believe that 6.9 was released with such a bad bug - the KWallet functionality should rather have been disabled. I don't maintain the contributed KWallet integration; perhaps a KDE user can fix it. If this bug is severe, adjust the priority according to the published priority guidelines. Add the 6.9.1_CANDIDATE if a reasonably safe fix can be found and made in trunk. Users: you can always pass -J-Dnetbeans.keyring.no.native=true to use the fallback master password encryption. It seems that since the KDE module is not supported at the same level as the rest of the IDE, and as mentioned before the IDE is VERY broken when used under KDE, the KWallet integration should be taken out of the standard distribution (and maybe added as an optional) . A regular user (who happens to use KDE) shouldn't have to dig out the switch to disable the native password store integration in order to have a usable IDE. Note that this issue is also present in the 7.x builds as well . Created attachment 103519 [details]
stacktrace
Tried filing a bug. My netbeans account password is stored in KDE wallet. Dont know whether this bug is relevant to Netbeans
I am able to reproduce this bug in case if I don't enter a password for KDE Wallet in the "KDE Wallet Service" window. In this case time out happens and KWallet doesn't work via qdbus anymore. I filed a bug to kwalletmanager: https://bugs.kde.org/show_bug.cgi?id=259229 I also corrected KWalletProvider implementation (diff is attached). Now it acting the fallowing way: - it falls back to master password encryption in case if provider is not chosen yet and time out happenes during first attempt to open KWallet (ex. Help -> Report Issue..) - it just stops trying to open/save/read KWallet in case if wallet was closed/deleted (from outside of NB) after KWalletProvider had been chosen and time out happened when user tried to open it again via NB. Comments are welcome. If there is no objection I commit the corrected version in a week. Created attachment 104014 [details]
diff for KWalletProvider
This is a patch to fix KWalletProvider. Comments are welcome. Will be
integrated in a week.
Integrated into 'main-golden', will be available in build *201012290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/da68a140b5e1 User: Yulia Novozhilova <ynov@netbeans.org> Log: #186196: org.netbeans.modules.keyring.kde.KWalletProvider$KwalletException: error while trying to access KWallet, during save |