db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <derby-...@db.apache.org>
Subject [jira] Resolved: (DERBY-714) NullPointerException or ClassCastException if UPDATE or DELETE is performed on a diagnostic VTI
Date Fri, 18 Nov 2005 22:00:42 GMT
     [ http://issues.apache.org/jira/browse/DERBY-714?page=all ]
     
Daniel John Debrunner resolved DERBY-714:
-----------------------------------------

    Resolution: Fixed

svn revision 345577  	

> NullPointerException or ClassCastException if UPDATE or DELETE is performed on a diagnostic
VTI
> -----------------------------------------------------------------------------------------------
>
>          Key: DERBY-714
>          URL: http://issues.apache.org/jira/browse/DERBY-714
>      Project: Derby
>         Type: Bug
>   Components: SQL
>     Versions: 10.1.1.0, 10.0.2.0
>     Reporter: Daniel John Debrunner
>     Assignee: Daniel John Debrunner
>     Priority: Trivial
>      Fix For: 10.2.0.0

>
> UPDATE and DELETE statements on read-only vtis will hit NullPointerException in insane
mode, and ClassCastException in sane mode.
> ij> delete from new org.apache.derby.diag.TransactionTable();
> ERROR XJ001: Java exception: ': java.lang.NullPointerException'.
> While these statements make no sense, a more graceful error should be returned, especially
as in insane mode this causes the engine to shutdown. Code already exists to detect this situation
but is not being called.
> Found through adding negative tests for DERBY-571

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message