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 267636 - NoClassDefFoundError when trying to access Gnome keyring, to connect with Subversion repository
Summary: NoClassDefFoundError when trying to access Gnome keyring, to connect with Sub...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Keyring (show other bugs)
Version: 8.1
Hardware: HP Linux
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-19 00:31 UTC by Labalius
Modified: 2016-08-19 05:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file for my NetBeans installation, including the problem described (40.99 KB, text/x-log)
2016-08-19 00:31 UTC, Labalius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Labalius 2016-08-19 00:31:12 UTC
Created attachment 161711 [details]
Log file for my NetBeans installation, including the problem described

Since installing NetBeans 8.1 I find that I get the Master Password popup whenever I do something that requires access to my Subversion repository (look at the history of a java file in the IDE for example). After reading the FaqMasterPasswordDialog wiki page I added the line
-J-Dorg.netbeans.modules.keyring.level=FINE to netbeans.conf. The next time the Master Password popup appeared, I found this in the log:

FINE [org.netbeans.modules.keyring.gnome.GnomeProvider]
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
	at org.netbeans.modules.keyring.gnome.GnomeKeyringLibrary$LibFinder.load(Unknown Source)
…
WARNING [org.netbeans.modules.keyring.fallback.MasterPasswordEncryption]: Falling back to master password encryption

I have attached the complete messages.log file. My machine uses OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14) and OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode).

I note that some nearby log entries mention kwallet. I recently installed kopete but disabled kwallet by creating the file ~/.kde/share/config/kwalletrc and adding the following to it:

[Wallet]
Enabled=false

This follows advice I found at http://pclinuxos2007.blogspot.co.uk/2009/07/kde-3510-how-to-stop-kwallet-annoyance.html.