You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <de...@db.apache.org> on 2005/08/03 22:29:35 UTC

[jira] Created: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.

DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.
---------------------------------------------------------------------------------------------

         Key: DERBY-488
         URL: http://issues.apache.org/jira/browse/DERBY-488
     Project: Derby
        Type: Bug
  Components: SQL  
    Versions: 10.1.1.0    
    Reporter: Daniel John Debrunner
 Assigned to: Daniel John Debrunner 
     Fix For: 10.1.1.0
 Attachments: patch488.txt

Analysis shows that 
----------------------------------------------------------------------
The problem is occurring starting at offset 2007 in method e23.  There is an invokeinterface to method setWidth(int, int, boolean) of class VariableSizeDataValue.  This invoke returns a value of class DataValueDescriptor.  That value is in turn stored in field e142 at offset 2015 in method e23.  The problem is that field e142 is a NumberDataValue, and DataValueDescriptor is not a valid subclass of NumberDataValue.  Thus the store is not allowed.
----------------------------------------------------------------------

Looking at the generated setWidth() calls I see one in BinaryOperatorNode where the return (DataValueDescriptor) is not cast to the type of the field it is stored in. 


-- 
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


[jira] Updated: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.

Posted by "Deepa Remesh (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-488?page=all ]

Deepa Remesh updated DERBY-488:
-------------------------------

    Fix Version: 10.1.1.1

> DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.
> ---------------------------------------------------------------------------------------------
>
>          Key: DERBY-488
>          URL: http://issues.apache.org/jira/browse/DERBY-488
>      Project: Derby
>         Type: Bug
>   Components: SQL
>     Versions: 10.1.1.0
>     Reporter: Daniel John Debrunner
>     Assignee: Kathey Marsden
>      Fix For: 10.0.2.2, 10.2.0.0, 10.1.2.0, 10.1.1.1
>  Attachments: patch488.txt
>
> Analysis shows that 
> ----------------------------------------------------------------------
> The problem is occurring starting at offset 2007 in method e23.  There is an invokeinterface to method setWidth(int, int, boolean) of class VariableSizeDataValue.  This invoke returns a value of class DataValueDescriptor.  That value is in turn stored in field e142 at offset 2015 in method e23.  The problem is that field e142 is a NumberDataValue, and DataValueDescriptor is not a valid subclass of NumberDataValue.  Thus the store is not allowed.
> ----------------------------------------------------------------------
> Looking at the generated setWidth() calls I see one in BinaryOperatorNode where the return (DataValueDescriptor) is not cast to the type of the field it is stored in. 

-- 
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


[jira] Reopened: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.

Posted by "Deepa Remesh (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-488?page=all ]
     
Deepa Remesh reopened DERBY-488:
--------------------------------

     Assign To: Deepa Remesh  (was: Daniel John Debrunner)

This error has to be ported to 10.0 branch also.

> DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.
> ---------------------------------------------------------------------------------------------
>
>          Key: DERBY-488
>          URL: http://issues.apache.org/jira/browse/DERBY-488
>      Project: Derby
>         Type: Bug
>   Components: SQL
>     Versions: 10.1.1.0
>     Reporter: Daniel John Debrunner
>     Assignee: Deepa Remesh
>      Fix For: 10.2.0.0, 10.1.1.0
>  Attachments: patch488.txt
>
> Analysis shows that 
> ----------------------------------------------------------------------
> The problem is occurring starting at offset 2007 in method e23.  There is an invokeinterface to method setWidth(int, int, boolean) of class VariableSizeDataValue.  This invoke returns a value of class DataValueDescriptor.  That value is in turn stored in field e142 at offset 2015 in method e23.  The problem is that field e142 is a NumberDataValue, and DataValueDescriptor is not a valid subclass of NumberDataValue.  Thus the store is not allowed.
> ----------------------------------------------------------------------
> Looking at the generated setWidth() calls I see one in BinaryOperatorNode where the return (DataValueDescriptor) is not cast to the type of the field it is stored in. 

-- 
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


[jira] Closed: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.

Posted by "Kathey Marsden (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-488?page=all ]
     
Kathey Marsden closed DERBY-488:
--------------------------------

    Assign To: Kathey Marsden  (was: Deepa Remesh)

ported to 10.0 branch

> DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.
> ---------------------------------------------------------------------------------------------
>
>          Key: DERBY-488
>          URL: http://issues.apache.org/jira/browse/DERBY-488
>      Project: Derby
>         Type: Bug
>   Components: SQL
>     Versions: 10.1.1.0
>     Reporter: Daniel John Debrunner
>     Assignee: Kathey Marsden
>      Fix For: 10.0.2.2, 10.2.0.0, 10.1.1.1
>  Attachments: patch488.txt
>
> Analysis shows that 
> ----------------------------------------------------------------------
> The problem is occurring starting at offset 2007 in method e23.  There is an invokeinterface to method setWidth(int, int, boolean) of class VariableSizeDataValue.  This invoke returns a value of class DataValueDescriptor.  That value is in turn stored in field e142 at offset 2015 in method e23.  The problem is that field e142 is a NumberDataValue, and DataValueDescriptor is not a valid subclass of NumberDataValue.  Thus the store is not allowed.
> ----------------------------------------------------------------------
> Looking at the generated setWidth() calls I see one in BinaryOperatorNode where the return (DataValueDescriptor) is not cast to the type of the field it is stored in. 

-- 
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


[jira] Reopened: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.

Posted by "Deepa Remesh (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-488?page=all ]
     
Deepa Remesh reopened DERBY-488:
--------------------------------


reopening to fix fix version

> DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.
> ---------------------------------------------------------------------------------------------
>
>          Key: DERBY-488
>          URL: http://issues.apache.org/jira/browse/DERBY-488
>      Project: Derby
>         Type: Bug
>   Components: SQL
>     Versions: 10.1.1.0
>     Reporter: Daniel John Debrunner
>     Assignee: Kathey Marsden
>      Fix For: 10.0.2.2, 10.2.0.0, 10.1.2.0, 10.1.1.1
>  Attachments: patch488.txt
>
> Analysis shows that 
> ----------------------------------------------------------------------
> The problem is occurring starting at offset 2007 in method e23.  There is an invokeinterface to method setWidth(int, int, boolean) of class VariableSizeDataValue.  This invoke returns a value of class DataValueDescriptor.  That value is in turn stored in field e142 at offset 2015 in method e23.  The problem is that field e142 is a NumberDataValue, and DataValueDescriptor is not a valid subclass of NumberDataValue.  Thus the store is not allowed.
> ----------------------------------------------------------------------
> Looking at the generated setWidth() calls I see one in BinaryOperatorNode where the return (DataValueDescriptor) is not cast to the type of the field it is stored in. 

-- 
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


[jira] Updated: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.

Posted by "Daniel John Debrunner (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-488?page=all ]

Daniel John Debrunner updated DERBY-488:
----------------------------------------

    Fix Version: 10.2.0.0

Fix from 10.1 merged to trunk  as revision 227518

> DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.
> ---------------------------------------------------------------------------------------------
>
>          Key: DERBY-488
>          URL: http://issues.apache.org/jira/browse/DERBY-488
>      Project: Derby
>         Type: Bug
>   Components: SQL
>     Versions: 10.1.1.0
>     Reporter: Daniel John Debrunner
>     Assignee: Daniel John Debrunner
>      Fix For: 10.2.0.0, 10.1.1.0
>  Attachments: patch488.txt
>
> Analysis shows that 
> ----------------------------------------------------------------------
> The problem is occurring starting at offset 2007 in method e23.  There is an invokeinterface to method setWidth(int, int, boolean) of class VariableSizeDataValue.  This invoke returns a value of class DataValueDescriptor.  That value is in turn stored in field e142 at offset 2015 in method e23.  The problem is that field e142 is a NumberDataValue, and DataValueDescriptor is not a valid subclass of NumberDataValue.  Thus the store is not allowed.
> ----------------------------------------------------------------------
> Looking at the generated setWidth() calls I see one in BinaryOperatorNode where the return (DataValueDescriptor) is not cast to the type of the field it is stored in. 

-- 
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


[jira] Updated: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.

Posted by "Andrew McIntyre (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-488?page=all ]

Andrew McIntyre updated DERBY-488:
----------------------------------

    Fix Version: 10.1.1.1
                     (was: 10.1.1.0)

changing fixin to 10.1.1.1

> DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.
> ---------------------------------------------------------------------------------------------
>
>          Key: DERBY-488
>          URL: http://issues.apache.org/jira/browse/DERBY-488
>      Project: Derby
>         Type: Bug
>   Components: SQL
>     Versions: 10.1.1.0
>     Reporter: Daniel John Debrunner
>     Assignee: Deepa Remesh
>      Fix For: 10.2.0.0, 10.1.1.1
>  Attachments: patch488.txt
>
> Analysis shows that 
> ----------------------------------------------------------------------
> The problem is occurring starting at offset 2007 in method e23.  There is an invokeinterface to method setWidth(int, int, boolean) of class VariableSizeDataValue.  This invoke returns a value of class DataValueDescriptor.  That value is in turn stored in field e142 at offset 2015 in method e23.  The problem is that field e142 is a NumberDataValue, and DataValueDescriptor is not a valid subclass of NumberDataValue.  Thus the store is not allowed.
> ----------------------------------------------------------------------
> Looking at the generated setWidth() calls I see one in BinaryOperatorNode where the return (DataValueDescriptor) is not cast to the type of the field it is stored in. 

-- 
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


[jira] Closed: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.

Posted by "Daniel John Debrunner (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-488?page=all ]
     
Daniel John Debrunner closed DERBY-488:
---------------------------------------


Fix verified on iSeries hardware.

> DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.
> ---------------------------------------------------------------------------------------------
>
>          Key: DERBY-488
>          URL: http://issues.apache.org/jira/browse/DERBY-488
>      Project: Derby
>         Type: Bug
>   Components: SQL
>     Versions: 10.1.1.0
>     Reporter: Daniel John Debrunner
>     Assignee: Daniel John Debrunner
>      Fix For: 10.2.0.0, 10.1.1.0
>  Attachments: patch488.txt
>
> Analysis shows that 
> ----------------------------------------------------------------------
> The problem is occurring starting at offset 2007 in method e23.  There is an invokeinterface to method setWidth(int, int, boolean) of class VariableSizeDataValue.  This invoke returns a value of class DataValueDescriptor.  That value is in turn stored in field e142 at offset 2015 in method e23.  The problem is that field e142 is a NumberDataValue, and DataValueDescriptor is not a valid subclass of NumberDataValue.  Thus the store is not allowed.
> ----------------------------------------------------------------------
> Looking at the generated setWidth() calls I see one in BinaryOperatorNode where the return (DataValueDescriptor) is not cast to the type of the field it is stored in. 

-- 
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


[jira] Updated: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.

Posted by "Daniel John Debrunner (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-488?page=all ]

Daniel John Debrunner updated DERBY-488:
----------------------------------------

    Attachment: patch488.txt

Added patch
Also meant to add that it's unclear why other verifiers on other platforms don't catch this.

> DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.
> ---------------------------------------------------------------------------------------------
>
>          Key: DERBY-488
>          URL: http://issues.apache.org/jira/browse/DERBY-488
>      Project: Derby
>         Type: Bug
>   Components: SQL
>     Versions: 10.1.1.0
>     Reporter: Daniel John Debrunner
>     Assignee: Daniel John Debrunner
>      Fix For: 10.1.1.0
>  Attachments: patch488.txt
>
> Analysis shows that 
> ----------------------------------------------------------------------
> The problem is occurring starting at offset 2007 in method e23.  There is an invokeinterface to method setWidth(int, int, boolean) of class VariableSizeDataValue.  This invoke returns a value of class DataValueDescriptor.  That value is in turn stored in field e142 at offset 2015 in method e23.  The problem is that field e142 is a NumberDataValue, and DataValueDescriptor is not a valid subclass of NumberDataValue.  Thus the store is not allowed.
> ----------------------------------------------------------------------
> Looking at the generated setWidth() calls I see one in BinaryOperatorNode where the return (DataValueDescriptor) is not cast to the type of the field it is stored in. 

-- 
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


[jira] Closed: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.

Posted by "Deepa Remesh (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-488?page=all ]
     
Deepa Remesh closed DERBY-488:
------------------------------

    Resolution: Fixed

> DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.
> ---------------------------------------------------------------------------------------------
>
>          Key: DERBY-488
>          URL: http://issues.apache.org/jira/browse/DERBY-488
>      Project: Derby
>         Type: Bug
>   Components: SQL
>     Versions: 10.1.1.0
>     Reporter: Daniel John Debrunner
>     Assignee: Kathey Marsden
>      Fix For: 10.0.2.2, 10.2.0.0, 10.1.2.0, 10.1.1.1
>  Attachments: patch488.txt
>
> Analysis shows that 
> ----------------------------------------------------------------------
> The problem is occurring starting at offset 2007 in method e23.  There is an invokeinterface to method setWidth(int, int, boolean) of class VariableSizeDataValue.  This invoke returns a value of class DataValueDescriptor.  That value is in turn stored in field e142 at offset 2015 in method e23.  The problem is that field e142 is a NumberDataValue, and DataValueDescriptor is not a valid subclass of NumberDataValue.  Thus the store is not allowed.
> ----------------------------------------------------------------------
> Looking at the generated setWidth() calls I see one in BinaryOperatorNode where the return (DataValueDescriptor) is not cast to the type of the field it is stored in. 

-- 
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


[jira] Resolved: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.

Posted by "Daniel John Debrunner (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-488?page=all ]
     
Daniel John Debrunner resolved DERBY-488:
-----------------------------------------

    Resolution: Fixed

Committed revision (10.1 branch)  227406

> DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.
> ---------------------------------------------------------------------------------------------
>
>          Key: DERBY-488
>          URL: http://issues.apache.org/jira/browse/DERBY-488
>      Project: Derby
>         Type: Bug
>   Components: SQL
>     Versions: 10.1.1.0
>     Reporter: Daniel John Debrunner
>     Assignee: Daniel John Debrunner
>      Fix For: 10.1.1.0
>  Attachments: patch488.txt
>
> Analysis shows that 
> ----------------------------------------------------------------------
> The problem is occurring starting at offset 2007 in method e23.  There is an invokeinterface to method setWidth(int, int, boolean) of class VariableSizeDataValue.  This invoke returns a value of class DataValueDescriptor.  That value is in turn stored in field e142 at offset 2015 in method e23.  The problem is that field e142 is a NumberDataValue, and DataValueDescriptor is not a valid subclass of NumberDataValue.  Thus the store is not allowed.
> ----------------------------------------------------------------------
> Looking at the generated setWidth() calls I see one in BinaryOperatorNode where the return (DataValueDescriptor) is not cast to the type of the field it is stored in. 

-- 
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


[jira] Resolved: (DERBY-488) DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.

Posted by "Kathey Marsden (JIRA)" <de...@db.apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-488?page=all ]
     
Kathey Marsden resolved DERBY-488:
----------------------------------

    Fix Version: 10.0.2.2
     Resolution: Fixed

> DatabaseMetaData.getColumns() fails on iSeries JDK 1.4 with verfier error on generated class.
> ---------------------------------------------------------------------------------------------
>
>          Key: DERBY-488
>          URL: http://issues.apache.org/jira/browse/DERBY-488
>      Project: Derby
>         Type: Bug
>   Components: SQL
>     Versions: 10.1.1.0
>     Reporter: Daniel John Debrunner
>     Assignee: Deepa Remesh
>      Fix For: 10.0.2.2, 10.2.0.0, 10.1.1.1
>  Attachments: patch488.txt
>
> Analysis shows that 
> ----------------------------------------------------------------------
> The problem is occurring starting at offset 2007 in method e23.  There is an invokeinterface to method setWidth(int, int, boolean) of class VariableSizeDataValue.  This invoke returns a value of class DataValueDescriptor.  That value is in turn stored in field e142 at offset 2015 in method e23.  The problem is that field e142 is a NumberDataValue, and DataValueDescriptor is not a valid subclass of NumberDataValue.  Thus the store is not allowed.
> ----------------------------------------------------------------------
> Looking at the generated setWidth() calls I see one in BinaryOperatorNode where the return (DataValueDescriptor) is not cast to the type of the field it is stored in. 

-- 
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