[sip-comm-dev] Strange exceptions when closing SC - Felix problem?


#1

Dear Felix / SIP protocol gurus on the list :slight_smile: ,

when closing SC I sometimes see an exception regarding zip file processing
(see below) and some follow up error.

Could this be a Felix problem?

I just started SC to check if the new JAWTRenderer works (it does, only the
native .so file is missing :slight_smile: an I built it ).

I did not place a call for this test and I closed SC after I checked the video
stuff. Connection to iptel was ok, connection to my internal SIP Registrar/SIP Proxy
was not established (Kamailio was not started for this test)

Regards,
Werner

Console printout:

     [java] ERROR: JarContent: Unable to read bytes. (java.lang.IllegalStateException: zip file closed)
     [java] java.lang.IllegalStateException: zip file closed
     [java] at java.util.zip.ZipFile.ensureOpen(ZipFile.java:403)
     [java] at java.util.zip.ZipFile.getEntry(ZipFile.java:148)
     [java] at java.util.jar.JarFile.getEntry(JarFile.java:208)
     [java] at org.apache.felix.framework.util.JarFileX.getEntry(JarFileX.java:61)
     [java] at org.apache.felix.framework.cache.JarContent.getEntryAsBytes(JarContent.java:120)
     [java] at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1781)
     [java] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:758)
     [java] at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
     [java] at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
     [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
     [java] at gov.nist.javax.sip.message.SIPMessage.isResponseHeader(SIPMessage.java:202)
     [java] at gov.nist.javax.sip.message.SIPResponse.createRequest(SIPResponse.java:695)
     [java] at gov.nist.javax.sip.stack.SIPDialog.createRequest(SIPDialog.java:1932)
     [java] at gov.nist.javax.sip.stack.SIPDialog.createRequest(SIPDialog.java:1858)
     [java] at net.java.sip.communicator.impl.protocol.sip.SipMessageFactory.createRequest(SipMessageFactory.java:675)
     [java] at net.java.sip.communicator.impl.protocol.sip.EventPackageSubscriber.createSubscription(EventPackageSubscriber.java:124)

     [java] at net.java.sip.communicator.impl.protocol.sip.EventPackageSubscriber.unsubscribe(EventPackageSubscriber.java:1070)

     [java] at net.java.sip.communicator.impl.protocol.sip.EventPackageSubscriber.unsubscribe(EventPackageSubscriber.java:1000)

     [java] at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.unsubscribe(OperationSetPresenceSipImpl.java:1063)

     [java] at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.unsubscribeToAllContact(OperationSetPresenceSipImpl.java:2569)

     [java] at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.publishPresenceStatus(OperationSetPresenceSipImpl.java:579)

     [java] at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.registrationStateChanged(OperationSetPresenceSipImpl.java:2707)

     [java] at
net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:140)

     [java] at net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.setRegistrationState(SipRegistrarConnection.java:550)

     [java] at net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.unregister(SipRegistrarConnection.java:430)
     [java] at net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.unregister(SipRegistrarConnection.java:395)
     [java] at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.unregister(ProtocolProviderServiceSipImpl.java:330)

     [java] at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl$ShutdownThread.run(ProtocolProviderServiceSipImpl.java:878)

     [java] at java.lang.Thread.run(Thread.java:619)
     [java] 19:29:32.819 SCHWERWIEGEND: service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged().155 An error occurred while executing
RegistrationStateChangeLister#registrationStateChanged(RegistrationStateChangeEvent) of
net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl@4544b02
     [java] java.lang.NoClassDefFoundError: gov/nist/javax/sip/header/SIPETag
     [java] at gov.nist.javax.sip.message.SIPMessage.isResponseHeader(SIPMessage.java:202)
     [java] at gov.nist.javax.sip.message.SIPResponse.createRequest(SIPResponse.java:695)
     [java] at gov.nist.javax.sip.stack.SIPDialog.createRequest(SIPDialog.java:1932)
     [java] at gov.nist.javax.sip.stack.SIPDialog.createRequest(SIPDialog.java:1858)
     [java] at net.java.sip.communicator.impl.protocol.sip.SipMessageFactory.createRequest(SipMessageFactory.java:675)
     [java] at net.java.sip.communicator.impl.protocol.sip.EventPackageSubscriber.createSubscription(EventPackageSubscriber.java:124)
     [java] at net.java.sip.communicator.impl.protocol.sip.EventPackageSubscriber.unsubscribe(EventPackageSubscriber.java:1070)
     [java] at net.java.sip.communicator.impl.protocol.sip.EventPackageSubscriber.unsubscribe(EventPackageSubscriber.java:1000)
     [java] at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.unsubscribe(OperationSetPresenceSipImpl.java:1063)
     [java] at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.unsubscribeToAllContact(OperationSetPresenceSipImpl.java:2569)
     [java] at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.publishPresenceStatus(OperationSetPresenceSipImpl.java:579)
     [java] at net.java.sip.communicator.impl.protocol.sip.OperationSetPresenceSipImpl.registrationStateChanged(OperationSetPresenceSipImpl.java:2707)
     [java] at net.java.sip.communicator.service.protocol.AbstractProtocolProviderService.fireRegistrationStateChanged(AbstractProtocolProviderService.java:140)
     [java] at net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.setRegistrationState(SipRegistrarConnection.java:550)
     [java] at net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.unregister(SipRegistrarConnection.java:430)
     [java] at net.java.sip.communicator.impl.protocol.sip.SipRegistrarConnection.unregister(SipRegistrarConnection.java:395)
     [java] at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.unregister(ProtocolProviderServiceSipImpl.java:330)
     [java] at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl$ShutdownThread.run(ProtocolProviderServiceSipImpl.java:878)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] Caused by: java.lang.ClassNotFoundException: gov.nist.javax.sip.header.SIPETag
     [java] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:814)
     [java] at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
     [java] at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
     [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
     [java] ... 19 more

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net