tasfe / iqq

Automatically exported from code.google.com/p/iqq
0 stars 0 forks source link

求助:获取配置文件出错 #79

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
日志如下:
2014-04-24 08:43:58,173 [AWT-EventQueue-0] [iqq.app.IMApp] [ERROR] - init 
service Error!!
java.lang.NullPointerException
    at iqq.app.service.impl.IMPropServiceImpl.read(IMPropServiceImpl.java:133)
    at iqq.app.service.impl.IMPropServiceImpl.initConfig(IMPropServiceImpl.java:49)
    at iqq.app.service.impl.IMPropServiceImpl.init(IMPropServiceImpl.java:37)
    at iqq.app.IMApp.startup(IMApp.java:103)
    at iqq.app.IMApp$2.run(IMApp.java:264)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
2014-04-24 08:43:58,177 [AWT-EventQueue-0] 
[iqq.app.service.impl.IMPropServiceImpl] [ERROR] - 获取配置文件出错
java.lang.NullPointerException
    at iqq.app.service.impl.IMPropServiceImpl.getRootElement(IMPropServiceImpl.java:123)
    at iqq.app.service.impl.IMPropServiceImpl.getNodeText(IMPropServiceImpl.java:118)
    at iqq.app.service.impl.IMPropServiceImpl.getString(IMPropServiceImpl.java:79)
    at iqq.app.util.SettingUtils.getString(SettingUtils.java:13)
    at iqq.app.service.impl.IMI18nServiceImpl.init(IMI18nServiceImpl.java:133)
    at iqq.app.IMApp.startup(IMApp.java:103)
    at iqq.app.IMApp$2.run(IMApp.java:264)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
2014-04-24 08:43:58,182 [AWT-EventQueue-0] [iqq.app.IMApp] [INFO] - initialized 
service iqq.app.service.impl.IMI18nServiceImpl, used 6 ms!!
2014-04-24 08:43:58,182 [AWT-EventQueue-0] 
[iqq.app.service.impl.IMPropServiceImpl] [ERROR] - 获取配置文件出错
java.lang.NullPointerException
    at iqq.app.service.impl.IMPropServiceImpl.getRootElement(IMPropServiceImpl.java:123)
    at iqq.app.service.impl.IMPropServiceImpl.getNodeText(IMPropServiceImpl.java:118)
    at iqq.app.service.impl.IMPropServiceImpl.getString(IMPropServiceImpl.java:79)
    at iqq.app.util.SettingUtils.getString(SettingUtils.java:13)
    at iqq.app.service.impl.IMSkinServiceImpl.loadSkinPath(IMSkinServiceImpl.java:161)
    at iqq.app.service.impl.IMSkinServiceImpl.read(IMSkinServiceImpl.java:210)
    at iqq.app.service.impl.IMSkinServiceImpl.init(IMSkinServiceImpl.java:190)
    at iqq.app.IMApp.startup(IMApp.java:103)
    at iqq.app.IMApp$2.run(IMApp.java:264)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
2014-04-24 08:43:58,195 [AWT-EventQueue-0] [iqq.app.IMApp] [ERROR] - init 
service Error!!
java.lang.NullPointerException
    at iqq.app.service.impl.IMSkinServiceImpl.getRootElement(IMSkinServiceImpl.java:178)
    at iqq.app.service.impl.IMSkinServiceImpl.loadDefaultFont(IMSkinServiceImpl.java:227)
    at iqq.app.service.impl.IMSkinServiceImpl.init(IMSkinServiceImpl.java:191)
    at iqq.app.IMApp.startup(IMApp.java:103)
    at iqq.app.IMApp$2.run(IMApp.java:264)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Original issue reported on code.google.com by sxycxjh...@gmail.com on 24 Apr 2014 at 12:47