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

Summary: [65cat] NullPointerException at org.netbeans.modules.db.sql.visualeditor.querybuilder.QueryBuilderResultTable.actionPerformed
Product: obsolete Reporter: sunbiz <sunbiz>
Component: visualwebAssignee: John Baker <jbaker>
Status: NEW ---    
Severity: blocker CC: sunbiz
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=90104
Issue Type: DEFECT Exception Reporter: 90104
Attachments: stacktrace
stacktrace

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