Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1621

AbstractFramedChannel.flushSenders could throw NPE when polling newFrames

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.29.Final
    • None
    • None
    • None

      The newFrames are polled using the same pattern described in UNDERTOW-1620:

                  while (!newFrames.isEmpty()) {
                      S frame = newFrames.poll();
                      frame.preWrite();
                      ...

      This could result in a NPE if run in parallel with markWritesBroken, that invokes newFrames.clear().

            flaviarnn Flavia Rainone
            flaviarnn Flavia Rainone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: