[jitsi-dev] Registrarless SIP account disconnects every minute (Linux, build 4144)


#1

Hello,

In the latest build (4144) there is an issue with registrarless SIP accounts. Namely it disconnects every minute or so and throws errors in the log. The tray icon flickers for 1-2 seconds. Activating/deactivating presence has no effect.
This happens even after the account is already offline.

Error messages in the log:

07:16:21.401 SEVERE: plugin.reconnectplugin.ReconnectPluginActivator.run().575 Error unregistering pp:ProtocolProviderServiceSipImpl(laca (RegistrarLess SIP))
java.lang.IllegalStateException: Task already scheduled or cancelled
  at java.util.Timer.sched(Timer.java:380)
  at java.util.Timer.schedule(Timer.java:192)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$1.run(ReconnectPluginActivator.java:566)
  at java.lang.Thread.run(Thread.java:679)
07:16:21.526 SEVERE: plugin.reconnectplugin.ReconnectPluginActivator.run().575 Error unregistering pp:ProtocolProviderServiceSipImpl(laca (RegistrarLess SIP))
java.lang.IllegalStateException: Task already scheduled or cancelled
  at java.util.Timer.sched(Timer.java:380)
  at java.util.Timer.schedule(Timer.java:192)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$1.run(ReconnectPluginActivator.java:566)
  at java.lang.Thread.run(Thread.java:679)
07:16:21.826 SEVERE: service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged().151 An error occurred while executing RegistrationStateChangeListener#registrationStateChanged(RegistrationStateChangeEvent) of net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$2@773e39
java.lang.IllegalStateException: Task already scheduled or cancelled
  at java.util.Timer.sched(Timer.java:380)
  at java.util.Timer.schedule(Timer.java:192)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$2.registrationStateChanged(ReconnectPluginActivator.java:818)
  at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:137)
  at net.java.sip.communicator.impl.protocol.sip.SipRegistrarlessConnection.setRegistrationState(SipRegistrarlessConnection.java:129)
  at net.java.sip.communicator.impl.protocol.sip.SipRegistrarlessConnection.unregister(SipRegistrarlessConnection.java:89)
  at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.unregister(ProtocolProviderServiceSipImpl.java:330)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$1.run(ReconnectPluginActivator.java:571)
  at java.lang.Thread.run(Thread.java:679)
07:16:22.935 SEVERE: plugin.reconnectplugin.ReconnectPluginActivator.run().575 Error unregistering pp:ProtocolProviderServiceSipImpl(laca (RegistrarLess SIP))
java.lang.IllegalStateException: Task already scheduled or cancelled
  at java.util.Timer.sched(Timer.java:380)
  at java.util.Timer.schedule(Timer.java:192)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$1.run(ReconnectPluginActivator.java:566)
  at java.lang.Thread.run(Thread.java:679)
07:16:23.126 SEVERE: service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged().151 An error occurred while executing RegistrationStateChangeListener#registrationStateChanged(RegistrationStateChangeEvent) of net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$2@136c416
java.lang.IllegalStateException: Task already scheduled or cancelled
  at java.util.Timer.sched(Timer.java:380)
  at java.util.Timer.schedule(Timer.java:192)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$2.registrationStateChanged(ReconnectPluginActivator.java:818)
  at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:137)
  at net.java.sip.communicator.impl.protocol.sip.SipRegistrarlessConnection.setRegistrationState(SipRegistrarlessConnection.java:129)
  at net.java.sip.communicator.impl.protocol.sip.SipRegistrarlessConnection.unregister(SipRegistrarlessConnection.java:89)
  at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.unregister(ProtocolProviderServiceSipImpl.java:330)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$1.run(ReconnectPluginActivator.java:571)
  at java.lang.Thread.run(Thread.java:679)
07:16:23.487 SEVERE: plugin.reconnectplugin.ReconnectPluginActivator.run().575 Error unregistering pp:ProtocolProviderServiceSipImpl(laca (RegistrarLess SIP))
java.lang.IllegalStateException: Task already scheduled or cancelled
  at java.util.Timer.sched(Timer.java:380)
  at java.util.Timer.schedule(Timer.java:192)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$1.run(ReconnectPluginActivator.java:566)
  at java.lang.Thread.run(Thread.java:679)
07:16:24.957 SEVERE: plugin.reconnectplugin.ReconnectPluginActivator.run().575 Error unregistering pp:ProtocolProviderServiceSipImpl(laca (RegistrarLess SIP))
java.lang.IllegalStateException: Task already scheduled or cancelled
  at java.util.Timer.sched(Timer.java:380)
  at java.util.Timer.schedule(Timer.java:192)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$1.run(ReconnectPluginActivator.java:566)
  at java.lang.Thread.run(Thread.java:679)
07:16:24.998 SEVERE: plugin.reconnectplugin.ReconnectPluginActivator.run().575 Error unregistering pp:ProtocolProviderServiceSipImpl(laca (RegistrarLess SIP))
java.lang.IllegalStateException: Task already scheduled or cancelled
  at java.util.Timer.sched(Timer.java:380)
  at java.util.Timer.schedule(Timer.java:192)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$1.run(ReconnectPluginActivator.java:566)
  at java.lang.Thread.run(Thread.java:679)
07:16:25.350 SEVERE: service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged().151 An error occurred while executing RegistrationStateChangeListener#registrationStateChanged(RegistrationStateChangeEvent) of net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$2@1b14d5d
java.lang.IllegalStateException: Task already scheduled or cancelled
  at java.util.Timer.sched(Timer.java:380)
  at java.util.Timer.schedule(Timer.java:192)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$2.registrationStateChanged(ReconnectPluginActivator.java:818)
  at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:137)
  at net.java.sip.communicator.impl.protocol.sip.SipRegistrarlessConnection.setRegistrationState(SipRegistrarlessConnection.java:129)
  at net.java.sip.communicator.impl.protocol.sip.SipRegistrarlessConnection.unregister(SipRegistrarlessConnection.java:89)
  at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.unregister(ProtocolProviderServiceSipImpl.java:330)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$1.run(ReconnectPluginActivator.java:571)
  at java.lang.Thread.run(Thread.java:679)
07:16:25.360 SEVERE: plugin.reconnectplugin.ReconnectPluginActivator.run().575 Error unregistering pp:ProtocolProviderServiceSipImpl(laca (RegistrarLess SIP))
java.lang.IllegalStateException: Task already scheduled or cancelled
  at java.util.Timer.sched(Timer.java:380)
  at java.util.Timer.schedule(Timer.java:192)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$1.run(ReconnectPluginActivator.java:566)
  at java.lang.Thread.run(Thread.java:679)
07:16:25.776 SEVERE: plugin.reconnectplugin.ReconnectPluginActivator.run().575 Error unregistering pp:ProtocolProviderServiceSipImpl(laca (RegistrarLess SIP))
java.lang.IllegalStateException: Task already scheduled or cancelled
  at java.util.Timer.sched(Timer.java:380)
  at java.util.Timer.schedule(Timer.java:192)
  at net.java.sip.communicator.plugin.reconnectplugin.ReconnectPluginActivator$1.run(ReconnectPluginActivator.java:566)
  at java.lang.Thread.run(Thread.java:679)

I use Debian Testing 32-bit with the default OpenJDK:

$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-2)
OpenJDK Server VM (build 20.0-b12, mixed mode)

Is there a way to make the registrarless SIP accounts behave more "passively"?
They should just listen there and have the reconnecting routines deactivated. Also, there were previous issues related to registrarless accounts aswell - they just go offline from time to time, mostly after a call.

···

--
O zi buna,
Kertesz Laszlo