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

java.lang.Error: no ComponentUI class for: javax.swing.JRootPane #9284

Closed
flben233 opened this issue Jul 10, 2024 · 10 comments
Closed

java.lang.Error: no ComponentUI class for: javax.swing.JRootPane #9284

flben233 opened this issue Jul 10, 2024 · 10 comments
Assignees

Comments

@flben233
Copy link

Describe the issue
My project is a desktop application and it uses compose multiplatform library. As it was built to native image and I ran it, it showed me the error below and the application exited. I think it might cause by AWT and graal.

PS: GraalVM Community 24+4-jvmci-b01 cannot finish native compile.

Environment

------------------------------------------------------------
Gradle 8.8
------------------------------------------------------------
Build time:   2024-05-31 21:46:56 UTC
Revision:     4bd1b3d3fc3f31db5a26eecb416a165b8cc36082

Kotlin:       1.9.22
Groovy:       3.0.21
Ant:          Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM:          21.0.1 (Oracle Corporation 21.0.1+12-jvmci-23.1-b19)
OS:           Windows 10 10.0 amd64

More details

GraalVM 21 (While running the native image):

java.lang.Error: no ComponentUI class for: javax.swing.JRootPane[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=1,maximumSize=,minimumSize=,preferredSize=]
        at java.desktop@21.0.1/javax.swing.UIDefaults.getUIError(UIDefaults.java:763)
        at java.desktop@21.0.1/javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:144)
        at java.desktop@21.0.1/javax.swing.UIDefaults.getUI(UIDefaults.java:793)
        at java.desktop@21.0.1/javax.swing.UIManager.getUI(UIManager.java:1070)
        at java.desktop@21.0.1/javax.swing.JRootPane.updateUI(JRootPane.java:447)
        at java.desktop@21.0.1/javax.swing.JRootPane.<init>(JRootPane.java:341)
        at java.desktop@21.0.1/javax.swing.JFrame.createRootPane(JFrame.java:279)
        at java.desktop@21.0.1/javax.swing.JFrame.frameInit(JFrame.java:258)
        at java.desktop@21.0.1/javax.swing.JFrame.<init>(JFrame.java:205)
        at androidx.compose.ui.awt.ComposeWindow.<init>(ComposeWindow.desktop.kt:53)
        at androidx.compose.ui.awt.ComposeWindow.<init>(ComposeWindow.desktop.kt:63)
        at androidx.compose.ui.window.Window_desktopKt$Window$3.invoke(Window.desktop.kt:182)
        at androidx.compose.ui.window.Window_desktopKt$Window$3.invoke(Window.desktop.kt:176)
        at androidx.compose.ui.window.Window_desktopKt$Window$10.invoke(Window.desktop.kt:409)
        at androidx.compose.ui.window.Window_desktopKt$Window$10.invoke(Window.desktop.kt:406)
        at androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$2.invoke(AwtWindow.desktop.kt:70)
        at androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$2.invoke(AwtWindow.desktop.kt:69)
        at androidx.compose.runtime.DisposableEffectImpl.onRemembered(Effects.kt:82)
        at androidx.compose.runtime.CompositionImpl$RememberEventDispatcher.dispatchRememberObservers(Composition.kt:1295)
        at androidx.compose.runtime.CompositionImpl.applyChangesInLocked(Composition.kt:984)
        at androidx.compose.runtime.CompositionImpl.applyChanges(Composition.kt:1005)
        at androidx.compose.runtime.Recomposer.composeInitial$runtime(Recomposer.kt:1099)
        at androidx.compose.runtime.CompositionImpl.composeInitial(Composition.kt:633)
        at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:619)
        at androidx.compose.ui.window.Application_desktopKt$awaitApplication$2$1$2.invokeSuspend(Application.desktop.kt:221)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
        at java.desktop@21.0.1/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
        at java.desktop@21.0.1/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
        at java.desktop@21.0.1/java.awt.EventQueue$4.run(EventQueue.java:720)
        at java.desktop@21.0.1/java.awt.EventQueue$4.run(EventQueue.java:714)
        at java.base@21.0.1/java.security.AccessController.executePrivileged(AccessController.java:129)
        at java.base@21.0.1/java.security.AccessController.doPrivileged(AccessController.java:400)
        at java.base@21.0.1/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.desktop@21.0.1/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
        at java.desktop@21.0.1/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at java.desktop@21.0.1/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at java.desktop@21.0.1/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at java.desktop@21.0.1/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at java.desktop@21.0.1/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.desktop@21.0.1/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
        at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:832)
        at org.graalvm.nativeimage.builder/com.oracle.svm.core.windows.WindowsPlatformThreads.osThreadStartRoutine(WindowsPlatformThreads.java:210)
Cannot open (null)\bin\jawt.dll

GraalVM 24:

=== Image generator watchdog detected no activity. This can be a sign of a deadlock during image building. Dumping all stack traces. Current time: Wed Jul 10 22:18:53 CST 2024
"main" Id=1 in RUNNABLE
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.PhiNode.canonical(PhiNode.java:263)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.PhiNode.canonical(PhiNode.java:52)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.tryCanonicalize(CanonicalizerPhase.java:576)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.processNode(CanonicalizerPhase.java:504)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.processWorkSet(CanonicalizerPhase.java:349)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.run(CanonicalizerPhase.java:246)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.run(CanonicalizerPhase.java:92)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:468)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:335)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.SVMHost.methodAfterParsingHook(SVMHost.java:652)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.AnalysisParsedGraph.optimizeAndEncode(AnalysisParsedGraph.java:163)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.AnalysisParsedGraph.parseBytecode(AnalysisParsedGraph.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.parseGraph(AnalysisMethod.java:887)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsedHelper(AnalysisMethod.java:852)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsed(AnalysisMethod.java:835)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:191)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:656)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:167)
      - locked com.oracle.graal.pointsto.flow.MethodTypeFlow@2adc064
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultVirtualInvokeTypeFlow.onObservedUpdate(DefaultVirtualInvokeTypeFlow.java:114)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow.update(TypeFlow.java:628)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.PointsToAnalysis$1.run(PointsToAnalysis.java:575)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:166)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda/0x00000000387bb4b0.run(Unknown Source)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1726)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1717)
    at java.base@24/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1641)
    at java.base@24/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base@24/java.util.concurrent.ForkJoinPool.externalHelpQuiesce(ForkJoinPool.java:2535)
    at java.base@24/java.util.concurrent.ForkJoinPool.helpQuiescePool(ForkJoinPool.java:2569)
    at java.base@24/java.util.concurrent.ForkJoinPool.awaitQuiescence(ForkJoinPool.java:3808)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.complete(CompletionExecutor.java:208)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.PointsToAnalysis.doTypeflow(PointsToAnalysis.java:615)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.PointsToAnalysis.finish(PointsToAnalysis.java:602)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.AbstractAnalysisEngine.runAnalysis(AbstractAnalysisEngine.java:160)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:829)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:590)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGenerator.run(NativeImageGenerator.java:552)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.buildImage(NativeImageGeneratorRunner.java:528)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.build(NativeImageGeneratorRunner.java:711)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.start(NativeImageGeneratorRunner.java:139)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.NativeImageGeneratorRunner.main(NativeImageGeneratorRunner.java:94)

    Locked synchronizers: count = 1
      - java.util.concurrent.locks.ReentrantLock$NonfairSync@76a2c9b5

