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

NettyUDPMulticastAsyncTest failing on Windows

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.14.1, 2.15.1, 2.15.2
    • 2.15.3, 2.16.0
    • camel-netty4
    • None
    • Windows 7 Java 1.7

    • Patch Available
    • Unknown
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: