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.
Product Version: NetBeans IDE Dev (Build 20080901062808) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Description: ============ start wizard for Java Desktop Application project with db connection. On the 3th step, choose db. Then all available db tables should be listed in combo "Database Table" => combo remains empty and wizard is not able to finish. No workaround exist => P1
I am sorry, I am not able to reproduce this issue. Are you able to reproduce it reliably? Please, try to find out more details about this problem. It definitely is not as general as you describe it e.g. it doesn't occur on all platforms, OSs, JDKs, DBs etc. Thank you in advance.
it is reproducible on Ubuntu/XP win. used DB - derby. tested with jdk 1.6.0_10 on both platforms
OK, thanks. It seems to be reproducible in the very latest development builds only - it works fine in 080825, but it doesn't work in 20080901. I was able to reproduce it on both JDK 5 and JDK 6.
Something wrong with db support in last dev version. I'm not able to see created tables inside new created db, clicking on Tables node throws exception (exc1). Right mouse click inside text area of SQL Command window throws another exception (exc2). After restart of IDE I can see tables in db explorer, but I'm not able to use connection to this connection witt JDA DB project wizard. Maybe form module is innocent. What about reassigning this issue to db guys? Dev (Build 200808311401), Java: 1.6.0_05, Apache Derby - 10.2.2.0 exc1: org.apache.derby.client.am.SqlException: Žádné aktuální připojení. at org.apache.derby.client.am.DatabaseMetaData.checkForClosedConnectionX(Unknown Source) Caused: java.sql.SQLTransientConnectionException: Žádné aktuální připojení. at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source) at org.apache.derby.client.am.DatabaseMetaData.checkForClosedConnection(Unknown Source) ... exc2: java.lang.NullPointerException at org.openide.awt.Mnemonics.findMnemonicAmpersand(Mnemonics.java:169) at org.openide.awt.AlwaysEnabledAction.extractCommonAttribute(AlwaysEnabledAction.java:91) at org.openide.awt.AlwaysEnabledAction.getValue(AlwaysEnabledAction.java:78) at javax.swing.AbstractButton.setMnemonicFromAction(AbstractButton.java:1236) at javax.swing.AbstractButton.configurePropertiesFromAction(AbstractButton.java:1140) ...
Created attachment 68792 [details] exc1-and-exc2.txt
Oups, this issue is already assigned to db component. Sorry. :)
I could not reproduce in a self-compiled build with sources from about September 1, 16:00 CEST. Moreover, the second exception in jvagner's stack trace was fixed in issue 145751, but it seems the fix didn't make it into the 20080901062808 build. Could you please try to reproduce in a self-compiled build or tomorrow's daily build? Thanks.
Weird, suddenly I can reproduce now.
Seems caused by the change to o.n.m.db.explorer.DatabaseConnection in #9e49de57eafe, so reverting that part of the changeset in #fb495781989a. Sorry, I just can't do any better at the moment.
Fix pushed to main.
*** Issue 145834 has been marked as a duplicate of this issue. ***
Integrated into 'main-golden', will be available in build *200809020201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/fb495781989a User: Andrei Badea <abadea@netbeans.org> Log: #145801: DB tables are not listed on the 3th step of wizard for JDA creation.
tables are correctly listed in wizard now. verified on Product Version: NetBeans IDE Dev (Build 20080902042312) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b13 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)
*** Issue 145869 has been marked as a duplicate of this issue. ***
*** Issue 145780 has been marked as a duplicate of this issue. ***