Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2093

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.2.1.6
    • 10.2.2.1, 10.3.1.4
    • Store
    • None

    Description

      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

      Attachments

        Activity

          People

            mikem Mike Matrigali
            mikem Mike Matrigali
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: