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 143698 - [65cat] NullPointerException at org.netbeans.modules.db.sql.visualeditor.querybuilder.QueryBuilderResultTable.actionPerformed
Summary: [65cat] NullPointerException at org.netbeans.modules.db.sql.visualeditor.quer...
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: John Baker
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-13 01:52 UTC by sunbiz
Modified: 2009-05-25 21:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 90104


Attachments
stacktrace (2.33 KB, text/plain)
2008-08-13 01:52 UTC, sunbiz
Details
stacktrace (2.33 KB, text/plain)
2008-10-24 13:21 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-08-13 01:52:05 UTC
Build: NetBeans IDE Dev (Build 080813)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Windows Vista, 6.0, x86

User Comments: 
Got the exception when clicked on Copy Row Value from designed query's output

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.db.sql.visualeditor.querybuilder.QueryBuilderResultTable.actionPerformed(QueryBuilderResultTable.java:315)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
Comment 1 sunbiz 2008-08-13 01:52:10 UTC
Created attachment 67201 [details]
stacktrace
Comment 2 John Baker 2008-08-19 07:40:31 UTC
reproducible.

there seems to be a workaround if you invoke Copy Row Value a 2nd time then the exception doesn't occur and copy works.
Comment 3 sunbiz 2008-10-24 13:21:35 UTC
Build: NetBeans IDE 6.5 RC1 (Build 200810171318)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Windows Vista, 6.0, x86

User Comments: 
Select multiple rows and right-click and click Copy row values

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.db.sql.visualeditor.querybuilder.QueryBuilderResultTable.actionPerformed(QueryBuilderResultTable.java:315)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
Comment 4 sunbiz 2008-10-24 13:21:46 UTC
Created attachment 72590 [details]
stacktrace
Comment 5 Petr Blaha 2008-11-18 13:06:45 UTC
Move visualsqleditor subcomponents below visualweb