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 232422 - empty information window on fail to connect
Summary: empty information window on fail to connect
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 7.4
Hardware: Macintosh (x86) Mac OS X
: P4 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-09 07:55 UTC by ionuion
Modified: 2014-01-21 10:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot with the empty window (67.74 KB, image/png)
2013-07-09 07:55 UTC, ionuion
Details
Thread dump right after the empty window is displayed (26.98 KB, text/plain)
2013-08-08 21:01 UTC, ionuion
Details
Thread dump right after the empty window is displayed (23.83 KB, text/plain)
2013-08-08 21:20 UTC, ionuion
Details
requested log file (64.76 KB, application/octet-stream)
2013-08-15 03:12 UTC, ionuion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ionuion 2013-07-09 07:55:13 UTC
Created attachment 136853 [details]
screenshot with the empty window

Prerequisites:
Make sure there is no Java DB open on port 1527

Steps to reproduce
1) Go to Services window
2) expand the Databases nod
3) right click on the jdbc:derby://localhost:1527/sample [app on APP] node
4) click Connect

Actual result:
Empty window with title Information displayed (please see attached screenshot)

Expected:
either no Information window or some content in that window
Comment 1 Jaroslav Havlin 2013-07-11 08:37:51 UTC
I'm sorry, I cannot reproduce the bug.
Could you please create a thread dump while the empty dialog is displayed and attach it to this issue (see http://wiki.netbeans.org/GenerateThreadDump)?
Please also attach your IDE Log.
Thank you.
Comment 2 Jaroslav Havlin 2013-07-24 14:26:53 UTC
I still cannot reproduce the bug. Closing for now. Please reopen if you can provide additional information. Thank you.
Comment 3 ionuion 2013-08-08 21:01:33 UTC
Created attachment 138462 [details]
Thread dump right after the empty window is displayed
Comment 4 ionuion 2013-08-08 21:20:30 UTC
Created attachment 138463 [details]
Thread dump right after the empty window is displayed
Comment 5 ionuion 2013-08-08 21:36:43 UTC
Sorry for the delayed response.

Environment:
Product Version: NetBeans IDE Dev (Build 201308072300)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Mac OS X version 10.7.5 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/ionuion/Library/Application Support/NetBeans/dev
Cache directory: /Users/ionuion/Library/Caches/NetBeans/dev

Updated steps to reproduce.
1. start NetBeans IDE afresh.
2. Go to Services tab, expand the Databases node, right click on 'jdbc:derby://localhost:1527/sample. Click 'Connect...'
RESULT: two windows are displayed: Error on top of Connect
3. Close the two windows (click OK for former, Cancel for latter)
4. Repeat step 2

Expected result:
Same as after step 2.

Actual result:
Aside from the Error and Connect window, a Information window with no content is displayed on top of the former two. That Information window cannot be closed. 

Note: On next repetitions of steps 2 and 3 the issue is reproducible every time.
The Information windows accumulate and are only closed when the IDE is closed.

The requested thread dump attached.

Thank you Jaroslav
Comment 6 Libor Fischmeistr 2013-08-13 12:28:00 UTC
Trying to reproduce according to described steps but I am unsuccessful.
Maybe I do something wrong. In Comment 1 you wrote:
> Make sure there is no Java DB open on port 1527
But how to do it? When I stop the database, it's always automatically started when I try to connect "jdbc:derby://localhost:1527/sample [app on APP]"

Please provide IDE log (http://wiki.netbeans.org/FaqLogMessagesFile)

Thanks
Comment 7 ionuion 2013-08-15 03:12:21 UTC
Created attachment 138712 [details]
requested log file
Comment 8 Libor Fischmeistr 2013-08-15 07:51:49 UTC
(In reply to ionuion from comment #7)
> Created attachment 138712 [details]
> requested log file

Thank you for that log. I can now reproduce the exception from the log but still the second window does not appear to me.

Decreasing priority because it does not seem as a usual case.

I will welcome any useful hints how to reproduce it.

Could you please try to reproduce on the latest daily build with clean userdir?

Thanks