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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.2.2, 10.1.3.1, 10.2.1.6
    • Fix Version/s: 10.1.3.1, 10.2.1.6
    • Component/s: Store
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: