ra4king / CircuitSim

Basic Circuit Simulator
https://ra4king.github.io/CircuitSim
BSD 3-Clause "New" or "Revised" License
76 stars 27 forks source link

Crash when file browser is open on edit RAM contents (macOS) #61

Closed mubtAAhij closed 4 years ago

mubtAAhij commented 4 years ago

I've recently come across an issue where when a RAM module exists on the circuit, and you right click on it>Edit Contents>Load from File, and then switch windows to another open application while the file browser is open, CircuitSim will crash. I attached the crash log; my OS is macOS Mojave 10.14.6. crash_log.txt

ra4king commented 4 years ago

Looks to be a JavaFX bug: https://bugs.openjdk.java.net/browse/JDK-8211304

It's fixed in JavaFX 11.0.2+. Looks like I need to make CircuitSim working with the new module system in Java 11+