Bug - Fixed Can't open chat GUI if relay browser already chatting

Veracity

Developer
Staff member
If I click on the "chat" button in the GUI first, it opens the chat window.
If I open chat in the Relay Browser first, I see the following in the gCLI:

Initializing chat interface...
Requests complete

but no chat window opens.
 

Veracity

Developer
Staff member
As soon as something is echoed in the Relay Browser chat - even if you were the one who typed it - THEN the chat GUI opens up.

So, what if I want to type into the chat GUI? If the Relay Browser chat is not open, it opens up and you can type into it, but if the Relay Browser chat is open, you have to wait for activity there.
 

Veracity

Developer
Staff member
Revision 14752 should open chat tabs for all channels that we currently know are active.
 

Veracity

Developer
Staff member
Huh. Well, if I open the chat GUI, close it, and attempt to open it again, nada.
Back to work.
 
I think this might have broken who_clan();

I now get an NPE.

Code:
Unexpected error, debug log printed.
class java.lang.NullPointerException: null
java.lang.NullPointerException
	at net.sourceforge.kolmafia.chat.ChatManager.broadcastEvent(ChatManager.java:662)
	at net.sourceforge.kolmafia.chat.ChatManager.processEvent(ChatManager.java:469)
	at net.sourceforge.kolmafia.chat.ChatManager.processMessage(ChatManager.java:355)
	at net.sourceforge.kolmafia.chat.ChatManager.processMessages(ChatManager.java:347)
	at net.sourceforge.kolmafia.chat.ChatSender.sendRequest(ChatSender.java:218)
	at net.sourceforge.kolmafia.chat.ChatSender.sendMessage(ChatSender.java:172)
	at net.sourceforge.kolmafia.textui.RuntimeLibrary.who_clan(RuntimeLibrary.java:5607)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
 
Top