-
Notifications
You must be signed in to change notification settings - Fork 182
Open
Description
My new test for the clipboard PR #2541 (part of #2126) doesn't work on all platforms.
I-build I20250926-0030/
Test_org_eclipse_swt_dnd_Clipboard pass/fail:
Linux x64, Java 21: Pass
Linux x64 Java 25: Pass
mac x64: Fail
mac arm: Still waiting
Windows: Still waiting
This test passes on all the GitHub action runners
The test fails on macOS in the RMI code with a couple of different, but similar, exceptions
Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.net.SocketException: Connection reset
at java.rmi/sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:255)
at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:382)
at java.rmi/sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:123)
at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_dnd_Clipboard.startRemoteClipboardCommands(Test_org_eclipse_swt_dnd_Clipboard.java:175)
at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_dnd_Clipboard.openAndFocusRemote(Test_org_eclipse_swt_dnd_Clipboard.java:107)
at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_dnd_Clipboard.test_getContents(Test_org_eclipse_swt_dnd_Clipboard.java:296)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:318)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:346)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:796)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:1099)
at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:291)
at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:325)
at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:312)
at java.base/java.io.DataInputStream.readUnsignedByte(DataInputStream.java:295)
at java.base/java.io.DataInputStream.readByte(DataInputStream.java:275)
at java.rmi/sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:241)
... 8 more
and
Error unmarshaling return header; nested exception is: java.io.EOFException
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.io.EOFException
at java.rmi/sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:255)
at java.rmi/sun.rmi.server.UnicastRef.invoke(UnicastRef.java:382)
at java.rmi/sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:123)
at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_dnd_Clipboard.startRemoteClipboardCommands(Test_org_eclipse_swt_dnd_Clipboard.java:175)
at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_dnd_Clipboard.openAndFocusRemote(Test_org_eclipse_swt_dnd_Clipboard.java:107)
at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_dnd_Clipboard.test_Remote(Test_org_eclipse_swt_dnd_Clipboard.java:220)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: java.io.EOFException
at java.base/java.io.DataInputStream.readUnsignedByte(DataInputStream.java:297)
at java.base/java.io.DataInputStream.readByte(DataInputStream.java:275)
at java.rmi/sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:241)
... 8 more
Metadata
Metadata
Assignees
Labels
No labels