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 107812 - IllegalArgumentException when showing null row
Summary: IllegalArgumentException when showing null row
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords: GTK, L&F
Depends on:
Blocks:
 
Reported: 2007-06-22 12:44 UTC by Radim Roska
Modified: 2007-07-02 10:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Radim Roska 2007-06-22 12:44:31 UTC
Product Version: NetBeans IDE Dev (Build 200706190000, C/C++ Pack 20070619) 
Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 
System: Linux version 2.6.20-15-generic running on i386; UTF-8; en_US (nb)

1. Netbeans running on gtk look&feel.
2. connect to travel database in services view
3. execute 
select "ARRTIME" from "TRAVEL"."FLIGHT"
query 
4. scroll down in result 
=>IllegalArgumentException exception occurs...when displaying row with flightid=42

( select "ARRTIME" from "TRAVEL"."FLIGHT" where flightid=42 )

this row contains null value.
Comment 1 Andrei Badea 2007-06-28 17:24:05 UTC
JDK bug in the GTK L&F, will file a bug and then work around it, it is quite simple.
Comment 2 Andrei Badea 2007-06-29 17:13:47 UTC
Fixed.

Checking in src/org/netbeans/modules/db/sql/execute/ui/SQLResultPanel.java;
/cvs/db/core/src/org/netbeans/modules/db/sql/execute/ui/SQLResultPanel.java,v  <--  SQLResultPanel.java
new revision: 1.9; previous revision: 1.8
done