tobydragon / metafora-project

Automatically exported from code.google.com/p/metafora-project
1 stars 0 forks source link

calling connect(true) on xmppBridge object causes crash #177

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Use a new XMPP username
2.Therefore, you must call xmppBridge.connect(true)
3.

What is the expected output? 
Everything works and new user is functional.

What do you see instead?
ERROR [CfXmppCommunicationBridge/97#<init>()] [constructor] 
java.lang.IllegalStateException: Already logged in to server.
    at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:220)
    at de.kuei.metafora.xmpp.XMPPBridgeCurrent.login(XMPPBridgeCurrent.java:113)
    at de.kuei.metafora.xmpp.XMPPBridge.connect(XMPPBridge.java:93)
    at de.uds.MonitorInterventionMetafora.server.cfcommunication.CfXmppCommunicationBridge.<init>(CfXmppCommunicationBridge.java:90)
    at de.uds.MonitorInterventionMetafora.server.cfcommunication.CfAgentCommunicationManager.<init>(CfAgentCommunicationManager.java:61)
    at de.uds.MonitorInterventionMetafora.server.cfcommunication.CfAgentCommunicationManager.getInstance(CfAgentCommunicationManager.java:34)
    at de.uds.MonitorInterventionMetafora.server.monitor.MonitorController.<init>(MonitorController.java:19)
    at de.uds.MonitorInterventionMetafora.server.MainServer.<init>(MainServer.java:59)

Please use labels and text to provide additional information.

Original issue reported on code.google.com by tdragon1...@gmail.com on 8 Nov 2012 at 9:59