Changing Spark username/nickname breaks chat

If you right click on the current user that is logged in and change nickname, it seems to be fine the first time, but if you do it again in the same session, then when you type, nothing appears on the spark client. From the server, it shows the chat happening, but the client doesn’t see it anymore. The only fix is to fully shutdown the client and relaunch and close again, because the initial 2nd login is still broke. So force closing a 2nd time and reopening on the 3rd attempt fixes it. I will get some logs that I noticed in the debugger and post below.

Exception in thread 'AWT-EventQueue-O" java.Iang.NullPointerException at
org.jivesoftware.spark.ui.rooms.GroupChatRoom.getMessageBackground(GroupChatRoom.java :368) at
org.jivesoftware.spark.ui.rooms.GroupChatRoom.handleMessagePacket(GroupChatRoom.java :646) at
org.jivesoftware.spark.ui.rooms.GroupChatRoom.Iambda$processStanza$2(GroupChatRoom.java:586) at
java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueuedispatchEventlmpl(Unknown
Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.Protection Domain$iavaSecurityAccesslmpl.do!ntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchlhread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchlhread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread “AWT-EventQueue-O” java.Iang.NuI!PointerException
at org.jivesoftware.spark.ui.ChatContainer.groupChatMessageCheck(ChatContainer.java :1142)
at org.jivesoftware.spark.ui.ChatContainer.handleMessageNotification(ChatContainer.java :444)
at org.jivesoftware.spark.ui.ChatContainer.Iambda$fireNotifyOnMessage$2(ChatContainer.java :741)
at java.awt.event.lnvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventlmpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.secu rity.AccessController.doPrivi Ieged(Native Method)
at java.security.ProtectionDomain$iavaSecurityAccesslmpl.dolntersectionPrivilege(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.EventDispatchlhread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchlhread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)