Menu

Problem at startup

Help
2008-06-12
2012-12-06
  • Timo Baumann

    Timo Baumann - 2008-06-12

    Hi there,

    I get the following error on startup

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
            at net.sourceforge.peers.sip.transport.SipTransportConnection.toString(SipTransportConnection.java:53)
            at net.sourceforge.peers.sip.transport.SipTransportConnection.hashCode(SipTransportConnection.java:60)
            at java.util.Hashtable.get(Hashtable.java:334)
            at net.sourceforge.peers.sip.transport.TransportManager.createServerTransport(TransportManager.java:152)
            at net.sourceforge.peers.sip.core.useragent.UAS.<init>(UAS.java:68)
            at net.sourceforge.peers.sip.core.useragent.UserAgent.<init>(UserAgent.java:221)
            at net.sourceforge.peers.gui.BasicGUI.<init>(BasicGUI.java:90)
            at net.sourceforge.peers.gui.BasicGUI.createAndShowGUI(BasicGUI.java:58)
            at net.sourceforge.peers.gui.BasicGUI.access$000(BasicGUI.java:46)
            at net.sourceforge.peers.gui.BasicGUI$1.run(BasicGUI.java:51)
            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)

    It seems, that neither calling nor receiving calls functions. Do you know what's wrong?

    Thanks,
    Timo

     
    • yohannmartineau

      yohannmartineau - 2008-06-13

      Hello,

      what happens if you configure your ip address manually in conf/peers.xml ?
      which os and java version are you using ?

      it seems that the automatic ip address detection i'm using is not working perfectly...

      I think I will add some traces during configuration file parsing and/or automatic configuration.

      Thank you,

      yohann

       
    • yohannmartineau

      yohannmartineau - 2008-07-01

      problem fixed in next version, this is probably a thread concurrency issue as stated in bug 2003073:

        https://sourceforge.net/tracker/index.php?func=detail&aid=2003073&group_id=193276&atid=944765

       

Log in to post a comment.