Monstercraft / MonsterIRC

MonsterIRC's main repo.
Monstercraft.org
GNU General Public License v3.0
15 stars 7 forks source link

Critical Error Detected #267

Open ECGxFranky opened 11 years ago

ECGxFranky commented 11 years ago

[ SEVERE ] [MonsterIRC - Critical error detected!] [ SEVERE ] java.lang.StringIndexOutOfBoundsException: String index out of range: -2 [ SEVERE ] at java.lang.String.substring (Unkown Source) [ SEVERE ] at org.monstercraft.irc.plugin.handles.thread.InputThread.run (InputThread.java:238)

Couldn't find what could be causing the error. Running a private server. The messages are still seen on each side. The only reason I bring this up is the use of processing power it takes to run this plugin. Not sure if it is just me or not but Minecraft itself rarely uses over 8% of my total processor.

Once I added this plugin to MC, the average jumped up to around 25% with spikes near 80%. I do not see how an IRC client could ever use this much performance so I am assuming whatever is throwing this error is causing a massive loop somewhere that prevents me from having a smooth stream.

It has been several years since I took a programming class, so it is up to you all for the help.

Nothing special running, just using MC Global Chat as the only enabled. Attempted a few versions to alleviate the issue. Ran out of idea so I decided to come back to the source. Thanks!

SudoerX commented 11 years ago

I'm having the same exact issue.