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.
Build: NetBeans IDE 7.3.1 (Build 201306052037) VM: OpenJDK Client VM, 23.7-b01, OpenJDK Runtime Environment, 1.7.0_25-b30 OS: Linux User Comments: GUEST: cant connect to db Zeboton: I use: * Ubuntu 13.04. * PostgreSQL 9.2. * Java version "1.7.0_25" * * OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2) * * OpenJDK Server VM (build 23.7-b01, mixed mode) * NetBeans 7.3.1 downloaded from official site. I tried to connect to PostgreSQL server in local network using Services > Data Bases > New Connection ( name of menu items may be differ because I have Russian localization for NetBean ). I filled in a form on step Connection Settings, checked connection ( it worked fine ), selected public schema on next step and gave short name to connection on the last step. After it I clicked on button OK ( Ready ) and got this exception. Connection was not created. GUEST: Trying to save new PostgressSQL connection GUEST: create h2 db GUEST: Tried to connect to a MySQL database on non-admin account. MySQL database was installed on admin account with correct rights. MySQL database was tested and runs correctly on admin account. Perform the same Netbeans command on admin acount makes no problem. Must be priviliege problem on non admin account (user account). GUEST: open h2 db GUEST: creating a H2 connection GUEST: Conect via Services MYSQL Server -> select database -> right click connect GUEST: opening H2 database GUEST: cqnt connect to mysql Stacktrace: java.lang.IllegalArgumentException: Called DataObject.find on null at org.openide.loaders.DataObject.find(DataObject.java:545) at org.openide.loaders.DataFolder.findFolder(DataFolder.java:540) at org.netbeans.modules.db.explorer.DatabaseConnectionConvertor.create(DatabaseConnectionConvertor.java:255) at org.netbeans.modules.db.explorer.ConnectionList.add(ConnectionList.java:143) at org.netbeans.modules.db.explorer.dlg.AddConnectionWizard.openWizard(AddConnectionWizard.java:134) at org.netbeans.modules.db.explorer.dlg.AddConnectionWizard.showWizard(AddConnectionWizard.java:115)
Created attachment 141025 [details] stacktrace
I'm closing this as incomplete - I can't reproduce this error (openjdk 8, netbeans 8.0.1). I tried removing the Databases directory, the connections directory - even at runtime I could not simulate the problem. Without reproducible steps to reproduce it will be nearly impossible to fix. If further information can be gathered please attach here and reopen. Thank you!
*** Bug 245066 has been marked as a duplicate of this bug. ***
Now I have NetBeans version 8.0.1 and this bug does not reproducing. Thanks for your work!