My users noticed incorrect operation of spark version 3.0.2. After launching the application, no new messages are displayed in any chat. Instead, a long bar is displayed and from whom the message was sent (login) in the right corner of the chat. New messages appear in OS notifications and can be read, but in the dialog itself there is only the user’s name and a long strip without messages. If you open the message history of a problematic user, new messages that have been sent to that user will be displayed there. If a problematic user writes to another user, then everything is the same - a long streak and nothing more. The problem appears at a random moment and is resolved by restarting the application.
Do you have any suggestions?
The problem happened again today. There is no text of the message, only the usernames of the sender and recipient are visible. Also, users reported that the problem was only in the morning.
I collected logs from a problematic user.
error.txt (12,9 КБ)
Caps element with missing attributes. Attributes: hash=null version=0.95.5.13931 node=http://miranda-ng.org/caps
It looks like the user received a message from a very old Miranda client that doesn’t properly use the XMPP protocol and doesn’t set the required hash
attribute for XEP-0115 Entity Capabilities.
The problem was fixed in 2017 XMPP CAPS data is missing required attribute value. · Issue #667 · miranda-ng/miranda-ng · GitHub
The second exception is more complicated. It’s hard to tell what was wrong. In the code at that place it tries to add a line to the chat text view. It only tries to get message styles so try to change ChatRoomFontSize, messageColor or backgroundColor. Maybe they weren’t set properly.
Which Java version do you use? Maybe try to upgrade it.