FULL PRODUCT VERSION : mustang early release A DESCRIPTION OF THE PROBLEM : CachedRowSetWriter function private boolean deleteOriginalRow(CachedRowSet crs, CachedRowSetImpl crsRes) throws SQLException { does this: crsRes.moveToInsertRow(); for (i = 1; i <= crs.getMetaData().getColumnCount(); i++) { if(!( ((origVals.getObject(i)).toString()).equals((rs.getObject(i)).toString()))) { boolChanged = true; crsRes.updateObject(i,origVals.getObject(i)); } else { crsRes.updateNull(i); } } If any of the field values are null, this code will throw NullPointerExceptions, incorrectly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : delete a cached row set record that has a null field REPRODUCIBILITY : This bug can be reproduced always.
|