IM Window Does Not Update

I am a Spark user so I don’t have any knowledge of the server side of things, just as an opening intro.

I am using V2.5.8 on Windows XP. The problem that I am seeing is that when I receive an IM from one of my contacts, the IM window will open but it is not showing the newest message. It is positioned in the earlier messages and when I scroll down to the bottom, there is nothing new. If I close the window then double click on their entry in my contact list, the IM window reopens correctly (with the new message at the bottom and positioned so that this new message is visible). This continues for the entire conversation (I have to constantly close the message window then reopen). In addition, when I send a message to this same person, it does not appear in the history section (until I reopen the window).

I just had the thought that there might be more info here so I went and found the “Logs”. It contains the recurring error below.

Any thoughts would be helpful because this really makes the tool difficult to use and I use it very routinely. Thanks in advance.

Aug 18, 2010 8:53:29 AM org.jivesoftware.spark.util.log.Log error
SEVERE: Error sending message
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at javax.swing.text.SimpleAttributeSet.addAttribute(Unknown Source)
at javax.swing.text.StyleConstants.setForeground(Unknown Source)
at org.jivesoftware.spark.ui.TranscriptWindow.insertMessage(TranscriptWindow.java: 167)
at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:262)
at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:248)
at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:223)
at org.jivesoftware.spark.ui.ChatRoom.checkForEnter(ChatRoom.java:466)
at org.jivesoftware.spark.ui.ChatRoom.access$100(ChatRoom.java:73)
at org.jivesoftware.spark.ui.ChatRoom$2.keyPressed(ChatRoom.java:251)
at java.awt.AWTEventMulticaster.keyPressed(Unknown Source)
at java.awt.Component.processKeyEvent(Unknown Source)
at javax.swing.JComponent.processKeyEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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)

We are seeing the exact same problem. On a couple of our clients the same error message presents. Always on the same clients too, independent of which version of Spark we use. Have tried a couple different and now use 2.6.0b2. Between trying each version we always delete everything, in program files and in users’ folder.

Try with spark-installer.exe from http://community.igniterealtime.org/docs/DOC-1822