Had this bug again today…
PC had been booted for about an hour.
Another person sent them a message
They typed out reply and hit enter, cursor moves to the start of the chat window but the test doesnt appear as sent.
The message is recieved and it goes into the user logs
Restarting Spark fixed the problem but its a workaround not a fix
Errors.log in the users spark path
10/05/2013 11:14:28 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: 190)
at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:278)
at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:264)
at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.sendMessage(ChatRoomImpl.java:239)
at org.jivesoftware.spark.ui.ChatRoom.checkForEnter(ChatRoom.java:706)
at org.jivesoftware.spark.ui.ChatRoom.access$300(ChatRoom.java:89)
at org.jivesoftware.spark.ui.ChatRoom$3.keyPressed(ChatRoom.java:335)
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)
Error.log in the Spark install folder:
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.insertNotificationMessage(Transcript Window.java:254)
at org.jivesoftware.spark.ui.rooms.ChatRoomImpl.connectionClosed(ChatRoomImpl.java :608)
at org.jivesoftware.smack.PacketReader.shutdown(PacketReader.java:134)
at org.jivesoftware.smack.XMPPConnection.shutdown(XMPPConnection.java:386)
at org.jivesoftware.smack.XMPPConnection.disconnect(XMPPConnection.java:428)
at org.jivesoftware.smack.Connection.disconnect(Connection.java:459)
at org.jivesoftware.MainWindow.shutdown(MainWindow.java:278)
at org.jivesoftware.sparkimpl.plugin.systray.SysTrayPlugin$5.actionPerformed(SysTr ayPlugin.java:184)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(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.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(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)