[sip-comm-dev] NoClassDefFoundError: org/w3c/dom/Document in ThumbnailElement.java


#1

Euh... I just noticed the following exception in my Eclipse Console. I
don't know how to reproduce it but does it mean that I have to import
org.w3c.dom in the Jabber protocol bundle?

     [java] 17:28:07.022 SEVERE:
util.UtilActivator.uncaughtException().81 An uncaught exception
occurred in thread=Thread[Smack Packet Reader (3),5,main] and message
was: org/w3c/dom/Document
     [java] java.lang.NoClassDefFoundError: org/w3c/dom/Document
     [java] at
net.java.sip.communicator.impl.protocol.jabber.extensions.thumbnail.ThumbnailElement.<init>(ThumbnailElement.java:108)
     [java] at
net.java.sip.communicator.impl.protocol.jabber.extensions.thumbnail.FileElement.parseIQ(FileElement.java:224)
     [java] at
org.jivesoftware.smack.util.PacketParserUtils.parseIQ(PacketParserUtils.java:275)
     [java] at
org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:229)
     [java] at
org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
     [java] at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
     [java] Caused by: java.lang.ClassNotFoundException: org.w3c.dom.Document
     [java] at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772)
     [java] at
org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
     [java] at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1685)
     [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
     [java] ... 6 more

···

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


#2

На 23.09.10 19:27, Lubomir Marinov написа:

Euh... I just noticed the following exception in my Eclipse Console. I
don't know how to reproduce it

I tried to send you a couple of images today and the timing seems to
correspond, so that's what must have caused it.

but does it mean that I have to import
org.w3c.dom in the Jabber protocol bundle?

Possibly yes. Who would be exporting it though? Is this part of the JRE?

Emil

···

     [java] 17:28:07.022 SEVERE:
util.UtilActivator.uncaughtException().81 An uncaught exception
occurred in thread=Thread[Smack Packet Reader (3),5,main] and message
was: org/w3c/dom/Document
     [java] java.lang.NoClassDefFoundError: org/w3c/dom/Document
     [java] at
net.java.sip.communicator.impl.protocol.jabber.extensions.thumbnail.ThumbnailElement.<init>(ThumbnailElement.java:108)
     [java] at
net.java.sip.communicator.impl.protocol.jabber.extensions.thumbnail.FileElement.parseIQ(FileElement.java:224)
     [java] at
org.jivesoftware.smack.util.PacketParserUtils.parseIQ(PacketParserUtils.java:275)
     [java] at
org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:229)
     [java] at
org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
     [java] at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
     [java] Caused by: java.lang.ClassNotFoundException: org.w3c.dom.Document
     [java] at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772)
     [java] at
org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
     [java] at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1685)
     [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
     [java] ... 6 more

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

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

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


#3

Yes.

···

On Thu, Sep 23, 2010 at 8:34 PM, Emil Ivov <emcho@sip-communicator.org> wrote:

На 23.09.10 19:27, Lubomir Marinov написа:

but does it mean that I have to import
org.w3c.dom in the Jabber protocol bundle?

Is this part of the JRE?

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


#4

Thank you, Emil, for the way to reproduce the issue! I committed a fix in r7742.

···

On Thu, Sep 23, 2010 at 8:34 PM, Emil Ivov <emcho@sip-communicator.org> wrote:

На 23.09.10 19:27, Lubomir Marinov написа:

Euh... I just noticed the following exception in my Eclipse Console. I
don't know how to reproduce it

I tried to send you a couple of images today and the timing seems to
correspond, so that's what must have caused it.

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