接收" Java已被分离"尝试运行应用程序时已经出错

时间:2015-01-26 20:54:04

标签: java macos

我一直在尝试使用我在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开发人员。我不确定这是否会影响应用程序,因为它在今天早上之前运行。今天早上唯一值得注意的事件是它开始转换甲板,但在第二或第三张幻灯片上坠毁。我无法将其取回"因为,尽管有上述故障排除。

0 个答案:

没有答案