Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-582

NullPointerException on org.apache.hc.core5.reactor.SingleCoreIOReactor.processEvents(SingleCoreIOReactor.java:176)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0-beta7
    • Fix Version/s: 5.0-beta8
    • Component/s: HttpCore NIO
    • Labels:
      None

      Description

      An unexpected NullPointerException occurs when trying to get a channel while iterating on the list of SelectionKeys:

      Sat Jul 06 04:25:07 CEST 2019 Thread[httpclient-dispatch-3,5,main]:

      unexpected exception

      java.lang.NullPointerException at org.apache.hc.core5.reactor.SingleCoreIOReactor.processEvents(SingleCoreIOReactor.java:176) at org.apache.hc.core5.reactor.SingleCoreIOReactor.doExecute(SingleCoreIOReactor.java:124)

      at org.apache.hc.core5.reactor.AbstractSingleCoreIOReactor.execute(AbstractSingleCoreIOReactor.java:81) at org.apache.hc.core5.reactor.IOReactorWorker.run(IOReactorWorker.java:44) at java.lang.Thread.run(Thread.java:748)

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joan.balaguero@grupoventus.com Joan Balagueró
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: