[jitsi-dev] WindowsXP XMPP file transfer error.


#1

Hello.

We have a trouble with XMPP file transfer to Jitsi users on Windows XP SP3
(Jitsi 1.1-nightly.build.4182).
The log file from WindowsXP:

11:29:35.062 SEVERE: util.UtilActivator.uncaughtException().92 An uncaught
exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message
was: javax/swing/filechooser/FileSystemView
                                   java.lang.NoClassDefFoundError:
javax/swing/filechooser/FileSystemView
                                   at
org.jitsi.impl.fileaccess.FileAccessServiceImpl.getDefaultDownloadDirectory(Unknown
Source)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.ReceiveFileConversationComponent.createFile(ReceiveFileConversationComponent.java:159)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.ReceiveFileConversationComponent.access$400(ReceiveFileConversationComponent.java:29)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.ReceiveFileConversationComponent$1.actionPerformed(ReceiveFileConversationComponent.java:117)
                                   ...

                 Caused by: java.lang.ClassNotFoundException:
javax.swing.filechooser.FileSystemView not found by [104]
                                  at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812)
                                  at
org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)
                                  at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807)
                                  at
java.lang.ClassLoader.loadClass(Unknown Source)
                                  ...

11:30:31.533 SEVERE: util.UtilActivator.uncaughtException().92 An uncaught
exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message
was: javax/swing/filechooser/FileSystemView
                                   java.lang.NoClassDefFoundError:
javax/swing/filechooser/FileSystemView
                                   at
org.jitsi.impl.fileaccess.FileAccessServiceImpl.getDefaultDownloadDirectory(Unknown
Source)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.FileTransferConversationComponent.actionPerformed(FileTransferConversationComponent.java:454)

···

--
Sincerely yours, Alexander.


#2

Hi Alexander,

this is strange. FileSystemView is in JVM since version 1.4.
A NoClassDefFoundError means either you have an older JVM or
jitsi uses a separate class loader and not delegating parent first to the
system class loader.

Any hints, jitsi developers?

Best regards,
Matt

···

Am 29.08.2012 09:33, schrieb Alexander Korobkov:

Hello.

We have a trouble with XMPP file transfer to Jitsi users on Windows XP
SP3 (Jitsi 1.1-nightly.build.4182).
The log file from WindowsXP:

11:29:35.062 SEVERE: util.UtilActivator.uncaughtException().92 An
uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main]
and message was: javax/swing/filechooser/FileSystemView
                                   java.lang.NoClassDefFoundError:
javax/swing/filechooser/FileSystemView
                                   at
org.jitsi.impl.fileaccess.FileAccessServiceImpl.getDefaultDownloadDirectory(Unknown
Source)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.ReceiveFileConversationComponent.createFile(ReceiveFileConversationComponent.java:159)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.ReceiveFileConversationComponent.access$400(ReceiveFileConversationComponent.java:29)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.ReceiveFileConversationComponent$1.actionPerformed(ReceiveFileConversationComponent.java:117)
                                   ...

                 Caused by: java.lang.ClassNotFoundException:
javax.swing.filechooser.FileSystemView not found by [104]
                                  at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812)
                                  at
org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)
                                  at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807)
                                  at
java.lang.ClassLoader.loadClass(Unknown Source)
                                  ...

11:30:31.533 SEVERE: util.UtilActivator.uncaughtException().92 An
uncaught exception occurred in thread=Thread[AWT-EventQueue-0,6,main]
and message was: javax/swing/filechooser/FileSystemView
                                   java.lang.NoClassDefFoundError:
javax/swing/filechooser/FileSystemView
                                   at
org.jitsi.impl.fileaccess.FileAccessServiceImpl.getDefaultDownloadDirectory(Unknown
Source)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.FileTransferConversationComponent.actionPerformed(FileTransferConversationComponent.java:454)

--
Sincerely yours, Alexander.


#3

Hi,

this one will be fixed in nightly build 4183, thanks fot the report.

Hi Alexander,

this is strange. FileSystemView is in JVM since version 1.4.
A NoClassDefFoundError means either you have an older JVM or
jitsi uses a separate class loader and not delegating parent first to the
system class loader.

Any hints, jitsi developers?

We are using felix which have different classloader system and there
was a missing package import causing the error.

Thanks
damencho

···

On Wed, Aug 29, 2012 at 10:58 AM, Buddy Butterfly <buddy.butterfly@web.de> wrote:

Best regards,
Matt

