sip softphone peer源代码运行

时间:2013-08-23 12:38:45

标签: java sip

我尝试从此网站的源代码下载并运行同行 - > http://sourceforge.net/p/peers/code/205/tree/

成功添加了插件和必需的jar。现在我卡在这里 - >

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at net.sourceforge.peers.XmlConfig.setUserPart(XmlConfig.java:307)
    at net.sourceforge.peers.gui.AccountFrame.applyNewConfig(AccountFrame.java:192)
    at net.sourceforge.peers.gui.AccountFrame.access$4(AccountFrame.java:188)
    at net.sourceforge.peers.gui.AccountFrame$5.run(AccountFrame.java:284)
    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)

1 个答案:

答案 0 :(得分:1)

你提供了<用户名>在peers.xml配置文件中?如果您使用自己的代码来运行对等体,则必须使用Config setXxx方法(至少用户名,域和密码)提供几个参数。

yohann