简体   繁体   English

sip softphone同行源代码运行

[英]sip softphone peers source code run

I tried to download and run peers from source from this site - > http://sourceforge.net/p/peers/code/205/tree/ 我试图从此站点的源下载并运行同级-> http://sourceforge.net/p/peers/code/205/tree/

Successfully added the plugins and required jars . 成功添加了插件和必需的jar。 Now im stuck here - > 现在我卡在这里->

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)

did you provide a <username> in peers.xml config file? 您是否在peers.xml配置文件中提供了<用户名>? If you're using your own code to run peers, there are several parameters you have to provide using Config setXxx methods (at least username, domain and password). 如果您使用自己的代码运行对等方,则必须使用Config setXxx方法提供多个参数(至少要使用用户名,域和密码)。

yohann 约汉

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM