Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24632

[GSS](7.4.z) XNIO-417 - Prevent NPEs in ChannelListeners utility methods

    XMLWordPrintable

Details

    Description

      An NPE can be hit like below:

      2023-03-01 09:40:41,178 ERROR [org.xnio.listener] (default I/O-2) XNIO001008: A channel exception handler threw an exception: java.lang.NullPointerException
      	at org.xnio.ChannelListeners.invokeChannelExceptionHandler(ChannelListeners.java:126)
      	at org.xnio.ChannelListeners$14.handleEvent(ChannelListeners.java:416)
      	at org.xnio.ChannelListeners$14.handleEvent(ChannelListeners.java:409)
      	at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      	at org.xnio.ChannelListeners$4.run(ChannelListeners.java:147)
      	at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612)
      	at org.xnio.nio.WorkerThread.run(WorkerThread.java:479)
      

      Attachments

        Issue Links

          Activity

            People

              ropalka Richard Opalka
              rhn-support-aogburn Aaron Ogburn
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: