JShell EofException
Robert Field
robert.field at oracle.com
Sat Jul 28 18:55:34 UTC 2018
Hi Rémi,
This is an indicator that back-end execution-processing JVM has died
attempting to evaluate an expression. Or it could have died before the
expression was sent.
There is one bug filed with that stack trace:
https://bugs.openjdk.java.net/browse/JDK-8205975
I have added your report to that one.
On our big test machines running a zillion tests at once, we see JShell
failures based on time-outs (usually the back-end hasn't launched in
time). We haven't seen this to my knowledge.
What platform do you see this on?
What version of JShell/JDK?
Do you, by any chance, know what is being evaluated?
Thanks,
Robert
On 07/28/18 05:42, Remi Forax wrote:
> Hi all, hi Robert,
> using jshell, my CI sometimes reports this error, this never occurs on local making things hard to reproduce,
> any idea ?
>
> java.io.EOFException
> at java.base/java.io.DataInputStream.readInt(DataInputStream.java:397)
> at java.base/java.io.ObjectInputStream$BlockDataInputStream.readInt(ObjectInputStream.java:3284)
> at java.base/java.io.ObjectInputStream.readInt(ObjectInputStream.java:1047)
> at jdk.jshell/jdk.jshell.execution.StreamingExecutionControl.readAndReportExecutionResult(StreamingExecutionControl.java:277)
> at jdk.jshell/jdk.jshell.execution.StreamingExecutionControl.invoke(StreamingExecutionControl.java:99)
> at jdk.jshell/jdk.jshell.execution.JdiDefaultExecutionControl.invoke(JdiDefaultExecutionControl.java:160)
> at jdk.jshell/jdk.jshell.Eval.declare(Eval.java:848)
> at jdk.jshell/jdk.jshell.Eval.eval(Eval.java:140)
> at jdk.jshell/jdk.jshell.JShell.eval(JShell.java:493)
> at jdk.jshell/jdk.internal.jshell.tool.JShellTool.processSource(JShellTool.java:3547)
> at jdk.jshell/jdk.internal.jshell.tool.JShellTool.processSourceCatchingReset(JShellTool.java:1301)
> at jdk.jshell/jdk.internal.jshell.tool.JShellTool.processInput(JShellTool.java:1203)
> at jdk.jshell/jdk.internal.jshell.tool.JShellTool.run(JShellTool.java:1176)
> at jdk.jshell/jdk.internal.jshell.tool.JShellTool.runFile(JShellTool.java:3035)
> at jdk.jshell/jdk.internal.jshell.tool.JShellTool.start(JShellTool.java:944)
> at jdk.jshell/jdk.internal.jshell.tool.JShellToolBuilder.start(JShellToolBuilder.java:254)
> at jdk.jshell/jdk.internal.jshell.tool.JShellToolProvider.run(JShellToolProvider.java:94)
>
> Rémi
More information about the kulla-dev
mailing list