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.

Bug 142457 - NullPointerException at org.netbeans.modules.db.sql.editor.completion.SQLCompletionQuery.doQuery
Summary: NullPointerException at org.netbeans.modules.db.sql.editor.completion.SQLComp...
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Vancouvering
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-31 18:51 UTC by Roman Mostyka
Modified: 2008-08-02 15:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 84843


Attachments
stacktrace (970 bytes, text/plain)
2008-07-31 18:51 UTC, Roman Mostyka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-07-31 18:51:19 UTC
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)
Comment 1 Roman Mostyka 2008-07-31 18:51:23 UTC
Created attachment 66207 [details]
stacktrace
Comment 2 Andrei Badea 2008-08-01 09:54:16 UTC
ffc57e769afa
Comment 3 Roman Mostyka 2008-08-01 15:17:45 UTC
Verified with build 080801.
Comment 4 Quality Engineering 2008-08-02 15:56:14 UTC
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