Col-E / Recaf

The modern Java bytecode editor
https://recaf.coley.software
MIT License
6.06k stars 467 forks source link

Recaf crash #876

Closed RubinBonBon8833 closed 1 week ago

RubinBonBon8833 commented 1 week ago

Diagnostics:


JavaFX on Recaf's classpath was too old

20:55:56.513 [AccessPatcher/main] DEBUG: Opening access to all packages
20:55:56.526 [AccessPatcher/main] DEBUG: Patching package reflection restrictions
20:55:56.617 [JFXValidation/main] ERROR: JavaFX version 18 is present, but Recaf requires 19+
Exit code: 105
Java
 - Version (Runtime): 23+37
 - Version (Raw):     23
 - Vendor:            Eclipse Adoptium
 - Home:              C:\Program Files\Eclipse Adoptium\jdk-23.0.0.37-hotspot
JavaFX
 - Version (Runtime): 18-ea+8
 - Version (Raw):     18-ea
Operating System
 - Name:           Windows 11
 - Version:        10.0
 - Architecture:   amd64
 - Processors:     24
 - Path Separator: ;
Recaf
 - Version:    4.0.0-SNAPSHOT
 - Build hash: 02ba1332c7a7ba9e787cec3f5e359b850d81d50c
 - Build date: 2024 11/03 06:15
Launch
 - Args: software.coley.recaf.Main
Classpath:
 - File: recaf.jar
   - SHA1: fa7a5374962a299873930203aaa6b80782a6bc85
 - File: dependencies\javafx-base-18-ea+8-win.jar
   - SHA1: d1dd1ef4069172b8998f1fe85392f5b825c8b4db
 - File: dependencies\javafx-controls-18-ea+8-win.jar
   - SHA1: 0bef8929620e4391524ed0c8e91f473bd4c6ea61
 - File: dependencies\javafx-graphics-18-ea+8-win.jar
   - SHA1: 3ac520ab065e0c3dabf6a7f709a20e44de06ade9
 - File: dependencies\javafx-media-18-ea+8-win.jar
   - SHA1: 9003a356551391d0e20b91a76aacfb2de3a83821
Threads
 - Attach Listener [RUNNABLE]
 - Signal Dispatcher [RUNNABLE]
 - Reference Handler [RUNNABLE]
   - java.base@23/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
   - java.base@23/java.lang.ref.Reference.processPendingReferences(Reference.java:246)
   - java.base@23/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:208)
 - Finalizer [WAITING]
   - java.base@23/java.lang.Object.wait0(Native Method)
   - java.base@23/java.lang.Object.wait(Object.java:378)
   - java.base@23/java.lang.Object.wait(Object.java:352)
   - java.base@23/java.lang.ref.NativeReferenceQueue.await(NativeReferenceQueue.java:48)
   - java.base@23/java.lang.ref.ReferenceQueue.remove0(ReferenceQueue.java:166)
   - java.base@23/java.lang.ref.NativeReferenceQueue.remove(NativeReferenceQueue.java:89)
   - java.base@23/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:173)
 - Common-Cleaner [TIMED_WAITING]
   - java.base@23/jdk.internal.misc.Unsafe.park(Native Method)
   - java.base@23/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269)
   - java.base@23/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1852)
   - java.base@23/java.lang.ref.ReferenceQueue.await(ReferenceQueue.java:79)
   - java.base@23/java.lang.ref.ReferenceQueue.remove0(ReferenceQueue.java:151)
   - java.base@23/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:229)
   - java.base@23/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140)
   - java.base@23/java.lang.Thread.runWith(Thread.java:1588)
   - java.base@23/java.lang.Thread.run(Thread.java:1575)
   - java.base@23/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:186)
 - Notification Thread [RUNNABLE]
 - main [RUNNABLE]
   - java.base@23/java.lang.Thread.dumpThreads(Native Method)
   - java.base@23/java.lang.Thread.getAllStackTraces(Thread.java:2460)
   - app//software.coley.recaf.ExitDebugLoggingHook.handle(ExitDebugLoggingHook.java:191)
   - app//software.coley.recaf.ExitDebugLoggingHook.run(ExitDebugLoggingHook.java:67)
   - app//software.coley.recaf.ExitDebugLoggingHook$$Lambda/0x000001d6aa0e69e0.run(Unknown Source)
   - java.base@23/java.lang.Shutdown.runHooks(Shutdown.java:130)
   - java.base@23/java.lang.Shutdown.exit(Shutdown.java:167)
   - java.base@23/java.lang.Runtime.exit(Runtime.java:188)
   - java.base@23/java.lang.System.exit(System.java:1923)
   - app//software.coley.recaf.ExitDebugLoggingHook.exit(ExitDebugLoggingHook.java:220)
   - app//software.coley.recaf.Main.main(Main.java:79)
Col-E commented 1 week ago

JavaFX version 18 is present, but Recaf requires 19+

If you've previously used Recaf 2.X it will have downloaded 18. 4.X requires a newer version - so you can press the download button for FX to grab the newest version

image