"Reference Handler" Id=5 in RUNNABLE
    at java.base@24/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
    at java.base@24/java.lang.ref.Reference.processPendingReferences(Reference.java:246)
    at java.base@24/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:208)

"Finalizer" Id=6 in WAITING on lock=java.lang.ref.NativeReferenceQueue$Lock@1a6099e5
    at java.base@24/java.lang.Object.wait0(Native Method)
    at java.base@24/java.lang.Object.wait(Object.java:374)
    at java.base@24/java.lang.Object.wait(Object.java:348)
    at java.base@24/java.lang.ref.NativeReferenceQueue.await(NativeReferenceQueue.java:48)
    at java.base@24/java.lang.ref.ReferenceQueue.remove0(ReferenceQueue.java:166)
    at java.base@24/java.lang.ref.NativeReferenceQueue.remove(NativeReferenceQueue.java:89)
    at java.base@24/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:173)

"Signal Dispatcher" Id=7 in RUNNABLE

"Attach Listener" Id=8 in RUNNABLE

"Common-Cleaner" Id=15 in TIMED_WAITING on lock=java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@2780b11a
    at java.base@24/jdk.internal.misc.Unsafe.park(Native Method)
    at java.base@24/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269)
    at java.base@24/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1852)
    at java.base@24/java.lang.ref.ReferenceQueue.await(ReferenceQueue.java:79)
    at java.base@24/java.lang.ref.ReferenceQueue.remove0(ReferenceQueue.java:151)
    at java.base@24/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:229)
    at java.base@24/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140)
    at java.base@24/java.lang.Thread.runWith(Thread.java:1588)
    at java.base@24/java.lang.Thread.run(Thread.java:1575)
    at java.base@24/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:186)

"Notification Thread" Id=16 in RUNNABLE

"native-image pid watcher" Id=17 in TIMED_WAITING on lock=java.util.TaskQueue@7f5a9fed
    at java.base@24/java.lang.Object.wait0(Native Method)
    at java.base@24/java.lang.Object.wait(Object.java:374)
    at java.base@24/java.util.TimerThread.mainLoop(Timer.java:569)
    at java.base@24/java.util.TimerThread.run(Timer.java:522)

"Thread-1" Id=18 in RUNNABLE
    at java.management@24/sun.management.ThreadImpl.dumpThreads0(Native Method)
    at java.management@24/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:518)
    at java.management@24/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:506)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.DeadlockWatchdog.threadDump(DeadlockWatchdog.java:134)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.DeadlockWatchdog.reportFailureState(DeadlockWatchdog.java:102)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.DeadlockWatchdog.watchdogThread(DeadlockWatchdog.java:85)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.DeadlockWatchdog$$Lambda/0x00000000371abc38.run(Unknown Source)
    at java.base@24/java.lang.Thread.runWith(Thread.java:1588)
    at java.base@24/java.lang.Thread.run(Thread.java:1575)

"ForkJoinPool.commonPool-worker-1" Id=29 in WAITING on lock=java.util.concurrent.locks.ReentrantLock$NonfairSync@164136c
      owned by ForkJoinPool.commonPool-worker-2 Id=30
    at java.base@24/jdk.internal.misc.Unsafe.park(Native Method)
    at java.base@24/java.util.concurrent.locks.LockSupport.park(LockSupport.java:221)
    at java.base@24/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:754)
    at java.base@24/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:990)
    at java.base@24/java.util.concurrent.locks.ReentrantLock$Sync.lock(ReentrantLock.java:154)
    at java.base@24/java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:323)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.waitOnLock(AnalysisMethod.java:910)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsedHelper(AnalysisMethod.java:857)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsed(AnalysisMethod.java:835)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.lookupEncodedGraph(InlineBeforeAnalysisGraphDecoder.java:181)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.doInline(PEGraphDecoder.java:1215)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.tryInline(PEGraphDecoder.java:1198)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.trySimplifyInvoke(PEGraphDecoder.java:1053)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.handleInvokeWithCallTarget(PEGraphDecoder.java:1005)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.handleInvoke(PEGraphDecoder.java:991)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.GraphDecoder.processNextNode(GraphDecoder.java:926)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.processNextNode(InlineBeforeAnalysisGraphDecoder.java:269)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.GraphDecoder.decode(GraphDecoder.java:654)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.decode(PEGraphDecoder.java:895)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysis.decodeGraph(InlineBeforeAnalysis.java:73)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:200)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:656)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:167)
      - locked com.oracle.graal.pointsto.flow.MethodTypeFlow@1f550ed2
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultVirtualInvokeTypeFlow.onObservedUpdate(DefaultVirtualInvokeTypeFlow.java:114)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow.lambda$addObserver$0(TypeFlow.java:475)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow$$Lambda/0x0000000038822470.run(Unknown Source)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:166)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda/0x00000000387bb4b0.run(Unknown Source)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1726)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1717)
    at java.base@24/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1641)
    at java.base@24/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base@24/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1458)
    at java.base@24/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2034)
    at java.base@24/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189)

"ForkJoinPool.commonPool-worker-2" Id=30 in RUNNABLE
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.PhiNode.canonical(PhiNode.java:263)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.PhiNode.canonical(PhiNode.java:52)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.tryCanonicalize(CanonicalizerPhase.java:576)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.processNode(CanonicalizerPhase.java:504)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.processWorkSet(CanonicalizerPhase.java:349)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.run(CanonicalizerPhase.java:246)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.run(CanonicalizerPhase.java:92)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:468)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:335)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.SVMHost.methodAfterParsingHook(SVMHost.java:652)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.AnalysisParsedGraph.optimizeAndEncode(AnalysisParsedGraph.java:163)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.AnalysisParsedGraph.parseBytecode(AnalysisParsedGraph.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.parseGraph(AnalysisMethod.java:887)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsedHelper(AnalysisMethod.java:852)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsed(AnalysisMethod.java:835)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.lookupEncodedGraph(InlineBeforeAnalysisGraphDecoder.java:181)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.doInline(PEGraphDecoder.java:1215)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.tryInline(PEGraphDecoder.java:1198)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.trySimplifyInvoke(PEGraphDecoder.java:1053)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.handleInvokeWithCallTarget(PEGraphDecoder.java:1005)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.handleInvoke(PEGraphDecoder.java:991)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.GraphDecoder.processNextNode(GraphDecoder.java:926)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.processNextNode(InlineBeforeAnalysisGraphDecoder.java:269)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.GraphDecoder.decode(GraphDecoder.java:654)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.decode(PEGraphDecoder.java:895)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysis.decodeGraph(InlineBeforeAnalysis.java:73)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:200)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:656)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:167)
      - locked com.oracle.graal.pointsto.flow.MethodTypeFlow@23ce6a3b
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultVirtualInvokeTypeFlow.onObservedUpdate(DefaultVirtualInvokeTypeFlow.java:114)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow.lambda$addObserver$0(TypeFlow.java:475)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow$$Lambda/0x0000000038822470.run(Unknown Source)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:166)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda/0x00000000387bb4b0.run(Unknown Source)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1726)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1717)
    at java.base@24/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1641)
    at java.base@24/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base@24/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1458)
    at java.base@24/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2034)
    at java.base@24/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189)

    Locked synchronizers: count = 1
      - java.util.concurrent.locks.ReentrantLock$NonfairSync@164136c

"ForkJoinPool.commonPool-worker-3" Id=31 in BLOCKED on lock=com.oracle.graal.pointsto.flow.MethodTypeFlow@23ce6a3b
      owned by ForkJoinPool.commonPool-worker-2 Id=30
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:158)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultVirtualInvokeTypeFlow.onObservedUpdate(DefaultVirtualInvokeTypeFlow.java:114)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow.lambda$addObserver$0(TypeFlow.java:475)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow$$Lambda/0x0000000038822470.run(Unknown Source)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:166)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda/0x00000000387bb4b0.run(Unknown Source)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1726)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1717)
    at java.base@24/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1641)
    at java.base@24/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base@24/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1458)
    at java.base@24/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2034)
    at java.base@24/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189)

"ForkJoinPool.commonPool-worker-4" Id=32 in RUNNABLE
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.PhiNode.canonical(PhiNode.java:263)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.PhiNode.canonical(PhiNode.java:52)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.tryCanonicalize(CanonicalizerPhase.java:576)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.processNode(CanonicalizerPhase.java:504)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.processWorkSet(CanonicalizerPhase.java:349)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.run(CanonicalizerPhase.java:246)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.run(CanonicalizerPhase.java:92)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:468)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:335)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.SVMHost.methodAfterParsingHook(SVMHost.java:652)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.AnalysisParsedGraph.optimizeAndEncode(AnalysisParsedGraph.java:163)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.AnalysisParsedGraph.parseBytecode(AnalysisParsedGraph.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.parseGraph(AnalysisMethod.java:887)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsedHelper(AnalysisMethod.java:852)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsed(AnalysisMethod.java:835)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:191)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:656)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:167)
      - locked com.oracle.graal.pointsto.flow.MethodTypeFlow@8403c58
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultVirtualInvokeTypeFlow.onObservedUpdate(DefaultVirtualInvokeTypeFlow.java:114)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow.lambda$addObserver$0(TypeFlow.java:475)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow$$Lambda/0x0000000038822470.run(Unknown Source)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:166)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda/0x00000000387bb4b0.run(Unknown Source)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1726)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1717)
    at java.base@24/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1641)
    at java.base@24/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base@24/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1458)
    at java.base@24/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2034)
    at java.base@24/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189)

    Locked synchronizers: count = 1
      - java.util.concurrent.locks.ReentrantLock$NonfairSync@3fd4801c

"ForkJoinPool.commonPool-worker-5" Id=33 in BLOCKED on lock=com.oracle.graal.pointsto.flow.MethodTypeFlow@1e8a1bf9
      owned by ForkJoinPool.commonPool-worker-9 Id=37
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:158)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultVirtualInvokeTypeFlow.onObservedUpdate(DefaultVirtualInvokeTypeFlow.java:114)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow.update(TypeFlow.java:628)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.PointsToAnalysis$1.run(PointsToAnalysis.java:575)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:166)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda/0x00000000387bb4b0.run(Unknown Source)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1726)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1717)
    at java.base@24/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1641)
    at java.base@24/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base@24/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1458)
    at java.base@24/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2034)
    at java.base@24/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189)

"ForkJoinPool.commonPool-worker-6" Id=34 in WAITING on lock=java.util.concurrent.locks.ReentrantLock$NonfairSync@47ee62cd
      owned by ForkJoinPool.commonPool-worker-8 Id=36
    at java.base@24/jdk.internal.misc.Unsafe.park(Native Method)
    at java.base@24/java.util.concurrent.locks.LockSupport.park(LockSupport.java:221)
    at java.base@24/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:754)
    at java.base@24/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:990)
    at java.base@24/java.util.concurrent.locks.ReentrantLock$Sync.lock(ReentrantLock.java:154)
    at java.base@24/java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:323)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.waitOnLock(AnalysisMethod.java:910)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsedHelper(AnalysisMethod.java:857)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsed(AnalysisMethod.java:835)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.lookupEncodedGraph(InlineBeforeAnalysisGraphDecoder.java:181)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.doInline(PEGraphDecoder.java:1215)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.tryInline(PEGraphDecoder.java:1198)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.trySimplifyInvoke(PEGraphDecoder.java:1053)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.handleInvokeWithCallTarget(PEGraphDecoder.java:1005)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.handleInvoke(PEGraphDecoder.java:991)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.GraphDecoder.processNextNode(GraphDecoder.java:926)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.processNextNode(InlineBeforeAnalysisGraphDecoder.java:269)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.GraphDecoder.decode(GraphDecoder.java:654)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.decode(PEGraphDecoder.java:895)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysis.decodeGraph(InlineBeforeAnalysis.java:73)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:200)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:656)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:167)
      - locked com.oracle.graal.pointsto.flow.MethodTypeFlow@4e4535a1
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultSpecialInvokeTypeFlow.lambda$onObservedUpdate$0(DefaultSpecialInvokeTypeFlow.java:88)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultSpecialInvokeTypeFlow$$Lambda/0x0000000038822f98.accept(Unknown Source)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.LightImmutableCollection.forEach(LightImmutableCollection.java:90)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultSpecialInvokeTypeFlow.onObservedUpdate(DefaultSpecialInvokeTypeFlow.java:87)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow.update(TypeFlow.java:628)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.PointsToAnalysis$1.run(PointsToAnalysis.java:575)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:166)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda/0x00000000387bb4b0.run(Unknown Source)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1726)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1717)
    at java.base@24/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1641)
    at java.base@24/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base@24/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1458)
    at java.base@24/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2034)
    at java.base@24/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189)

"ForkJoinPool.commonPool-worker-7" Id=35 in WAITING on lock=java.util.concurrent.locks.ReentrantLock$NonfairSync@76a2c9b5
      owned by main Id=1
    at java.base@24/jdk.internal.misc.Unsafe.park(Native Method)
    at java.base@24/java.util.concurrent.locks.LockSupport.park(LockSupport.java:221)
    at java.base@24/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:754)
    at java.base@24/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:990)
    at java.base@24/java.util.concurrent.locks.ReentrantLock$Sync.lock(ReentrantLock.java:154)
    at java.base@24/java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:323)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.waitOnLock(AnalysisMethod.java:910)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsedHelper(AnalysisMethod.java:857)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsed(AnalysisMethod.java:835)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.lookupEncodedGraph(InlineBeforeAnalysisGraphDecoder.java:181)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.doInline(PEGraphDecoder.java:1215)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.tryInline(PEGraphDecoder.java:1198)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.trySimplifyInvoke(PEGraphDecoder.java:1053)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.handleInvokeWithCallTarget(PEGraphDecoder.java:1005)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.handleInvoke(PEGraphDecoder.java:991)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.GraphDecoder.processNextNode(GraphDecoder.java:926)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.processNextNode(InlineBeforeAnalysisGraphDecoder.java:269)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.GraphDecoder.decode(GraphDecoder.java:654)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.decode(PEGraphDecoder.java:895)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysis.decodeGraph(InlineBeforeAnalysis.java:73)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:200)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:656)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:167)
      - locked com.oracle.graal.pointsto.flow.MethodTypeFlow@5c21de4c
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultVirtualInvokeTypeFlow.onObservedUpdate(DefaultVirtualInvokeTypeFlow.java:114)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow.update(TypeFlow.java:628)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.PointsToAnalysis$1.run(PointsToAnalysis.java:575)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:166)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda/0x00000000387bb4b0.run(Unknown Source)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1726)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1717)
    at java.base@24/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1641)
    at java.base@24/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base@24/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1458)
    at java.base@24/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2034)
    at java.base@24/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189)

"ForkJoinPool.commonPool-worker-8" Id=36 in RUNNABLE
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.PhiNode.canonical(PhiNode.java:263)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.PhiNode.canonical(PhiNode.java:52)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.tryCanonicalize(CanonicalizerPhase.java:576)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.processNode(CanonicalizerPhase.java:504)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.processWorkSet(CanonicalizerPhase.java:349)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.run(CanonicalizerPhase.java:246)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.run(CanonicalizerPhase.java:92)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:468)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:335)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.SVMHost.methodAfterParsingHook(SVMHost.java:652)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.AnalysisParsedGraph.optimizeAndEncode(AnalysisParsedGraph.java:163)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.AnalysisParsedGraph.parseBytecode(AnalysisParsedGraph.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.parseGraph(AnalysisMethod.java:887)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsedHelper(AnalysisMethod.java:852)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsed(AnalysisMethod.java:835)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.lookupEncodedGraph(InlineBeforeAnalysisGraphDecoder.java:181)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.doInline(PEGraphDecoder.java:1215)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.tryInline(PEGraphDecoder.java:1198)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.trySimplifyInvoke(PEGraphDecoder.java:1053)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.handleInvokeWithCallTarget(PEGraphDecoder.java:1005)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.handleInvoke(PEGraphDecoder.java:991)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.GraphDecoder.processNextNode(GraphDecoder.java:926)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.processNextNode(InlineBeforeAnalysisGraphDecoder.java:269)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.GraphDecoder.decode(GraphDecoder.java:654)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.decode(PEGraphDecoder.java:895)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysis.decodeGraph(InlineBeforeAnalysis.java:73)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:200)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:656)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:167)
      - locked com.oracle.graal.pointsto.flow.MethodTypeFlow@123a53e2
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultSpecialInvokeTypeFlow.lambda$onObservedUpdate$0(DefaultSpecialInvokeTypeFlow.java:88)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultSpecialInvokeTypeFlow$$Lambda/0x0000000038822f98.accept(Unknown Source)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.LightImmutableCollection.forEach(LightImmutableCollection.java:90)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultSpecialInvokeTypeFlow.onObservedUpdate(DefaultSpecialInvokeTypeFlow.java:87)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow.update(TypeFlow.java:628)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.PointsToAnalysis$1.run(PointsToAnalysis.java:575)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:166)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda/0x00000000387bb4b0.run(Unknown Source)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1726)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1717)
    at java.base@24/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1641)
    at java.base@24/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base@24/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1458)
    at java.base@24/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2034)
    at java.base@24/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189)

    Locked synchronizers: count = 1
      - java.util.concurrent.locks.ReentrantLock$NonfairSync@47ee62cd

"ForkJoinPool.commonPool-worker-9" Id=37 in RUNNABLE
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.PhiNode.canonical(PhiNode.java:263)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.PhiNode.canonical(PhiNode.java:52)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.tryCanonicalize(CanonicalizerPhase.java:576)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.processNode(CanonicalizerPhase.java:504)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.processWorkSet(CanonicalizerPhase.java:349)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.run(CanonicalizerPhase.java:246)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.common.CanonicalizerPhase.run(CanonicalizerPhase.java:92)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:468)
    at platform/jdk.graal.compiler/jdk.graal.compiler.phases.BasePhase.apply(BasePhase.java:335)
    at app/org.graalvm.nativeimage.builder/com.oracle.svm.hosted.SVMHost.methodAfterParsingHook(SVMHost.java:652)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.AnalysisParsedGraph.optimizeAndEncode(AnalysisParsedGraph.java:163)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.AnalysisParsedGraph.parseBytecode(AnalysisParsedGraph.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.parseGraph(AnalysisMethod.java:887)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsedHelper(AnalysisMethod.java:852)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.meta.AnalysisMethod.ensureGraphParsed(AnalysisMethod.java:835)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.lookupEncodedGraph(InlineBeforeAnalysisGraphDecoder.java:181)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.doInline(PEGraphDecoder.java:1215)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.tryInline(PEGraphDecoder.java:1198)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.trySimplifyInvoke(PEGraphDecoder.java:1053)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.handleInvokeWithCallTarget(PEGraphDecoder.java:1005)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.handleInvoke(PEGraphDecoder.java:991)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.GraphDecoder.processNextNode(GraphDecoder.java:926)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysisGraphDecoder.processNextNode(InlineBeforeAnalysisGraphDecoder.java:269)
    at platform/jdk.graal.compiler/jdk.graal.compiler.nodes.GraphDecoder.decode(GraphDecoder.java:654)
    at platform/jdk.graal.compiler/jdk.graal.compiler.replacements.PEGraphDecoder.decode(PEGraphDecoder.java:895)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.phases.InlineBeforeAnalysis.decodeGraph(InlineBeforeAnalysis.java:73)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.parse(MethodTypeFlowBuilder.java:200)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlowBuilder.apply(MethodTypeFlowBuilder.java:656)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:167)
      - locked com.oracle.graal.pointsto.flow.MethodTypeFlow@1e8a1bf9
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultVirtualInvokeTypeFlow.onObservedUpdate(DefaultVirtualInvokeTypeFlow.java:114)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow.update(TypeFlow.java:628)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.PointsToAnalysis$1.run(PointsToAnalysis.java:575)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:166)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda/0x00000000387bb4b0.run(Unknown Source)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1726)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1717)
    at java.base@24/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1641)
    at java.base@24/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base@24/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1458)
    at java.base@24/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2034)
    at java.base@24/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189)

    Locked synchronizers: count = 1
      - java.util.concurrent.locks.ReentrantLock$NonfairSync@75b58439

"ForkJoinPool.commonPool-worker-10" Id=38 in BLOCKED on lock=com.oracle.graal.pointsto.flow.MethodTypeFlow@2adc064
      owned by main Id=1
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:158)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultVirtualInvokeTypeFlow.onObservedUpdate(DefaultVirtualInvokeTypeFlow.java:114)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow.lambda$addObserver$0(TypeFlow.java:475)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow$$Lambda/0x0000000038822470.run(Unknown Source)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:166)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda/0x00000000387bb4b0.run(Unknown Source)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1726)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1717)
    at java.base@24/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1641)
    at java.base@24/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base@24/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1458)
    at java.base@24/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2034)
    at java.base@24/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189)

"ForkJoinPool.commonPool-worker-11" Id=39 in BLOCKED on lock=com.oracle.graal.pointsto.flow.MethodTypeFlow@23ce6a3b
      owned by ForkJoinPool.commonPool-worker-2 Id=30
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.createFlowsGraph(MethodTypeFlow.java:158)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.ensureFlowsGraphCreated(MethodTypeFlow.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.MethodTypeFlow.getOrCreateMethodFlowsGraphInfo(MethodTypeFlow.java:110)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.typestate.DefaultVirtualInvokeTypeFlow.onObservedUpdate(DefaultVirtualInvokeTypeFlow.java:114)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow.lambda$addObserver$0(TypeFlow.java:475)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.flow.TypeFlow$$Lambda/0x0000000038822470.run(Unknown Source)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.executeCommand(CompletionExecutor.java:166)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor.lambda$executeService$0(CompletionExecutor.java:152)
    at app/org.graalvm.nativeimage.pointsto/com.oracle.graal.pointsto.util.CompletionExecutor$$Lambda/0x00000000387bb4b0.run(Unknown Source)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1726)
    at java.base@24/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.compute(ForkJoinTask.java:1717)
    at java.base@24/java.util.concurrent.ForkJoinTask$InterruptibleTask.exec(ForkJoinTask.java:1641)
    at java.base@24/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
    at java.base@24/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1458)
    at java.base@24/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2034)
    at java.base@24/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:189)


=== Memory statistics (in MB):
=== Used heap size: 1360
=== Free heap size: 31
=== Maximum heap size: 10720
=== Image generator watchdog is aborting image generation. To configure the watchdog, use the options -H:DeadlockWatchdogInterval=10 and -H:+DeadlockWatchdogExitOnTimeout
Error: Image build request for 'TyuShare' (pid: 4012, path: D:\IdeaProjects\TyuShare\build\native\nativeCompile) failed with exit status 30
@selhagani
Copy link
Member

Hi flben233, thanks for reaching out to us.

Could you please specify the exact versions of GraalVM that you are using? You can check by running the java --version command.
Also could you please provide a reproducer to your issue alongside the steps needed to reproduce it?

Thank you.

@flben233
Copy link
Author

Java Version
GraalVM 21:

java 21.0.1 2023-10-17
Java(TM) SE Runtime Environment Oracle GraalVM 21.0.1+12.1 (build 21.0.1+12-jvmci-23.1-b19)
Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 21.0.1+12.1 (build 21.0.1+12-jvmci-23.1-b19, mixed mode, sharing)

GraalVM 24:

openjdk 24 2025-03-18
OpenJDK Runtime Environment GraalVM CE 24-dev+4.1 (build 24+4-jvmci-b01)
OpenJDK 64-Bit Server VM GraalVM CE 24-dev+4.1 (build 24+4-jvmci-b01, mixed mode, sharing)

Steps to reproduce

Code here

Commands (I ran them in x64 Native Tools Command Prompt for VS 2022 in the project root):

.\gradlew -Pagent run
.\gradlew metadataCopy --task run --dir src\main\resources\META-INF\native-image
.\gradlew nativeBuild
.\build\native\TyuShare.exe    # run output exe

@oubidar-Abderrahim
Copy link
Member

@flben233 Thank you for sharing the reproducer, I'm afraid I cannot reproduce the issue with the provided steps.

Please create a native image bundle of your application and share it with us, you can find details on how to generate bundles in here: https://www.graalvm.org/latest/reference-manual/native-image/overview/Bundles/

@flben233
Copy link
Author

@oubidar-Abderrahim When I tried to create bundle, it told me:

Error: Failed to read bundle launcher resources '\com\oracle\svm\driver\launcher'
Caused by: java.lang.NullPointerException"

I also tried graalvm-community-openjdk-22.0.2+9.1 and I got the same output.

My graal configuration in build.gradle.kts is:

java {
    toolchain {
        languageVersion.set(JavaLanguageVersion.of(21))
    }
}

graalvmNative {
    toolchainDetection.set(false)
    binaries{
        named("main"){
            mainClass.set("MainKt")
            imageName.set("TyuShare")
            buildArgs("-O4", "--bundle-create")
        }
    }

    agent{
        metadataCopy {
            mergeWithExisting.set(true)
        }
    }
}

Full output:

D:\IdeaProjects\TyuShare>.\gradlew nativeCompile

> Task :nativeCompile FAILED
[native-image-plugin] GraalVM Toolchain detection is disabled
[native-image-plugin] GraalVM location read from environment variable: JAVA_HOME
[native-image-plugin] Native Image executable path: D:\Env\graalvm-jdk-21.0.1+12.1\bin\native-image.cmd

Error: Failed to read bundle launcher resources '\com\oracle\svm\driver\launcher'

Caused by: java.lang.NullPointerException

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':nativeCompile'.
> Process 'command 'D:\Env\graalvm-jdk-21.0.1+12.1\bin\native-image.cmd'' finished with non-zero exit value 20

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 4s
9 actionable tasks: 1 executed, 8 up-to-date

@selhagani
Copy link
Member

Thank you for providing this information.

Do you manage to build your project when using the latest GraalVM ce build? You can find it using this link: https://github.com/graalvm/graalvm-ce-builds/releases

If not, could you please share the error you encounter? Otherwise you can share with us the error you see when trying to run the executable using the latest GraalVM ce build from the provided link.

Thank you.

@flben233
Copy link
Author

I got the same error with the latest GraalVM CE:
Version:

D:\IdeaProjects\TyuShare>java --version
openjdk 22.0.2 2024-07-16
OpenJDK Runtime Environment GraalVM CE 22.0.2+9.1 (build 22.0.2+9-jvmci-b01)
OpenJDK 64-Bit Server VM GraalVM CE 22.0.2+9.1 (build 22.0.2+9-jvmci-b01, mixed mode, sharing)

Output:

D:\IdeaProjects\TyuShare>.\build\native\nativeCompile\TyuShare.exe
java.lang.Error: no ComponentUI class for: javax.swing.JRootPane[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=1,maximumSize=,minimumSize=,preferredSize=]
        at java.desktop@22.0.2/javax.swing.UIDefaults.getUIError(UIDefaults.java:763)
        at java.desktop@22.0.2/javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:144)
        at java.desktop@22.0.2/javax.swing.UIDefaults.getUI(UIDefaults.java:793)
        at java.desktop@22.0.2/javax.swing.UIManager.getUI(UIManager.java:1070)
        at java.desktop@22.0.2/javax.swing.JRootPane.updateUI(JRootPane.java:447)
        at java.desktop@22.0.2/javax.swing.JRootPane.<init>(JRootPane.java:341)
        at java.desktop@22.0.2/javax.swing.JFrame.createRootPane(JFrame.java:279)
        at java.desktop@22.0.2/javax.swing.JFrame.frameInit(JFrame.java:258)
        at java.desktop@22.0.2/javax.swing.JFrame.<init>(JFrame.java:205)
        at androidx.compose.ui.awt.ComposeWindow.<init>(ComposeWindow.desktop.kt:53)
        at androidx.compose.ui.awt.ComposeWindow.<init>(ComposeWindow.desktop.kt:63)
        at androidx.compose.ui.window.Window_desktopKt$Window$3.invoke(Window.desktop.kt:182)
        at androidx.compose.ui.window.Window_desktopKt$Window$3.invoke(Window.desktop.kt:176)
        at androidx.compose.ui.window.Window_desktopKt$Window$10.invoke(Window.desktop.kt:409)
        at androidx.compose.ui.window.Window_desktopKt$Window$10.invoke(Window.desktop.kt:406)
        at androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$2.invoke(AwtWindow.desktop.kt:70)
        at androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$2.invoke(AwtWindow.desktop.kt:69)
        at androidx.compose.runtime.DisposableEffectImpl.onRemembered(Effects.kt:82)
        at androidx.compose.runtime.CompositionImpl$RememberEventDispatcher.dispatchRememberObservers(Composition.kt:1295)
        at androidx.compose.runtime.CompositionImpl.applyChangesInLocked(Composition.kt:984)
        at androidx.compose.runtime.CompositionImpl.applyChanges(Composition.kt:1005)
        at androidx.compose.runtime.Recomposer.composeInitial$runtime(Recomposer.kt:1099)
        at androidx.compose.runtime.CompositionImpl.composeInitial(Composition.kt:633)
        at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:619)
        at androidx.compose.ui.window.Application_desktopKt$awaitApplication$2$1$2.invokeSuspend(Application.desktop.kt:221)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
        at java.desktop@22.0.2/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
        at java.desktop@22.0.2/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
        at java.desktop@22.0.2/java.awt.EventQueue$4.run(EventQueue.java:720)
        at java.desktop@22.0.2/java.awt.EventQueue$4.run(EventQueue.java:714)
        at java.base@22.0.2/java.security.AccessController.executePrivileged(AccessController.java:128)
        at java.base@22.0.2/java.security.AccessController.doPrivileged(AccessController.java:400)
        at java.base@22.0.2/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.desktop@22.0.2/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
        at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:853)
        at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:829)
