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.
I was attempting to create some CMP Entity beans (against AS 8.1, Pointbase, if that matters) and the wizard hung or deadlocked or something when connecting to the DB. The connection code is executed in the AWT thread (bad!) so the whole IDE is dead now. Thread dump attached.
Created attachment 27112 [details] thread dump
It's not a deadlock by definition. There is a JDBC call in the AWT thread which makes it wait for input from a network socket. Should not make JDBC calls in the AWT thread.
Fixed. The JDBC calls are now made in a request processor and a progress dialog is displayed. RCS file: /cvs/db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/Bundle.properties,v done Checking in db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/Bundle.properties; /cvs/db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/Bundle.properties,v <-- Bundle.properties initial revision: 1.1 done Checking in db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/DBSchemaTablesPanel.form; /cvs/db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/DBSchemaTablesPanel.form,v <-- DBSchemaTablesPanel.form new revision: 1.2; previous revision: 1.1 done Checking in db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/DBSchemaTablesPanel.java; /cvs/db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/DBSchemaTablesPanel.java,v <-- DBSchemaTablesPanel.java new revision: 1.5; previous revision: 1.4 done RCS file: /cvs/db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/ProgressPanel.form,v done Checking in db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/ProgressPanel.form; /cvs/db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/ProgressPanel.form,v <-- ProgressPanel.form initial revision: 1.1 done RCS file: /cvs/db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/ProgressPanel.java,v done Checking in db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/ProgressPanel.java; /cvs/db/model/src/org/netbeans/modules/dbschema/jdbcimpl/wizard/ProgressPanel.java,v <-- ProgressPanel.java initial revision: 1.1 done Checking in j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/ejb/wizard/cmp/MultipleEntitySetupPanel.java; /cvs/j2ee/ejbcore/src/org/netbeans/modules/j2ee/ejbcore/ejb/wizard/cmp/MultipleEntitySetupPanel.java,v <-- MultipleEntitySetupPanel.java new revision: 1.7; previous revision: 1.6 done