Skip to content

Macos26运行失败 #460

@watanabe-hsad

Description

@watanabe-hsad

ToolsFx版本及构建日期(如v1.15.1.beta2 2022-12-13):

1.18.0

系统版本及位数(Windows/OSX/ Linux /x86/x64/ arm):

macOS26 arm

Java版本(jdk 1.8.0 x86 oracle/openjdk):

zulu64-1.8.0.452 zulu64-17.0.15 oracle64-1.8.0.451

操作步骤(如运行ToolsFx.bat):

./ToolsFx

问题现象(如闪退):

JavaFX 运行时环境无法正确获取到你电脑屏幕的有效尺寸信息(可能是因为更新了macOS26)

报错信息(命令行运行ToolsFx.bat/ToolsFx):

Exception in thread "JavaFX Application Thread" java.lang.IllegalArgumentException: Both width and height must be >= 0
at javafx.graphics/javafx.geometry.Rectangle2D.(Rectangle2D.java:110)
at javafx.graphics/javafx.stage.Screen.nativeToScreen(Screen.java:151)
at javafx.graphics/javafx.stage.Screen.updateConfiguration(Screen.java:107)
at javafx.graphics/javafx.stage.Screen.checkDirty(Screen.java:82)
at javafx.graphics/javafx.stage.Screen.getPrimary(Screen.java:184)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.initSceneGraph(QuantumToolkit.java:331)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runToolkit(QuantumToolkit.java:380)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.lambda$startup$10(QuantumToolkit.java:290)
at javafx.graphics/com.sun.glass.ui.Application.lambda$run$1(Application.java:154)
at javafx.graphics/com.sun.glass.ui.mac.MacApplication.lambda$runLoop$3(MacApplication.java:93)
[https://simplytranslate.pussthecat.org/, https://t.opnxng.com/, https://simplytranslate.leemoon.network/]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions