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 202064 - New project wizard cannot be opened in tests
Summary: New project wizard cannot be opened in tests
Status: VERIFIED DUPLICATE of bug 202077
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 7.1
Hardware: All All
: P1 normal (vote)
Assignee: Jesse Glick
URL:
Keywords: REGRESSION, T9Y, TEST
Depends on:
Blocks:
 
Reported: 2011-09-13 12:44 UTC by Jiri Skrivanek
Modified: 2011-09-21 10:06 UTC (History)
3 users (show)

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 Jiri Skrivanek 2011-09-13 12:44:55 UTC
Might be related to bug 201817. Now there are two additional issues:

1) New Project/File wizard dialog cannot be closed by top-right red cross button and on windows also with Alt+F4

2) New Project/File wizard dialog doesn't open anynmore if previously closed by setVisible(false). To reproduce:

- open java.kit module
- open "Functional Test Packages|IDEValidation.java"
- toggle breakpoint at line 477
- debug file (Ctrl+Shift+F5)
- after debugger stops at breakpoint try to open new project wizard but it is not possible

Product Version: NetBeans IDE Dev (Build 201109120600)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Comment 1 Marian Mirilovic 2011-09-20 08:09:57 UTC
This is a stopper for all our automated tests and for Beta as well.
Comment 2 Jesse Glick 2011-09-20 12:24:23 UTC
#1 is a duplicate of bug #202077.

#2 sounds like a bug in the test; setting visible=false bypasses the code which handles the lifecycle of the wizard. (Why is not just simulating a click on the Cancel button, for example?) But it may also be a duplicate of bug #202077, TBD.
Comment 3 Jiri Skrivanek 2011-09-20 12:38:24 UTC
setVisible(false) works for all types of JDialog. We don't need to inspect content of a dialog.
Comment 4 Jesse Glick 2011-09-20 13:17:50 UTC

*** This bug has been marked as a duplicate of bug 202077 ***