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.
This bug was originally marked as duplicate of bug 157913, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201203260401) VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Linux User Comments: cloeffler: not all data in table is displayed schkovich: Executing SQL statement returning empty result set most likely cloeffler: in DB View i wanted to view data from a table of an informix database. i am connected to the database via odbc Stacktrace: java.lang.NullPointerException at org.netbeans.modules.db.dataview.util.DBReadWriteHelper.readResultSet(DBReadWriteHelper.java:227) at org.netbeans.modules.db.dataview.output.SQLExecutionHelper.loadDataFrom(SQLExecutionHelper.java:511) at org.netbeans.modules.db.dataview.output.SQLExecutionHelper.initialDataLoad(SQLExecutionHelper.java:135) at org.netbeans.modules.db.dataview.output.DataView.create(DataView.java:105) at org.netbeans.modules.db.dataview.api.DataView.create(DataView.java:74) at org.netbeans.modules.db.sql.execute.SQLExecuteHelper.execute(SQLExecuteHelper.java:116)
Created attachment 117294 [details] stacktrace
This is most probably a problem with the patches from bug #206233. There blob.free() is called without checking, that there was actually a result (aka the result was not null). A fix is attached to that bug. Actually duplicate is not quite correct, but is the nearest match to the truth as #206233 was reopened to clean up the collateral damage. *** This bug has been marked as a duplicate of bug 206233 ***