“接收”;“Java已被分离”;尝试运行应用程序时已出错

“接收”;“Java已被分离”;尝试运行应用程序时已出错,java,macos,Java,Macos,我一直在尝试使用在GitHub上找到的Java应用程序将HTML5/ImpressJS幻灯片组转换为PDF。昨天,该应用程序还在“工作”,只要演示文稿有7张或更少的幻灯片,它就可以进行PDF转换。今天,当我试图执行时,它只是崩溃了 我试过: 重新安装Java JDK(8u31) 重建应用程序 重新启动我的笔记本电脑(运行Mac OS X 10.10,供参考) 我也尝试过谷歌搜索错误,或者部分错误,但没有成功。全部错误是: Exception in Application start meth

我一直在尝试使用在GitHub上找到的Java应用程序将HTML5/ImpressJS幻灯片组转换为PDF。昨天,该应用程序还在“工作”,只要演示文稿有7张或更少的幻灯片,它就可以进行PDF转换。今天,当我试图执行时,它只是崩溃了

我试过:

  • 重新安装Java JDK(8u31)
  • 重建应用程序
  • 重新启动我的笔记本电脑(运行Mac OS X 10.10,供参考)
我也尝试过谷歌搜索错误,或者部分错误,但没有成功。全部错误是:

Exception in Application start method
Java has been detached already, but someone is still trying to use it at -[GlassRunnable run]:/HUDSON/workspace/8u31/label/macosx-universal-30/rt/modules/graphics/src/main/native-glass/mac/GlassApplication.m:92
Java has been detached already, but someone is still trying to use it at -[GlassRunnable dealloc]:/HUDSON/workspace/8u31/label/macosx-universal-30/rt/modules/graphics/src/main/native-glass/mac/GlassApplication.m:106
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:363)
    at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:303)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: Exception in Application start method
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:875)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$147(LauncherImpl.java:157)
    at com.sun.javafx.application.LauncherImpl$$Lambda$49/1099983479.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Cannot find a profile named 'impressj
    at me.champeau.deck2pdf.ProfileLoader.loadProfile(ProfileLoader.java:59)
    at me.champeau.deck2pdf.Main.start(Main.java:84)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$153(LauncherImpl.java:821)
    at com.sun.javafx.application.LauncherImpl$$Lambda$52/1021330729.run(Unknown Source)
    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$166(PlatformImpl.java:323)
    at com.sun.javafx.application.PlatformImpl$$Lambda$46/128893786.run(Unknown Source)
    at com.sun.javafx.application.PlatformImpl.lambda$null$164(PlatformImpl.java:292)
    at com.sun.javafx.application.PlatformImpl$$Lambda$48/2015866367.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$165(PlatformImpl.java:291)
    at com.sun.javafx.application.PlatformImpl$$Lambda$47/1108411398.run(Unknown Source)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Exception running application me.champeau.deck2pdf.Main

值得注意的是,一些搜索结果表明这是一个Eclipse错误,但我甚至没有安装Eclipse,因为我不是Java开发者。我不确定这是否会影响应用程序,因为它是在今天早上之前运行的。今天早上唯一值得注意的事件是,它开始转换甲板,但在第二或第三张幻灯片上坠毁。尽管进行了上述故障排除,但我一直无法“找回它”。

我不认为您的问题是“分离”消息,我在关闭JavaFX应用程序的(唯一)窗口时偶尔会看到这一点。在OSX和windows上。这似乎发生在JavaFX应用程序关闭时。您的问题是关机的原因,消息“找不到名为'impressj'的配置文件”表明了这一点。我不知道Impress,所以我不能告诉你到底缺少什么,但似乎你必须提供一些个人资料。我希望这能帮助你找到真正的原因。