[jitsi-dev] Linkage error.


#1

Hello dev team,

                        I am trying to add some additional parameter in
notification wiring plugin. For that am added three libraries for getting
transaction. This is already added in sip protocol. am just copy the
library details they added in build.xml to my bundle. Then i get the error
while getting the transaction methods like getrequset() . Pls help me am
stuck in this error.

Exception given below

07:18:54.737 SEVERE: [18]
plugin.notificationwiring.NotificationManager.incomingCallReceived().975 An
error occurred while trying to notify about an incoming call
     [java] java.lang.LinkageError: loader constraint violation: loader
(instance of org/apache/felix/framework/ModuleImpl$ModuleClassLoaderJava5)
previously initiated loading for a different type with name
"javax/sip/Transaction"
     [java] at java.lang.ClassLoader.defineClass1(Native Method)
     [java] at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
     [java] at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.findClass(ModuleImpl.java:1947)
     [java] at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:752)
     [java] at
org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)
     [java] at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807)
     [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
     [java] at
net.java.sip.communicator.plugin.notificationwiring.NotificationManager.incomingCallReceived(NotificationManager.java:897)
     [java] at
net.java.sip.communicator.service.protocol.media.AbstractOperationSetBasicTelephony.fireCallEvent(AbstractOperationSetBasicTelephony.java:165)
     [java] at
net.java.sip.communicator.impl.protocol.sip.CallSipImpl.createCallPeerFor(CallSipImpl.java:254)
     [java] at
net.java.sip.communicator.impl.protocol.sip.CallSipImpl.processInvite(CallSipImpl.java:416)
     [java] at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.processInvite(OperationSetBasicTelephonySipImpl.java:1052)
     [java] at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.processRequest(OperationSetBasicTelephonySipImpl.java:312)
     [java] at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.processRequest(ProtocolProviderServiceSipImpl.java:923)
     [java] at
net.java.sip.communicator.impl.protocol.sip.SipStackSharing.processRequest(SipStackSharing.java:657)
     [java] at
gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:230)
     [java] at
gov.nist.javax.sip.SipProviderImpl.handleEvent(SipProviderImpl.java:196)
     [java] at
gov.nist.javax.sip.DialogFilter.processRequest(DialogFilter.java:1303)
     [java] at
gov.nist.javax.sip.stack.SIPServerTransaction.processRequest(SIPServerTransaction.java:847)
     [java] at
gov.nist.javax.sip.stack.UDPMessageChannel.processMessage(UDPMessageChannel.java:540)
     [java] at
gov.nist.javax.sip.stack.UDPMessageChannel.processIncomingDataPacket(UDPMessageChannel.java:492)
     [java] at
gov.nist.javax.sip.stack.UDPMessageChannel.run(UDPMessageChannel.java:297)
     [java] at java.lang.Thread.run(Thread.java:679)

···

--
Thanks & Regards,

*Vishnu A U* *.*