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 "Mike Matrigali (JIRA)" <ji...@apache.org> on 2006/11/17 00:41:37 UTC

[jira] Created: (DERBY-2093) Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.

Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.
-----------------------------------------------------------------------------------------------------------

                 Key: DERBY-2093
                 URL: http://issues.apache.org/jira/browse/DERBY-2093
             Project: Derby
          Issue Type: Bug
          Components: Store
    Affects Versions: 10.2.1.6
            Reporter: Mike Matrigali
         Assigned To: Mike Matrigali
            Priority: Minor


Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.  The problem is
that depending on when the error is encountered we are in the middle of setting up a new page, so you can't use normal 
access routines for identifiying the page (like getIdentity() ) as they may not be set up yet.  

The fix is to change the error messages to use a passed in identity rather than counting on correct setup during initialization failure

-- 
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-2093) Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.

Posted by "Mike Matrigali (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Matrigali resolved DERBY-2093.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 10.2.3.0

> Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2093
>                 URL: https://issues.apache.org/jira/browse/DERBY-2093
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.2.1.6
>            Reporter: Mike Matrigali
>         Assigned To: Mike Matrigali
>            Priority: Minor
>             Fix For: 10.2.3.0, 10.3.0.0
>
>
> Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.  The problem is
> that depending on when the error is encountered we are in the middle of setting up a new page, so you can't use normal 
> access routines for identifiying the page (like getIdentity() ) as they may not be set up yet.  
> The fix is to change the error messages to use a passed in identity rather than counting on correct setup during initialization failure

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

        

[jira] Updated: (DERBY-2093) Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.

Posted by "Mike Matrigali (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-2093?page=all ]

Mike Matrigali updated DERBY-2093:
----------------------------------

    Fix Version/s: 10.3.0.0

> Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2093
>                 URL: http://issues.apache.org/jira/browse/DERBY-2093
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.2.1.6
>            Reporter: Mike Matrigali
>         Assigned To: Mike Matrigali
>            Priority: Minor
>             Fix For: 10.3.0.0
>
>
> Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.  The problem is
> that depending on when the error is encountered we are in the middle of setting up a new page, so you can't use normal 
> access routines for identifiying the page (like getIdentity() ) as they may not be set up yet.  
> The fix is to change the error messages to use a passed in identity rather than counting on correct setup during initialization failure

-- 
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-2093) Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.

Posted by "Mike Matrigali (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Matrigali closed DERBY-2093.
---------------------------------


> Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2093
>                 URL: https://issues.apache.org/jira/browse/DERBY-2093
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.2.1.6
>            Reporter: Mike Matrigali
>         Assigned To: Mike Matrigali
>            Priority: Minor
>             Fix For: 10.2.3.0, 10.3.0.0
>
>
> Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.  The problem is
> that depending on when the error is encountered we are in the middle of setting up a new page, so you can't use normal 
> access routines for identifiying the page (like getIdentity() ) as they may not be set up yet.  
> The fix is to change the error messages to use a passed in identity rather than counting on correct setup during initialization failure

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-2093) Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.

Posted by "Mike Matrigali (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DERBY-2093?page=all ]

Mike Matrigali updated DERBY-2093:
----------------------------------


committed to trunk:
m1_ibm142:18>svn commit

Sending        java\engine\org\apache\derby\impl\store\raw\data\StoredPage.java
Transmitting file data .
Committed revision 476190.

> Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2093
>                 URL: http://issues.apache.org/jira/browse/DERBY-2093
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.2.1.6
>            Reporter: Mike Matrigali
>         Assigned To: Mike Matrigali
>            Priority: Minor
>             Fix For: 10.3.0.0
>
>
> Error in initSlotTable() can cause NPE or ASSERT rather than reporting page number in corrupt page message.  The problem is
> that depending on when the error is encountered we are in the middle of setting up a new page, so you can't use normal 
> access routines for identifiying the page (like getIdentity() ) as they may not be set up yet.  
> The fix is to change the error messages to use a passed in identity rather than counting on correct setup during initialization failure

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