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 199564 - NB (seems to) freeze while connecting with db explorer / cause&solution found!
Summary: NB (seems to) freeze while connecting with db explorer / cause&solution found!
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 7.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-20 20:53 UTC by megamaniac
Modified: 2011-11-16 16:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description megamaniac 2011-06-20 20:53:03 UTC
Dear netbeans developer team!

It took me several hours and a lot of configuration try outs to solve the following problem:

Problem:
NB seems to freeze while connecting to DB using the NB database explorer (only, not from code). No dialog, no popup, no log entries! Just freeze!

System:
Produktversion: NetBeans IDE 7.0 (Build 201105291501)
Java: 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02
System: Windows 7 Version 6.1 läuft auf amd64; Cp1252; de_DE (nb) All DBs, but using JavaDB/ Apache Derby.

Solution:
NB started the process 'qdbus.exe' of GnuPG (http://www.gnupg.org/). Kill the process and NB steps on DB authentication, connection node, etc. My general suggestion for Windows user is the Process Explorer http://technet.microsoft.com/de-de/sysinternals/bb896653 for exploring these kind of problems.

Suggestion:
NB should react with logging, timeout or better preventing running blocking processes.

Kind regards
Arne Kostulski
Comment 1 Jiri Rechtacek 2011-10-14 08:01:41 UTC
Hello Arne, thanks for your report. It seems a problem is in reading a stored password from native storage of password (using Keyring API). As you suggested we should get over blocking reading password. Are you still able to reproduce it in NB7.0.1? Or NetBeans 7.1Beta? I fixed something related after NB7.0 and it's part of NB7.0.1. Could you try it again? If the problem persists, generate full thread stack (pressing Clrl-\) from java console and attach here, please. Thank you