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 Dev (Build 200902231810) VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04 OS: Linux, 2.6.25.20-0.1-pae, i386 User Comments: GUEST: Has tried to create a new connection to database on Informix Dynamic Server 7.31 UD8, using Informix JDBC driver 3.50.JC1DE, provided by IBM. Used connection parameters: user: informix password: informix connection string: jdbc:informix-sqli://<host name>:<port>:INFORMIXSERVER=<Informix server name>; krotow: Created a new connection to database on Informix Dynamic Server 7.31 UD8, using Informix JDBC driver 3.50.JC1DE, provided by IBM. Used connection parameters: user: informix password: informix connection string: jdbc:informix-sqli://<host name>:<port>:INFORMIXSERVER=<Informix server name>; Connection entry was made by a "New Connection" option under "Databases" tree entry in NB Services tab. Informix driver class name is "com.informix.jdbc.IfxDriver", driver JAR file is <Ifx JDBC path>/lib/ifxjdbc.jar Connection to database was made successfully (no errors and database tree was opened successfully). Error occured, when I tried to open database entry (any of them). After error database entry was empty. I guess, this may be because of uncaught Informix JDBC exception - wrong password, incorrect DB locale or so on. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.db.metadata.model.jdbc.JDBCCatalog.createSchemas(JDBCCatalog.java:125) at org.netbeans.modules.db.metadata.model.jdbc.JDBCCatalog.initSchemas(JDBCCatalog.java:169) at org.netbeans.modules.db.metadata.model.jdbc.JDBCCatalog.getSyntheticSchema(JDBCCatalog.java:91) at org.netbeans.modules.db.metadata.model.api.Catalog.getSyntheticSchema(Catalog.java:91) at org.netbeans.modules.db.explorer.node.SchemaNodeProvider$1.run(SchemaNodeProvider.java:102) at org.netbeans.modules.db.explorer.node.SchemaNodeProvider$1.run(SchemaNodeProvider.java:98)
Created attachment 77558 [details] stacktrace
Successfully opened database entry, when user name and password was been appended to jdbc connection string: jdbc:informix-sqli://<host name>:<port>:INFORMIXSERVER=<Ifx server name>;user=informix;password=informix Seems, this is an uncaught Informix exception, when wrong connection parameters is used.
NB6.7 was released already - http://www.netbeans.org/community/releases/67/ Postpone fixing this issue on the next release.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=146916
Created attachment 91445 [details] stacktrace
core-main/rev/82c6a5151a81