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.
1. Create new Java project 2. Invoke New File wizard 3. Choose 'Swing GUI Forms - Master/Detail Sample Form' and press 'Next >' 4. Change name to e.g. "MyMasterDetail" and press 'Next >' 5. Choose sample database connection and leave 'CUSTOMER' as Database Table. Press 'Next >' 6. In section "Create Detail Area as": check "Table" option 7. Press "Finish" button Netbeans hangs at this point. See attached logfile and thread dump. Product Version: NetBeans IDE 7.3 Beta (Build 201209232010) Java: 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) No workaround that I know of and this is regression. -> P1
Created attachment 125026 [details] Log and Thread Dump
Created attachment 125027 [details] Thread Dump Only
*** Bug 219128 has been marked as a duplicate of this bug. ***
100% reproducible in NB 7.3 Beta on Ubuntu 12.04 / JDK 7u10 b09 64b
Evaluating ...
Reproducible on Win 7, JDK 7u7.
If I read the thread dump correctly the problem is in: org.netbeans.modules.progress.ui.AbstractWindowRunner.start(AbstractWindowRunner.java:179) in AWT EDT. I am not sure what it is supposed to do but opening dialog and from that another dialog at org.netbeans.modules.progress.ui.AbstractWindowRunner$3.run(AbstractWindowRunner.java:333) might cause the trouble. I am trying to assign to the owner of that component to have look.
I think this is a typo in private JDialog createModalProgressDialog(...) on lines 329-...: if (EventQueue.isDispatchThread()) { EventQueue.invokeLater(new Runnable() { @Override public void run() { result.setVisible(true); } }); } else { result.setVisible(true); } IMHO it should read if (!EventQueue.isDispatchThread()) .... but I have no idea what Tim wanted to achieve by the whole changeset.
Hmm, didn't help. Leaving the problem to the experts ...
trunk: http://hg.netbeans.org/core-main/rev/89f21acb1087 release73_beta: http://hg.netbeans.org/releases/rev/5a5cbcb6f5f3
Integrated into 'releases', will be available in build *201210010205* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/5a5cbcb6f5f3 User: Antonin Nebuzelsky <anebuzelsky@netbeans.org> Log: #219131: Creating Master/Detail Form Hangs During Creation
Integrated into 'main-golden', will be available in build *201210010929* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/89f21acb1087 User: Antonin Nebuzelsky <anebuzelsky@netbeans.org> Log: #219131: Creating Master/Detail Form Hangs During Creation