powered by Jive Software

Prefrences Dialog in Linux

Does anyone else have problems with the SVN version and linux? I can open the prefrences dialog in linux, but when I go to choose another section, Login, File Transfer, etc. nothing changes and I get

"Exception in thread “AWT-EventQueue-0” java.lang.NoClassDefFoundError: Could not initialize class com.jniwrapper.win32.registry.RegistryKey

Is anyone else seeing this issue? Or is it just me?

~Edit: Here is the backtrace from the bug above.

Exception in thread “AWT-EventQueue-0” java.lang.NoClassDefFoundError: Could not initialize class com.jniwrapper.win32.registry.RegistryKey

at com.jivesoftware.plugin.jniwrapper.JNIWrapperPlugin.launchOnStartup(JNIWrapperP lugin.java:89)

at com.jivesoftware.plugin.jniwrapper.JNIWrapperPlugin.access$000(JNIWrapperPlugin .java:28)

at com.jivesoftware.plugin.jniwrapper.JNIWrapperPlugin$1.preferencesChanged(JNIWra pperPlugin.java:37)

at org.jivesoftware.sparkimpl.settings.local.SettingsManager.fireListeners(Setting sManager.java:119)

at org.jivesoftware.sparkimpl.settings.local.SettingsManager.saveSettings(Settings Manager.java:70)

at org.jivesoftware.sparkimpl.preference.chat.ChatPreference.commit(ChatPreference .java:100)

at org.jivesoftware.sparkimpl.preference.PreferencesPanel.valueChanged(Preferences Panel.java:75)

at javax.swing.JList.fireSelectionValueChanged(JList.java:1765)

at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1779)

at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionMode l.java:167)

at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionMode l.java:137)

at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionM odel.java:668)

at javax.swing.JList.setValueIsAdjusting(JList.java:2110)

at javax.swing.plaf.basic.BasicListUI$Handler.mouseReleased(BasicListUI.java:2756)

at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)

at java.awt.Component.processMouseEvent(Component.java:6038)

at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)

at java.awt.Component.processEvent(Component.java:5803)

at java.awt.Container.processEvent(Container.java:2058)

at java.awt.Component.dispatchEventImpl(Component.java:4410)

at java.awt.Container.dispatchEventImpl(Container.java:2116)

at java.awt.Component.dispatchEvent(Component.java:4240)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)

at java.awt.Container.dispatchEventImpl(Container.java:2102)

at java.awt.Window.dispatchEventImpl(Window.java:2429)

at java.awt.Component.dispatchEvent(Component.java:4240)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)

at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:27 3)

at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:17 3)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Message was edited by: spottedcoin

Hi,

Thanks for the bug report. This is now fixed in trunk.

Cheers,

Derek

I updated my source with trunk and am now getting:

Exception in thread “main” java.lang.NoSuchMethodError: main

I haven’'t really messed with it, but I do know that this occurs in linux and not in windows.

Ok figured it out.

bin/startup.sh stil ends with

org.jivesoftware.Spark

when it should be

org.jivesoftware.launcher.Startup

Like the startup.bat file.