Cannot open (null)\bin\jawt.dll

In fact, I searched for Cannot open (null)\bin\jawt.dll and find a solution, which is specifying -Djava.home=$JAVA_HOME so that program can find the jawt.dll (Refer to #3084). It ran properly but java.lang.Error: no ComponentUI class for: javax.swing.JRootPane still existed.
The output is:

D:\IdeaProjects\TyuShare>.\build\native\nativeCompile\TyuShare.exe -Djava.home=D:\Env\graalvm-community-openjdk-22.0.2+9.1
java.lang.Error: no ComponentUI class for: javax.swing.JRootPane[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=1,maximumSize=,minimumSize=,preferredSize=]
        at java.desktop@22.0.2/javax.swing.UIDefaults.getUIError(UIDefaults.java:763)
        at java.desktop@22.0.2/javax.swing.MultiUIDefaults.getUIError(MultiUIDefaults.java:144)
        at java.desktop@22.0.2/javax.swing.UIDefaults.getUI(UIDefaults.java:793)
        at java.desktop@22.0.2/javax.swing.UIManager.getUI(UIManager.java:1070)
        at java.desktop@22.0.2/javax.swing.JRootPane.updateUI(JRootPane.java:447)
        at java.desktop@22.0.2/javax.swing.JRootPane.<init>(JRootPane.java:341)
        at java.desktop@22.0.2/javax.swing.JFrame.createRootPane(JFrame.java:279)
        at java.desktop@22.0.2/javax.swing.JFrame.frameInit(JFrame.java:258)
        at java.desktop@22.0.2/javax.swing.JFrame.<init>(JFrame.java:205)
        at androidx.compose.ui.awt.ComposeWindow.<init>(ComposeWindow.desktop.kt:53)
        at androidx.compose.ui.awt.ComposeWindow.<init>(ComposeWindow.desktop.kt:63)
        at androidx.compose.ui.window.Window_desktopKt$Window$3.invoke(Window.desktop.kt:182)
        at androidx.compose.ui.window.Window_desktopKt$Window$3.invoke(Window.desktop.kt:176)
        at androidx.compose.ui.window.Window_desktopKt$Window$10.invoke(Window.desktop.kt:409)
        at androidx.compose.ui.window.Window_desktopKt$Window$10.invoke(Window.desktop.kt:406)
        at androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$2.invoke(AwtWindow.desktop.kt:70)
        at androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$2.invoke(AwtWindow.desktop.kt:69)
        at androidx.compose.runtime.DisposableEffectImpl.onRemembered(Effects.kt:82)
        at androidx.compose.runtime.CompositionImpl$RememberEventDispatcher.dispatchRememberObservers(Composition.kt:1295)
        at androidx.compose.runtime.CompositionImpl.applyChangesInLocked(Composition.kt:984)
        at androidx.compose.runtime.CompositionImpl.applyChanges(Composition.kt:1005)
        at androidx.compose.runtime.Recomposer.composeInitial$runtime(Recomposer.kt:1099)
        at androidx.compose.runtime.CompositionImpl.composeInitial(Composition.kt:633)
        at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:619)
        at androidx.compose.ui.window.Application_desktopKt$awaitApplication$2$1$2.invokeSuspend(Application.desktop.kt:221)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
        at java.desktop@22.0.2/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
        at java.desktop@22.0.2/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
        at java.desktop@22.0.2/java.awt.EventQueue$4.run(EventQueue.java:720)
        at java.desktop@22.0.2/java.awt.EventQueue$4.run(EventQueue.java:714)
        at java.base@22.0.2/java.security.AccessController.executePrivileged(AccessController.java:128)
        at java.base@22.0.2/java.security.AccessController.doPrivileged(AccessController.java:400)
        at java.base@22.0.2/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.desktop@22.0.2/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
        at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:853)
        at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:829)
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
Aug 13, 2024 8:00:08 PM com.sun.jna.Native <clinit>
WARNING: Failed to get charset for native.encoding value : 'GBK'
java.nio.charset.UnsupportedCharsetException: GBK
        at java.base@22.0.2/java.nio.charset.Charset.forName(Charset.java:559)
        at com.sun.jna.Native.<clinit>(Native.java:133)
        at com.sun.jna.Structure.setAlignType(Structure.java:291)
        at com.sun.jna.Structure.<init>(Structure.java:208)
        at com.sun.jna.Structure.<init>(Structure.java:204)
        at com.sun.jna.Structure.<init>(Structure.java:191)
        at com.sun.jna.Structure.<init>(Structure.java:183)
        at com.sun.jna.platform.win32.WinNT$OSVERSIONINFOEX.<init>(WinNT.java:1980)
        at com.sun.jna.platform.win32.VersionHelpers.IsWindowsVersionOrGreater(VersionHelpers.java:59)
        at com.sun.jna.platform.win32.VersionHelpers.IsWindows8OrGreater(VersionHelpers.java:170)
        at oshi.hardware.platform.windows.WindowsCentralProcessor.<clinit>(WindowsCentralProcessor.java:73)
        at oshi.hardware.platform.windows.WindowsHardwareAbstractionLayer.createProcessor(WindowsHardwareAbstractionLayer.java:42)
        at oshi.util.Memoizer$1.get(Memoizer.java:61)
        at oshi.hardware.common.AbstractHardwareAbstractionLayer.getProcessor(AbstractHardwareAbstractionLayer.java:48)
        at util.HardwareUtil.<init>(HardwareUtil.kt:8)
        at util.HardwareUtil.<init>(HardwareUtil.kt)
        at util.HardwareUtil$Default.<init>(HardwareUtil.kt:6)
        at util.HardwareUtil$Default.<init>(HardwareUtil.kt)
        at util.HardwareUtil.<clinit>(HardwareUtil.kt)
        at view.ConnectViewKt$ConnectView$1$1.invokeSuspend(ConnectView.kt:61)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
        at androidx.compose.ui.platform.FlushCoroutineDispatcher$flush$1.invoke(FlushCoroutineDispatcher.skiko.kt:90)
        at androidx.compose.ui.platform.FlushCoroutineDispatcher$flush$1.invoke(FlushCoroutineDispatcher.skiko.kt:78)
        at androidx.compose.ui.platform.FlushCoroutineDispatcher.performRun(FlushCoroutineDispatcher.skiko.kt:99)
        at androidx.compose.ui.platform.FlushCoroutineDispatcher.flush(FlushCoroutineDispatcher.skiko.kt:78)
        at androidx.compose.ui.scene.ComposeSceneRecomposer.performScheduledEffects(ComposeSceneRecomposer.skiko.kt:91)
        at androidx.compose.ui.scene.BaseComposeScene.render(BaseComposeScene.skiko.kt:157)
        at androidx.compose.ui.scene.ComposeSceneMediator.onRender(ComposeSceneMediator.desktop.kt:537)
        at org.jetbrains.skiko.SkiaLayer.update$skiko(SkiaLayer.awt.kt:485)
        at org.jetbrains.skiko.redrawer.AWTRedrawer.update(AWTRedrawer.kt:54)
        at org.jetbrains.skiko.redrawer.Direct3DRedrawer.redrawImmediately(Direct3DRedrawer.kt:74)
        at org.jetbrains.skiko.SkiaLayer.paint(SkiaLayer.awt.kt:325)
        at androidx.compose.ui.scene.skia.WindowSkiaLayerComponent$contentComponent$1.paint(WindowSkiaLayerComponent.desktop.kt:54)
        at java.desktop@22.0.2/javax.swing.JComponent.paintChildren(JComponent.java:961)
        at java.desktop@22.0.2/javax.swing.JComponent.paint(JComponent.java:1137)
        at java.desktop@22.0.2/javax.swing.JLayeredPane.paint(JLayeredPane.java:586)
        at java.desktop@22.0.2/javax.swing.JComponent.paintChildren(JComponent.java:961)
        at java.desktop@22.0.2/javax.swing.JComponent.paint(JComponent.java:1137)
        at androidx.compose.ui.window.Window_desktopKt$Window$12$1.invoke(Window.desktop.kt:434)
        at androidx.compose.ui.window.Window_desktopKt$Window$12$1.invoke(Window.desktop.kt:419)
        at androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$3.invoke(AwtWindow.desktop.kt:78)
        at androidx.compose.ui.window.AwtWindow_desktopKt$AwtWindow$3.invoke(AwtWindow.desktop.kt:76)
        at androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2$performUpdate$1.invoke(UpdateEffect.desktop.kt:59)
        at androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2$performUpdate$1.invoke(UpdateEffect.desktop.kt:55)
        at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:2304)
        at androidx.compose.runtime.snapshots.SnapshotStateObserver$ObservedScopeMap.observe(SnapshotStateObserver.kt:504)
        at androidx.compose.runtime.snapshots.SnapshotStateObserver.observeReads(SnapshotStateObserver.kt:260)
        at androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2.invoke$performUpdate(UpdateEffect.desktop.kt:55)
        at androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2.invoke(UpdateEffect.desktop.kt:64)
        at androidx.compose.ui.util.UpdateEffect_desktopKt$UpdateEffect$2.invoke(UpdateEffect.desktop.kt:47)
        at androidx.compose.runtime.DisposableEffectImpl.onRemembered(Effects.kt:82)
        at androidx.compose.runtime.CompositionImpl$RememberEventDispatcher.dispatchRememberObservers(Composition.kt:1295)
        at androidx.compose.runtime.CompositionImpl.applyChangesInLocked(Composition.kt:984)
        at androidx.compose.runtime.CompositionImpl.applyChanges(Composition.kt:1005)
        at androidx.compose.runtime.Recomposer.composeInitial$runtime(Recomposer.kt:1099)
        at androidx.compose.runtime.CompositionImpl.composeInitial(Composition.kt:633)
        at androidx.compose.runtime.CompositionImpl.setContent(Composition.kt:619)
        at androidx.compose.ui.window.Application_desktopKt$awaitApplication$2$1$2.invokeSuspend(Application.desktop.kt:221)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
        at java.desktop@22.0.2/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
        at java.desktop@22.0.2/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
        at java.desktop@22.0.2/java.awt.EventQueue$4.run(EventQueue.java:720)
        at java.desktop@22.0.2/java.awt.EventQueue$4.run(EventQueue.java:714)
        at java.base@22.0.2/java.security.AccessController.executePrivileged(AccessController.java:128)
        at java.base@22.0.2/java.security.AccessController.doPrivileged(AccessController.java:400)
        at java.base@22.0.2/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.desktop@22.0.2/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.desktop@22.0.2/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
        at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:853)
        at org.graalvm.nativeimage.builder/com.oracle.svm.core.thread.PlatformThreads.threadStartRoutine(PlatformThreads.java:829)

@selhagani
Copy link
Member

Hi @flben233,

Thank you for providing that information.
Unfortunately I am unable to reproduce the issue either. Could you perhaps share a simpler reproducer that we can use please?

Thank you.

@flben233
Copy link
Author

@selhagani
Minimized code:

fun main() {
    // I place jawt.dll in <Program Root>/bin to avoid the error caused by AWT
    if (System.getProperty("java.home") == null) {
        System.setProperty("java.home", ".")
    }
    application {
        val state = rememberWindowState(placement = WindowPlacement.Floating)
        Window(
            undecorated = true,
            onCloseRequest = {},
            state = state,
            transparent = true
        ) {
            Surface(
                modifier = Modifier.padding(10.dp).size(400.dp, 600.dp),
                color = MaterialTheme.colorScheme.background,
            ) {}
        }
    }
}

Compose Multiplatform Version: 1.6.11

@selhagani
Copy link
Member

Unfortunately, I’m still unable to reproduce the issue on my end. Could you kindly provide the exact steps you take with the simpler reproducer so I can better understand how the problem occurs?

@selhagani
Copy link
Member

Since there hasn’t been any activity for over two weeks, I’ll be closing this issue for now. Thank you for your understanding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants