Paul Court created NETBEANS-3281:
------------------------------------

             Summary: Unable to connect to docker in Java versions 13+
                 Key: NETBEANS-3281
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3281
             Project: NetBeans
          Issue Type: Bug
          Components: docker - UI
    Affects Versions: 11.1, 11.2
            Reporter: Paul Court
         Attachments: image-2019-10-23-09-58-39-939.png, 
image-2019-10-23-10-20-59-303.png

Attempting to add a Docker connection using Java version 13 or 14 fails with 
the following error:-

!image-2019-10-23-09-58-39-939.png|width=460,height=316!

Further investigation by [~ihsiak] in NETBEANS-2509 revealed the underlying 
problem to be:
{code:java}
java.net.SocketException: Cannot find method "setCreated" in java.net.Socket. 
Unsupported JVM?{code}
I have recreated this on both Netbeans 11.1 and 11.2-beta3 using Java 13:
{code:java}
openjdk version "13" 2019-09-17
OpenJDK Runtime Environment (build 13+33)
OpenJDK 64-Bit Server VM (build 13+33, mixed mode, sharing) {code}
With the full exception from messages.log being:
{code:java}
openjdk version "13" 2019-09-17
OpenJDK Runtime Environment (build 13+33)
OpenJDK 64-Bit Server VM (build 13+33, mixed mode, sharing) {code}
----
By switching to Java 12.0.2:-
{code:java}
⚡ java -version
openjdk version "12.0.2" 2019-07-16
OpenJDK Runtime Environment (build 12.0.2+10)
OpenJDK 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)
{code}
The error goes away and local Docker can be interacted with successfully:

!image-2019-10-23-10-20-59-303.png|width=281,height=181!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to