• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Chat Client (Yeah, I was bored)

Status
Not open for further replies.
Ooh, two other fixes I'd like

- when GI'd users enter the chatroom I just see "[GLOBAL IGNORED] has joined the channel" and have to wait until they talk or look at the userlist to see who exactly that is. I can see their username when they leave again.
- For whatever reason, /pm doesn't work from the client. I have to go onto browser chat to use /pm.
 
Level 18
Joined
Mar 13, 2009
Messages
1,411
[19-02-28] Logging in with username Billy the Cat...
[19-02-34] Failed to parse chat info
[19-02-36] Not connected to server

What's this? My chat client froze...

Edit: Nevermind Ralle messed up with the url to the chat.
 
Last edited:
Level 23
Joined
Nov 29, 2006
Messages
2,482
For some reason it really cracked mine up, starting off by twisting every message and duplicate it twice, and then after scrolling up and down one time, everything screwed up.

I have the errorlog too. Ive seen it complaining alot about that the log files shouldnt exist, yet I have them right in the folder they should be.

Code:
java.io.FileNotFoundException: C:\Users\Albc\Downloads\HWCC\logs\html\12-17-2009.html (The requested operation cannot be performed on a file with a user-mapped section open)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(Unknown Source)
	at java.io.FileOutputStream.<init>(Unknown Source)
	at java.io.FileWriter.<init>(Unknown Source)
	at components.Channel.writeMessageDo(Channel.java:99)
	at components.Channel.access$6(Channel.java:46)
	at components.Channel$2.run(Channel.java:331)
	at java.lang.Thread.run(Unknown Source)
java.lang.ArrayIndexOutOfBoundsException
	at java.lang.System.arraycopy(Native Method)
	at javax.swing.text.BoxView.updateLayoutArray(Unknown Source)
	at javax.swing.text.BoxView.replace(Unknown Source)
	at javax.swing.text.View.append(Unknown Source)
	at javax.swing.text.FlowView$FlowStrategy.layout(Unknown Source)
	at javax.swing.text.FlowView.layout(Unknown Source)
	at javax.swing.text.BoxView.setSize(Unknown Source)
	at javax.swing.text.BoxView.updateChildSizes(Unknown Source)
	at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
	at javax.swing.text.BoxView.layout(Unknown Source)
	at javax.swing.text.BoxView.setSize(Unknown Source)
	at javax.swing.text.BoxView.updateChildSizes(Unknown Source)
	at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
	at javax.swing.text.BoxView.layout(Unknown Source)
	at javax.swing.text.BoxView.setSize(Unknown Source)
	at javax.swing.text.BoxView.updateChildSizes(Unknown Source)
	at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
	at javax.swing.text.BoxView.layout(Unknown Source)
	at javax.swing.text.BoxView.setSize(Unknown Source)
	at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Unknown Source)
	at javax.swing.plaf.basic.BasicTextUI$RootView.paint(Unknown Source)
	at javax.swing.plaf.basic.BasicTextUI.paintSafely(Unknown Source)
	at javax.swing.plaf.basic.BasicTextUI.paint(Unknown Source)
	at javax.swing.plaf.basic.BasicTextUI.update(Unknown Source)
	at javax.swing.JComponent.paintComponent(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintToOffscreen(Unknown Source)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
	at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
	at javax.swing.RepaintManager.paint(Unknown Source)
	at javax.swing.JComponent.paintForceDoubleBuffered(Unknown Source)
	at javax.swing.JViewport.blitDoubleBuffered(Unknown Source)
	at javax.swing.JViewport.windowBlitPaint(Unknown Source)
	at javax.swing.JViewport.setViewPosition(Unknown Source)
	at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.vsbStateChanged(Unknown Source)
	at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(Unknown Source)
	at javax.swing.DefaultBoundedRangeModel.fireStateChanged(Unknown Source)
	at javax.swing.DefaultBoundedRangeModel.setRangeProperties(Unknown Source)
	at javax.swing.DefaultBoundedRangeModel.setValue(Unknown Source)
	at javax.swing.JScrollBar.setValue(Unknown Source)
	at components.Channel$1.run(Channel.java:212)
	at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
	at javax.swing.text.View.setParent(Unknown Source)
	at javax.swing.text.CompositeView.setParent(Unknown Source)
	at javax.swing.text.FlowView.setParent(Unknown Source)
	at javax.swing.text.html.ParagraphView.setParent(Unknown Source)
	at javax.swing.text.View.setParent(Unknown Source)
	at javax.swing.text.CompositeView.setParent(Unknown Source)
	at javax.swing.text.html.BlockView.setParent(Unknown Source)
	at javax.swing.text.CompositeView.replace(Unknown Source)
	at javax.swing.text.BoxView.replace(Unknown Source)
	at javax.swing.text.View.updateChildren(Unknown Source)
	at javax.swing.text.View.removeUpdate(Unknown Source)
	at javax.swing.text.View.forwardUpdateToView(Unknown Source)
	at javax.swing.text.View.forwardUpdate(Unknown Source)
	at javax.swing.text.BoxView.forwardUpdate(Unknown Source)
	at javax.swing.text.View.removeUpdate(Unknown Source)
	at javax.swing.plaf.basic.BasicTextUI$RootView.removeUpdate(Unknown Source)
	at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.removeUpdate(Unknown Source)
	at javax.swing.text.AbstractDocument.fireRemoveUpdate(Unknown Source)
	at javax.swing.text.AbstractDocument.handleRemove(Unknown Source)
	at javax.swing.text.AbstractDocument.remove(Unknown Source)
	at components.Channel.writeMessageDo(Channel.java:182)
	at components.Channel.access$6(Channel.java:46)
	at components.Channel$2.run(Channel.java:331)
	at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException[...] followed by several null pointerexceptions


As a sidenote, it would be nice if the errorlog contained the time when the error happends. Me myself could validate if the issue is related to the current issue I have if it is (you got that right I hope:p)
 

Attachments

  • bug.png
    bug.png
    136.6 KB · Views: 125
Level 23
Joined
Nov 29, 2006
Messages
2,482
i dont know why it happend, I was not running any specific processes more than firefox and skype. It seems to be complaining about the logging alot (started yesterday when I turned logging on), but when I look inside the log, it seems to be logging everything quite alright.

And about the graphics issue, I have no idea. Its the first time I see it happend. Thus I would have guessed it could be related to the logging
 
Level 23
Joined
Nov 29, 2006
Messages
2,482
Im not quite sure it is 100%. But yes it works 99% of the times.

I managed to reproduce my error but I dont know how. This time I was opening JassCraft and then looked back on the chat, scrolling abit and it all screwed up again.
Same errors occur. First the filenotfoundexception, then arrayindexoutofbounds and finally several nullpointerexceptions. My new guess would be it has something to do with the writing to a new file when the clock passes to a new date?

Edit: and so it happend again...

Code:
ava.lang.NumberFormatException: For input string: "<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">"
	at java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at components.ChatHandler.getUserList(ChatHandler.java:221)
	at main.Client$membersListClass.run(Client.java:318)
	at java.lang.Thread.run(Unknown Source)
java.lang.NumberFormatException: For input string: "<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">"
	at java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at components.ChatHandler.getUserList(ChatHandler.java:221)
	at main.Client$membersListClass.run(Client.java:318)
	at java.lang.Thread.run(Unknown Source)
java.lang.NumberFormatException: For input string: "<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">"
	at java.lang.NumberFormatException.forInputString(Unknown Source)
	at java.lang.Integer.parseInt(Unknown Source)
	at components.ChatHandler.getUserList(ChatHandler.java:221)
	at main.Client$membersListClass.run(Client.java:318)
	at java.lang.Thread.run(Unknown Source)
java.io.FileNotFoundException: C:\Users\Albc\Downloads\HWCC\logs\html\12-22-2009.html (The requested operation cannot be performed on a file with a user-mapped section open)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(Unknown Source)
	at java.io.FileOutputStream.<init>(Unknown Source)
	at java.io.FileWriter.<init>(Unknown Source)
	at components.Channel.writeMessageDo(Channel.java:99)
	at components.Channel.access$6(Channel.java:46)
	at components.Channel$2.run(Channel.java:331)
	at java.lang.Thread.run(Unknown Source)
java.lang.ArrayIndexOutOfBoundsException[...]
followed by several nullpointerexceptions[...]
 
Last edited:
Level 23
Joined
Nov 29, 2006
Messages
2,482
The reason why I leave it out [...] is because the errors have been identical to the ones I've had before. But meh I wouldnt even remember that, lol.
I seldom look at the logs. They appear to do so without my knowledge, and I dont know how to change them to nonread only everytime. If this is something I have to do with every log manually everytime it is created, I guess I will turn it off:|
 
Level 22
Joined
Dec 31, 2006
Messages
2,216
Hmm, that explains why my chat crashed so many times while I had AVG and completely stopped once I got Norton :D

Edit: Hmm, this could be something I can use as a proof for why Norton > AVG :D
 
Status
Not open for further replies.
Top