Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8919

NettyUDPMulticastAsyncTest failing on Windows

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.14.1, 2.15.1, 2.15.2
    • Fix Version/s: 2.15.3, 2.16.0
    • Component/s: camel-netty4
    • Labels:
      None
    • Environment:

      Windows 7 Java 1.7

    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown
    • Flags:
      Patch, Important

      Description

      The NettyUDPMulticastAsyncTest fails with an java.nio.channels.ClosedChannelException even with a valid interface.
      The udp multicast functionality does not seem to work on windows although it works perfectly on OSX.

      Stacktrace-
      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.026 sec <<< FAILURE! - in org.apache.camel.component.netty4.NettyUDPMulticastAsyncTest
      testUDPInOnlyMulticastWithNettyConsumer(org.apache.camel.component.netty4.NettyUDPMulticastAsyncTest) Time elapsed: 0.023 sec <<< ERROR!
      java.nio.channels.ClosedChannelException: null
      at sun.nio.ch.DatagramChannelImpl.innerJoin(DatagramChannelImpl.java:832)
      at sun.nio.ch.DatagramChannelImpl.join(DatagramChannelImpl.java:894)
      at io.netty.channel.socket.nio.NioDatagramChannel.joinGroup(NioDatagramChannel.java:409)
      at io.netty.channel.socket.nio.NioDatagramChannel.joinGroup(NioDatagramChannel.java:382)
      at io.netty.channel.socket.nio.NioDatagramChannel.joinGroup(NioDatagramChannel.java:375)
      at org.apache.camel.component.netty4.SingleUDPNettyServerBootstrapFactory.startServerBootstrap(SingleUDPNettyServerBootstrapFactory.java:171)
      at org.apache.camel.component.netty4.SingleUDPNettyServerBootstrapFactory.doStart(SingleUDPNettyServerBootstrapFactory.java:92)

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              dsundaresh Darshan Sundaresh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: