java.nio.BufferUnderflowException

195 views
Skip to first unread message

jun...@gmail.com

unread,
Aug 28, 2013, 7:00:19 AM8/28/13
to sc2g...@googlegroups.com
Hi,

i have this problem when i try to open a replay with a long text of messages


The language file (Spanish) version (4.0) does not match the application language version (14.1).
Some texts might be displayed in the default language.
Performing post-update...
Post-update completed.
Error parsing replay: C:\Users\Hidralisco\Desktop\replays league 2\2 Flipao(T) -  AlvarZenit(T).SC2Replay
java.nio.BufferUnderflowException
    at java.nio.HeapByteBuffer.get(Unknown Source)
    at java.nio.ByteBuffer.get(Unknown Source)
    at hu.belicza.andras.sc2gears.sc2replay.Parser.readStringWithLength(Parser.java:230)
    at hu.belicza.andras.sc2gears.sc2replay.ReplayParser.parseMessageEvents(ReplayParser.java:521)
    at hu.belicza.andras.sc2gears.sc2replay.ReplayFactory.parseReplay(ReplayFactory.java:312)
    at hu.belicza.andras.sc2gears.sc2replay.ReplayFactory.parseReplay(ReplayFactory.java:214)
    at hu.belicza.andras.sc2gears.util.ReplayCache.getReplay(ReplayCache.java:134)
    at hu.belicza.andras.sc2gears.ui.moduls.replaysearch.ReplaySearch$22$12.run(ReplaySearch.java:1377)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)


Cheers

András Belicza

unread,
Aug 28, 2013, 7:44:01 AM8/28/13
to sc2g...@googlegroups.com
Looks like Sc2gears doesn't parse well the length of messages...

I don't promise an early fix, could be this will only work in the successor of Sc2gears:


--
You received this message because you are subscribed to the Google Groups "sc2gears" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sc2gears+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages