Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2200

NPE while dropping/failing large messages on paging

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.3, 2.7.0
    • Fix Version/s: 2.6.4, 2.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Due to a race condition while handling deletion (ie confirmation) of large messages dropped/failed due to paging, the Artemis journal try to delete the same records twice, throwing NPE while doing it.
      In addition, given that the NPE is unexpected, the broker is not cleaning up the pending stores on the OperationContext, leading to some leaking OperationContextImpl.TaskHolder instances.
      It is happening with any protocols ie Core, OpenWire, AMQP.
      Are not known yet other bad effects beyond the NPE and the leak.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nigro.fra@gmail.com Francesco Nigro
                Reporter:
                nigro.fra@gmail.com Francesco Nigro
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h