Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

graalvm TraversingBlockingQueue ArrayStoreException #635

Open
imhun opened this issue Apr 26, 2024 · 1 comment
Open

graalvm TraversingBlockingQueue ArrayStoreException #635

imhun opened this issue Apr 26, 2024 · 1 comment
Labels
😖 no runnable reproducible demo 😵 please provide a simple runnable demo that reproduce the problem ttl agent

Comments

@imhun
Copy link

imhun commented Apr 26, 2024

ttl 2.14.5, use agent
graalvm-js:23.0
when run js script,
Occasionally the following error occurs:

Caused by: org.graalvm.polyglot.PolyglotException: java.lang.ArrayStoreException: com.alibaba.ttl.TtlRunnable
	at java.base/java.util.concurrent.LinkedBlockingDeque.toArray(LinkedBlockingDeque.java:963)
	at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.TraversingBlockingQueue.toArray(TraversingBlockingQueue.java:214)
	at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.BackgroundCompileQueue.getQueuedTargets(BackgroundCompileQueue.java:216)
	at jdk.internal.vm.compiler/org.graalvm.compiler.truffle.runtime.GraalRuntimeSupport.flushCompileQueue(GraalRuntimeSupport.java:275)
	at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotEngineImpl.ensureClosed(PolyglotEngineImpl.java:1259)
	at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotContextImpl.closeAndMaybeWait(PolyglotContextImpl.java:1643)
	at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotContextImpl.close(PolyglotContextImpl.java:1565)
	at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotContextDispatch.close(PolyglotContextDispatch.java:73)
	at org.graalvm.sdk/org.graalvm.polyglot.Context.close(Context.java:835)
	at org.graalvm.sdk/org.graalvm.polyglot.Context.close(Context.java:861)
	at com.byteplan.data.yunhua.script.JavaScriptHelper.eval(JavaScriptHelper.java:160)
@oldratlee oldratlee added the 😖 no runnable reproducible demo 😵 please provide a simple runnable demo that reproduce the problem label Apr 26, 2024
@oldratlee
Copy link
Member

oldratlee commented Apr 26, 2024

@imhun Please give a simple runnable reproducible demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
😖 no runnable reproducible demo 😵 please provide a simple runnable demo that reproduce the problem ttl agent
Projects
None yet
Development

No branches or pull requests

2 participants