为什么我运行不了?提示如下
2007-12-19 16:17:36 com.hadeslee.yoyoplayer.util.Config load
严重: null
java.io.FileNotFoundException: /home/freezing/YOYOPlayer.dat (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at com.hadeslee.yoyoplayer.util.Config.load(Config.java:278)
at com.hadeslee.yoyoplayer.util.Config.<clinit>(Config.java:110)
at com.hadeslee.yoyoplayer.player.ui.Main.loadUI(Main.java:150)
at com.hadeslee.yoyoplayer.player.ui.Main$1.run(Main.java:71)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
2007-12-19 16:17:36 com.hadeslee.yoyoplayer.util.Config load
严重: null
java.lang.NullPointerException
at com.hadeslee.yoyoplayer.util.Config.load(Config.java:289)
at com.hadeslee.yoyoplayer.util.Config.<clinit>(Config.java:110)
at com.hadeslee.yoyoplayer.player.ui.Main.loadUI(Main.java:150)
at com.hadeslee.yoyoplayer.player.ui.Main$1.run(Main.java:71)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: Unable to load library 'X11'
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:107)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:146)
at com.sun.jna.Library$Handler.<init>(Library.java:106)
at com.sun.jna.Native.loadLibrary(Native.java:225)
at com.sun.jna.Native.loadLibrary(Native.java:211)
at com.sun.jna.examples.unix.X11.<clinit>(X11.java:195)
at com.sun.jna.examples.WindowUtils$12.run(WindowUtils.java:1079)
at com.sun.jna.examples.WindowUtils.whenDisplayable(WindowUtils.java:222)
at com.sun.jna.examples.WindowUtils$X11WindowUtils.setWindowMask(WindowUtils.java:1109)
at com.sun.jna.examples.WindowUtils$NativeWindowUtils.setWindowMask(WindowUtils.java:345)
at com.sun.jna.examples.WindowUtils.setWindowMask(WindowUtils.java:1119)
at com.hadeslee.yoyoplayer.player.ui.Main.loadUI(Main.java:189)
at com.hadeslee.yoyoplayer.player.ui.Main$1.run(Main.java:71)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
回复 更多评论