powered by Jive Software

Cannot see messages being sent or reveived in chat box

Hi,

I’m running the latest version of Spark/Openfire. I’ve been slowly adding more users into a “testing phase” before we go live for the whole office. After the first week we had no issues with 3 people using the software, 2 running it from a terminal server and myself using a PC. We added 2 more terminal users this week and they have been having the following bug:

When they type a message into the chat box and hit enter the message is sent, but they do not see anything change. The message is retained in their input area and nothing is displayed above in the chatbox. Restarting the client will fix this only temporarily. I have found some posts about the issue, but not really any recent or with solutions. So far the best idea I’ve read was reverting to an older Spark client. Any help would be greatly appreciated.

Thanks!

We have same bug. Restarting spark fix problem. I think there is network problem, because this bug have clietns with some others network problem.

I was able to resolve it by downgrading the client version to 2.0.8. It is not quite as pretty as the newer versions, but at least it works.

I have seen the same actually in 2.6.3 stable version w/ ejabberd as the back end.

Also have no members show up in the conference rooms too (but they are there) - I have a post open about that too.

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)

Can not find old version on forum. Can you send me this version?

Hi Higgins777,

Did you find a solution for this issue? I have the same issue right here on a windows 2008 R2 X64 terminal environment using spark 2.6.3. When I use a Windows 7 x64 pc and log into spark with the same user thats having issues on the terminal it works perfectly on the pc.

I was able to resolve it by downgrading the client version to 2.0.8. It is not an ideal fix, but it was the only way I could get it to stop happening. I have 2.6.3 on all of the PCs at our office, and 2.0.8 rolled out on the terminal

Thanks for your reply mate. I currently rolled sparkweb out for the terminal users, so far it seems to work fine. If that doesn’t work out in the long run i’ll downgrade the client to 2.0.8