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

java.lang.NullPointerException can occur while scanning for global id in the transaction table under heavey load.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.0.2.2, 10.1.3.1, 10.2.1.6
    • 10.1.3.1, 10.2.1.6
    • Store
    • None

    Description

      TransactonTable.java:
      public ContextManager findTransactionContextByGlobalId(
      ....
      if (entry.getGid() != null &&
      entry.getGid().equals(global_id))

      }

      In the above code gid in the entry can get set to null , if the transaction the entry referes to is committed.
      So second part of the above condition can get a NPE.

      Attachments

        Activity

          People

            mikem Mike Matrigali
            tsuresh Suresh Thalamati
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: