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 200812180001) VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03 OS: Windows Vista, 6.0, x86 Stacktrace: java.lang.NullPointerException at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:162) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:147) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:134) at org.netbeans.modules.db.metadata.model.JDBCConnMetadataModel.runReadAction(JDBCConnMetadataModel.java:94) at org.netbeans.modules.db.metadata.model.api.MetadataModel.runReadAction(MetadataModel.java:89) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:134)
Created attachment 75355 [details] stacktrace
Build: NetBeans IDE Dev (Build 200901050201) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.5, i386 User Comments: editing the sql command throws Exception. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:162) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:147) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:134) at org.netbeans.modules.db.metadata.model.JDBCConnMetadataModel.runReadAction(JDBCConnMetadataModel.java:94) at org.netbeans.modules.db.metadata.model.api.MetadataModel.runReadAction(MetadataModel.java:89) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:134)
Created attachment 75450 [details] stacktrace
Build: NetBeans IDE Dev (Build 200901151401) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Linux, 2.6.27-9-generic, i386 User Comments: Stacktrace: java.lang.NullPointerException at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:162) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:147) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:134) at org.netbeans.modules.db.metadata.model.JDBCConnMetadataModel.runReadAction(JDBCConnMetadataModel.java:94) at org.netbeans.modules.db.metadata.model.api.MetadataModel.runReadAction(MetadataModel.java:89) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:134)
Created attachment 76266 [details] stacktrace
Build: NetBeans IDE Dev (Build 200901201401) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.6, i386 User Comments: In a SQL command. Typed a ; and did auto-complete. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:162) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:147) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:134) at org.netbeans.modules.db.metadata.model.JDBCConnMetadataModel.runReadAction(JDBCConnMetadataModel.java:94) at org.netbeans.modules.db.metadata.model.api.MetadataModel.runReadAction(MetadataModel.java:89) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:134)
Created attachment 76468 [details] stacktrace
Reassigned to new owner.
This issue has already 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=144750
Build: NetBeans IDE Dev (Build Parsing_API-191-on-090302) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02 OS: Linux, 2.6.27-11-generic, amd64 User Comments: I was trying to invoke code completion in sql file and when I got too mad about it I deleted what I wrote ... then I got this exception Stacktrace: java.lang.NullPointerException at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:162) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:147) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:134) at org.netbeans.modules.db.metadata.model.JDBCConnMetadataModel.runReadAction(JDBCConnMetadataModel.java:94) at org.netbeans.modules.db.metadata.model.api.MetadataModel.runReadAction(MetadataModel.java:89) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:134)
Created attachment 77649 [details] stacktrace
Build: NetBeans IDE Dev (Build Parsing_API-191-on-090302) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02 OS: Linux, 2.6.27-11-generic, amd64 User Comments: wiriting into sql file and invoking code completion Stacktrace: java.lang.NullPointerException at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:162) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:147) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:134) at org.netbeans.modules.db.metadata.model.JDBCConnMetadataModel.runReadAction(JDBCConnMetadataModel.java:94) at org.netbeans.modules.db.metadata.model.api.MetadataModel.runReadAction(MetadataModel.java:89) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:134)
Created attachment 77654 [details] stacktrace
Build: NetBeans IDE Dev (Build 090313) VM: Java HotSpot(TM) 64-Bit Server VM, 1.5.0_16-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b02 OS: Linux, 2.6.27-11-generic, amd64 User Comments: - create java db (name: test, user: test, pwd: test) - open SQL editor for this db - invoke code completion in SQL editor Stacktrace: java.lang.NullPointerException at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:165) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:150) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery$1.run(SQLCompletionQuery.java:137) at org.netbeans.modules.db.metadata.model.JDBCConnMetadataModel.runReadAction(JDBCConnMetadataModel.java:94) at org.netbeans.modules.db.metadata.model.api.MetadataModel.runReadAction(MetadataModel.java:89) at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery(SQLCompletionQuery.java:137)
Created attachment 78150 [details] stacktrace
*** Issue 159553 has been marked as a duplicate of this issue. ***
core-main/rev/b7187b8fec35
Integrated into 'main-golden', will be available in build *200903210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b7187b8fec35 User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #156142: NullPointerException at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery