NullPointerException when close a ResultSet of getColumns()
Bug #1450349 reported by
Weiqing Xu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Committed
|
Medium
|
Weiqing Xu |
Bug Description
When I close the ResultSet of GetColumns(), it will throw a NullPointerExce
ResultSet res = dbmd.getColumns
ResultSetMetaData rsMd = res.getMetaData();
System.
System.
for (int j = 1; j <= rsMd.getColumnC
System.
+ " DataType: " + rsMd.getColumnT
+ "Name: " + rsMd.getColumnN
}
res.close();
conn.close();
Changed in trafodion: | |
assignee: | nobody → Weiqing Xu (wei-qing-xu) |
Changed in trafodion: | |
milestone: | none → r2.0 |
importance: | Undecided → Medium |
summary: |
- NullPointerException when close a ResultSet of getColumnCount() + NullPointerException when close a ResultSet of getColumns() |
Changed in trafodion: | |
status: | New → In Progress |
Changed in trafodion: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.