Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8255604

java/nio/channels/DatagramChannel/Connect.java fails with java.net.BindException: Cannot assign requested address: connect

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b23
    • OS:
      windows

      Backports

        Description

        ----------System.err:(27/1680)----------
        Reactor waiting to receive
        Actor threw exception: java.net.BindException: Cannot assign requested address: connect
        Actor finished
        Reactor threw exception: java.nio.channels.AsynchronousCloseException
        Reactor finished
        java.util.concurrent.CompletionException: java.lang.RuntimeException: java.net.BindException: Cannot assign requested address: connect
        at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
        at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
        at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1803)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
        at java.base/java.lang.Thread.run(Thread.java:832)
        Caused by: java.lang.RuntimeException: java.net.BindException: Cannot assign requested address: connect
        at Connect$Actor.run(Connect.java:120)
        at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1800)
        ... 3 more
        Caused by: java.net.BindException: Cannot assign requested address: connect
        at java.base/sun.nio.ch.Net.connect0(Native Method)
        at java.base/sun.nio.ch.Net.connect(Net.java:576)
        at java.base/sun.nio.ch.DatagramChannelImpl.connect(DatagramChannelImpl.java:1243)
        at java.base/sun.nio.ch.DatagramChannelImpl.connect(DatagramChannelImpl.java:1202)
        at Connect$Actor.run(Connect.java:92)
        ... 4 more

        JavaTest Message: Test threw exception: java.util.concurrent.CompletionException
        JavaTest Message: shutting down test

        result: Failed. Execution failed: `main' threw exception: java.util.concurrent.CompletionException: java.lang.RuntimeException: java.net.BindException: Cannot assign requested address: connect

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ccleary Conor Cleary
                Reporter:
                dfuchs Daniel Fuchs
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: