在Linux& amp;运行时运行一个名为SIET的Java映像批处理实用程序。它在初始加载图标后没有运行。我的Java环境全部设置如下所示。
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode)
附上日志文件以进一步了解......
Dec 06, 2013 7:59:17 PM sun.awt.X11.XToolkit setBackingStoreType
CONFIG: The system property sun.awt.backingStore is not set, by default backingStore=NotUseful
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at siet.m.<init>(Unknown Source)
at siet.plugin.resize.ResizePlugin.<init>(Unknown Source)
at siet.application.SIETApplication.<init>(Unknown Source)
at siet.application.a.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
答案 0 :(得分:0)
尝试执行:
System.setProperty("sun.awt.backingStore", "NotUseful");
看看那是做什么的?你知道后备商店是什么吗?