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 144917

Summary: [65cat][database] NullPointerException at org.netbeans.modules.db.dataview.output.DataViewTablePanel.<init>
Product: db Reporter: alcmontejo <alcmontejo>
Component: Show DataAssignee: _ ahimanikya <ahimanikya>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: message log

Description alcmontejo 2008-08-23 10:51:16 UTC
hi! 

Good day! 

Got this exception when I run my SQL select statement 

Thanks and more power, Allen Montejo

java.lang.NullPointerException
	at org.netbeans.modules.db.dataview.output.DataViewTablePanel.<init>(DataViewTablePanel.java:89)
	at org.netbeans.modules.db.dataview.output.DataViewUI.<init>(DataViewUI.java:146)
	at org.netbeans.modules.db.dataview.output.DataView.createComponents(DataView.java:128)
	at org.netbeans.modules.db.dataview.api.DataView.createComponents(DataView.java:88)
[catch] at org.netbeans.modules.db.sql.loader.SQLEditorSupport$2.run(SQLEditorSupport.java:332)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 alcmontejo 2008-08-23 10:52:48 UTC
Created attachment 68158 [details]
message log
Comment 2 _ ahimanikya 2008-08-28 11:32:11 UTC
Please provide which database and steps to reproduce this. It will be good if you can provide table creation script and
the sql that you are executing. 

May be, it was happening because we not validating connection, I suspect this may have already fixed.