-
|
And the stack trace: java.nio.channels.ClosedChannelException I am trying to debug this, but since the stack trace does not point to any glsp classes I am not sure how to proceed. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 18 replies
-
|
Hi @Mc-Hoyos, could you please provide additional context otherwise the error is hard to track/reproduce.| What version of the Eclipse Integration are you using? |
Beta Was this translation helpful? Give feedback.
-
|
In my experience, this error occurs when closing the editor, not opening. The error is thrown from Jetty itself, and is benign - though annoying that it fills up the error log. You can then check if the error is a ClosedChannelException, and ignore it:
Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
|
Any pointers on how to follow the websocket creation to try to pin-point the reason for the failure? I have a gut feeling that it's a dependency injection gone bad, as guice loves to catch and hide injection exceptions. I have compared the dependencies and available plugins in my local runtime vs a installed runtime and as far as I can tell no dependencies are missing. |
Beta Was this translation helpful? Give feedback.
-
|
@tortmayr I have tried to get the Workflow example to work to compare what is being installed, and I am also getting the websocket exception. I tried in a 2023-12 and a 2024-09 fresh eclipse modeling installs. |
Beta Was this translation helpful? Give feedback.

This would point to a version mismatch with Jetty. Which version are you compiling against, and which version are you running with?
Pay close attention to the return type of acquire. Does ArrayByteBufferPool return RetainableByteBuffer.Mutable, RetainableByteBuffer, or ByteBuffer? Earlier versions of Jetty returned ByteBuffer (Jetty <12), even though the parameters (int, boolean) stayed the same. Version 12.0.x returned RetainableByteBuffer. Version 12.1.x returns RetainableByteBuffer.Mutable. My guess is that you are compiling against 12.1 and running with 12.0, or some other incompatible combination.