No system tray, main UI disapears

Hi,

We’re seeing an issue very much like the one discussed here, but there doesn’t seem to be a resolution:

Spark: 2 5 8

OS: Win XP

JRE: 1.6.0_03-b05

Spark refuses to create a system try icon and if you happen to close the main window, you’ve lost the UI. The process is running and you’ll receive messages, but you can’t select anyone to message.

In the logs we’re seeing this exception:

23-Nov-2007 13:42:40 org.jivesoftware.spark.util.log.Log error

SEVERE:

java.lang.ExceptionInInitializerError

at com.jniwrapper.win32.system.Kernel32.isUnicode(Kernel32.java:74)

at com.jniwrapper.win32.FunctionName.<clinit>(FunctionName.java:27)

at com.jivesoftware.plugin.jniwrapper.WindowsNativeHandler.<clinit>(WindowsN ativeHandler.java:38)

at com.jivesoftware.plugin.jniwrapper.JNIWrapperPlugin.initialize(JNIWrapperPlugin .java:24)

at org.jivesoftware.spark.PluginManager$1.run(PluginManager.java:404)

at java.awt.event.InvocationEvent.dispatch(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

Caused by: com.jniwrapper.n

at com.jniwrapper.J.b(SourceFile:145)

at com.jniwrapper.J.<init>(SourceFile:32)

at com.jniwrapper.Parameter.<clinit>(SourceFile:22)

Any ideas how we get it to into the tray properly?