Am 29.08.2012 09:33, schrieb Alexander Korobkov:

Hello.

We have a trouble with XMPP file transfer to Jitsi users on Windows XP SP3
(Jitsi 1.1-nightly.build.4182).
The log file from WindowsXP:

11:29:35.062 SEVERE: util.UtilActivator.uncaughtException().92 An uncaught
exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message
was: javax/swing/filechooser/FileSystemView
                                   java.lang.NoClassDefFoundError:
javax/swing/filechooser/FileSystemView
                                   at
org.jitsi.impl.fileaccess.FileAccessServiceImpl.getDefaultDownloadDirectory(Unknown
Source)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.ReceiveFileConversationComponent.createFile(ReceiveFileConversationComponent.java:159)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.ReceiveFileConversationComponent.access$400(ReceiveFileConversationComponent.java:29)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.ReceiveFileConversationComponent$1.actionPerformed(ReceiveFileConversationComponent.java:117)
                                   ...

                 Caused by: java.lang.ClassNotFoundException:
javax.swing.filechooser.FileSystemView not found by [104]
                                  at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812)
                                  at
org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)
                                  at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807)
                                  at java.lang.ClassLoader.loadClass(Unknown
Source)
                                  ...

11:30:31.533 SEVERE: util.UtilActivator.uncaughtException().92 An uncaught
exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message
was: javax/swing/filechooser/FileSystemView
                                   java.lang.NoClassDefFoundError:
javax/swing/filechooser/FileSystemView
                                   at
org.jitsi.impl.fileaccess.FileAccessServiceImpl.getDefaultDownloadDirectory(Unknown
Source)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.FileTransferConversationComponent.actionPerformed(FileTransferConversationComponent.java:454)

--
Sincerely yours, Alexander.


#4

Hi,

very cool! Thanks for the quick fix, though not beeing the initiator,
but that was real quick :wink:

Best regards,
Matt

···

Am 29.08.2012 10:47, schrieb Damian Minkov:

Hi,

this one will be fixed in nightly build 4183, thanks fot the report.

On Wed, Aug 29, 2012 at 10:58 AM, Buddy Butterfly > <buddy.butterfly@web.de> wrote:

Hi Alexander,

this is strange. FileSystemView is in JVM since version 1.4.
A NoClassDefFoundError means either you have an older JVM or
jitsi uses a separate class loader and not delegating parent first to the
system class loader.

Any hints, jitsi developers?

We are using felix which have different classloader system and there
was a missing package import causing the error.

Thanks
damencho

Best regards,
Matt

Am 29.08.2012 09:33, schrieb Alexander Korobkov:

Hello.

We have a trouble with XMPP file transfer to Jitsi users on Windows XP SP3
(Jitsi 1.1-nightly.build.4182).
The log file from WindowsXP:

11:29:35.062 SEVERE: util.UtilActivator.uncaughtException().92 An uncaught
exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message
was: javax/swing/filechooser/FileSystemView
                                   java.lang.NoClassDefFoundError:
javax/swing/filechooser/FileSystemView
                                   at
org.jitsi.impl.fileaccess.FileAccessServiceImpl.getDefaultDownloadDirectory(Unknown
Source)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.ReceiveFileConversationComponent.createFile(ReceiveFileConversationComponent.java:159)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.ReceiveFileConversationComponent.access$400(ReceiveFileConversationComponent.java:29)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.ReceiveFileConversationComponent$1.actionPerformed(ReceiveFileConversationComponent.java:117)
                                   ...

                 Caused by: java.lang.ClassNotFoundException:
javax.swing.filechooser.FileSystemView not found by [104]
                                  at
org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812)
                                  at
org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)
                                  at
org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1807)
                                  at java.lang.ClassLoader.loadClass(Unknown
Source)
                                  ...

11:30:31.533 SEVERE: util.UtilActivator.uncaughtException().92 An uncaught
exception occurred in thread=Thread[AWT-EventQueue-0,6,main] and message
was: javax/swing/filechooser/FileSystemView
                                   java.lang.NoClassDefFoundError:
javax/swing/filechooser/FileSystemView
                                   at
org.jitsi.impl.fileaccess.FileAccessServiceImpl.getDefaultDownloadDirectory(Unknown
Source)
                                   at
net.java.sip.communicator.impl.gui.main.chat.filetransfer.FileTransferConversationComponent.actionPerformed(FileTransferConversationComponent.java:454)

--
Sincerely yours, Alexander.