0

运行我的 jnlp 应用程序后,我(无休止地)收到以下异常。我正在使用 java 9 早期访问版本。它正在处理 java-8,所以我认为这是关于 9 的更改。我在 java-9 问题中找不到任何内容。关于原因的任何想法?

Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.isSupported(Unknown Source)
    at javafx.graphics/com.sun.javafx.application.PlatformImpl.isSupportedImpl(Unknown Source)
    at javafx.graphics/com.sun.javafx.application.PlatformImpl.isSupported(Unknown Source)
    at javafx.graphics/javafx.application.Platform.isSupported(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.input.PickResultChooser.processOffer(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.input.PickResultChooser.offer(Unknown Source)
    at javafx.graphics/javafx.scene.Node.intersects(Unknown Source)
    at javafx.graphics/javafx.scene.Node.doPickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.Node.access$500(Unknown Source)
    at javafx.graphics/javafx.scene.Node$1.doPickNodeLocal(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.NodeHelper.pickNodeLocalImpl(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.NodeHelper.pickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.Node.pickNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent.doPickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.Parent.access$600(Unknown Source)
    at javafx.graphics/javafx.scene.Parent$1.doPickNodeLocal(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.ParentHelper.pickNodeLocalImpl(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.NodeHelper.pickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.Node.pickNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent$1.pickChildrenNode(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.ParentHelper.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.doPickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.access$600(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region$1.doPickNodeLocal(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.layout.RegionHelper.pickNodeLocalImpl(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.NodeHelper.pickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.Node.pickNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent$1.pickChildrenNode(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.ParentHelper.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.doPickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.access$600(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region$1.doPickNodeLocal(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.layout.RegionHelper.pickNodeLocalImpl(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.NodeHelper.pickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.Node.pickNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent$1.pickChildrenNode(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.ParentHelper.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.doPickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.access$600(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region$1.doPickNodeLocal(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.layout.RegionHelper.pickNodeLocalImpl(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.NodeHelper.pickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.Node.pickNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent$1.pickChildrenNode(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.ParentHelper.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.doPickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.access$600(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region$1.doPickNodeLocal(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.layout.RegionHelper.pickNodeLocalImpl(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.NodeHelper.pickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.Node.pickNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent$1.pickChildrenNode(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.ParentHelper.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.doPickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.access$600(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region$1.doPickNodeLocal(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.layout.RegionHelper.pickNodeLocalImpl(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.NodeHelper.pickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.Node.pickNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent$1.pickChildrenNode(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.ParentHelper.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.doPickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.access$600(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region$1.doPickNodeLocal(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.layout.RegionHelper.pickNodeLocalImpl(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.NodeHelper.pickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.Node.pickNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.Parent$1.pickChildrenNode(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.ParentHelper.pickChildrenNode(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.doPickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region.access$600(Unknown Source)
    at javafx.graphics/javafx.scene.layout.Region$1.doPickNodeLocal(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.layout.RegionHelper.pickNodeLocalImpl(Unknown Source)
    at javafx.graphics/com.sun.javafx.scene.NodeHelper.pickNodeLocal(Unknown Source)
    at javafx.graphics/javafx.scene.Node.pickNode(Unknown Source)
    at javafx.graphics/javafx.scene.Scene$MouseHandler.pickNode(Unknown Source)
    at javafx.graphics/javafx.scene.Scene$MouseHandler.access$1400(Unknown Source)
    at javafx.graphics/javafx.scene.Scene.pick(Unknown Source)
    at javafx.graphics/javafx.scene.Scene.access$6900(Unknown Source)
    at javafx.graphics/javafx.scene.Scene$MouseHandler.process(Unknown Source)
    at javafx.graphics/javafx.scene.Scene$MouseHandler.access$1300(Unknown Source)
    at javafx.graphics/javafx.scene.Scene.processMouseEvent(Unknown Source)
    at javafx.graphics/javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
    at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
    at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(Unknown Source)
    at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(Unknown Source)
    at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
    at javafx.graphics/com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
    at javafx.graphics/com.sun.glass.ui.View.notifyMouse(Unknown Source)
    at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
    at java.base/java.lang.Thread.run(Unknown Source)

编辑:它完美地在 java-8 上运行。所以问题应该是关于 java-9 的变化。

4

0 回答 0