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 080731) VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26 OS: Windows XP, 5.1, x86 User Comments: 1. Add PostgreSQL. 2. Open SQL Editor. 3. Press Ctrl+Space. Result: NullPointerException arises. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:135) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:113) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:101) at org.netbeans.modules.db.metadata.model.DBConnMetadataModel.runReadAction(DBConnMetadataModel.java:91) at org.netbeans.modules.db.metadata.model.api.MetadataModel.runReadAction(MetadataModel.java:63) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.query(SQLCompletionQuery.java:100)
Created attachment 66207 [details] stacktrace
ffc57e769afa
Verified with build 080801.
Integrated into 'main-golden', available in build *200808021401* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/ffc57e769afa User: Andrei Badea <abadea@netbeans.org> Log: #142457: NullPointerException at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery