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 211664

Summary: [72cat] When the IDE is started a new UI always ask for user master password
Product: platform Reporter: Michel Graciano <hmichel>
Component: Options&SettingsAssignee: Michel Graciano <hmichel>
Status: VERIFIED DUPLICATE    
Severity: normal CC: jglick, mmirilovic
Priority: P2    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Master password UI
Thread dump
Updated message.log file

Description Michel Graciano 2012-04-24 19:24:48 UTC
[ BUILD # : b6edaeb964a6 ]
[ JDK VERSION : 1.7.3 ]

When the IDE is started a new UI always ask for user master password, it is
annoying.
Comment 1 Marian Mirilovic 2012-04-25 10:17:58 UTC
What do you mean by master password ?

I can imagine you installed NB as master, but even in that case userdir is created in userhome so once running as regular user it should not happen, so ?
Comment 2 Michel Graciano 2012-04-25 12:11:21 UTC
Created attachment 118741 [details]
Master password UI

I mean this UI. I don't know why yet, but it has started at the end of last week, most probably Friday. It is an userdir with imported settings from 7.1 with CVS module installed. I will try it with a clen userdir as soon as possible and see if it is reproducible in that scenario, if not I will send you my userdir.
Comment 3 Ondrej Vrabec 2012-04-26 11:58:58 UTC
Michel, attach a thread dump when the dialog is displayed, it should reveal the one asking for the password. Thanks
Comment 4 Michel Graciano 2012-04-26 12:13:32 UTC
Created attachment 118804 [details]
Thread dump

I hope it can help.
Comment 5 Marian Mirilovic 2012-04-26 12:16:01 UTC
(In reply to comment #4)
> Created attachment 118804 [details]
> Thread dump
> 
> I hope it can help.

Helped, definitely.
Comment 6 Marian Mirilovic 2012-04-26 12:16:25 UTC
Keyring ?
Comment 7 Jesse Glick 2012-04-26 18:04:47 UTC
There are two issues.

1. exceptions.ReporterResultTopComponent$URLDisplayer is looking for the nb.org password from the keyring at startup. I do not know why; it should only ask for this password if and when you report a bug. Reporter, please file separately: http://netbeans.org/bugzilla/enter_bug.cgi?product=ide&component=Report%20Exception

2. The GNOME Keyring is not being loaded. If you look in your log file you will see a warning to this effect, which will also tell you the option to enable further diagnostics. In the absence of a native keyring, the IDE falls back to protecting your passwords using a master password.
Comment 8 Michel Graciano 2012-04-27 12:35:28 UTC
Created attachment 118870 [details]
Updated message.log file

I am reopening this for evaluation, but it looks to me that the problem is the issue #211655, regarding JNA load problems.
Comment 9 Marian Mirilovic 2012-04-27 12:40:25 UTC
I think so .. we will fix it for NB 7.2 Beta

*** This bug has been marked as a duplicate of bug 211655 ***
Comment 10 Michel Graciano 2012-04-27 12:43:15 UTC
(In reply to comment #7)
> There are two issues.
> 
> 1. exceptions.ReporterResultTopComponent$URLDisplayer is looking for the nb.org
> password from the keyring at startup. I do not know why; it should only ask for
> this password if and when you report a bug. Reporter, please file separately:
> http://netbeans.org/bugzilla/enter_bug.cgi?product=ide&component=Report%20Exception
> 

@Jesse: Probably the exception reporter is running because the JNA exception, so I guess this problably answer your issue number 1 or should I still open the new issue?
Comment 11 Jesse Glick 2012-04-27 17:40:24 UTC
(In reply to comment #10)
> Probably the exception reporter is running because the JNA exception,
> so I guess this probably answer your issue number 1

Yes, this would make sense - I did not realize you had actually encountered a startup exception. That would of course explain the second issue as well - the GNOME Keyring integration relies on JNA.
Comment 12 Michel Graciano 2012-04-27 17:44:21 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > Probably the exception reporter is running because the JNA exception,
> > so I guess this probably answer your issue number 1
> 
> Yes, this would make sense - I did not realize you had actually encountered a
> startup exception. That would of course explain the second issue as well - the
> GNOME Keyring integration relies on JNA.

Yes, using the property to workaround the JNA issue, I can't see any problem and/or issues at my log file. Looks like all these issues was really related. Thanks for all your help.