[BUG] java.nio.BufferUnderflowException

59 views
Skip to first unread message

Clint Johnson

unread,
Oct 2, 2012, 10:40:16 PM10/2/12
to sc2g...@googlegroups.com
I've been unable to save replays for a bit, and I'm not quite sure why. It seems intermittant. Here is the error message I'm getting. I can't seem to find anyone else having this issue. Did a search for the word Underflow in the forum. Any info would be helpful. THanks.

Error parsing replay: /Users/clintjohnson/Library/Application Support/Blizzard/StarCraft II/Accounts/943842/1-S2-1-569646/Replays/Multiplayer/Gears/1v1/Private/0618 UtteRChaoS (P) vs CZSleepSheep (T).SC2Replay
java.nio.BufferUnderflowException
at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:127)
at java.nio.ByteBuffer.get(ByteBuffer.java:675)
at hu.belicza.andras.sc2gears.sc2replay.Parser.readStringWithLength(Parser.java:228)
at hu.belicza.andras.sc2gears.sc2replay.ReplayParser.parseMessageEvents(ReplayParser.java:434)
at hu.belicza.andras.sc2gears.sc2replay.ReplayFactory.parseReplay(ReplayFactory.java:312)
at hu.belicza.andras.sc2gears.sc2replay.ReplayFactory.parseReplay(ReplayFactory.java:213)
at hu.belicza.andras.sc2gears.ui.moduls.replayanal.ReplayAnalyzer.<init>(ReplayAnalyzer.java:467)
at hu.belicza.andras.sc2gears.ui.MainFrame.createNewInternalFrame(MainFrame.java:1998)
at hu.belicza.andras.sc2gears.ui.MainFrame.openReplayFile(MainFrame.java:2094)
at hu.belicza.andras.sc2gears.ui.MainFrame.openLastReplayFile(MainFrame.java:2086)
at hu.belicza.andras.sc2gears.ui.moduls.startpage.StartPage$6.mousePressed(StartPage.java:215)
at java.awt.Component.processMouseEvent(Component.java:6372)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6140)
at java.awt.Container.processEvent(Container.java:2083)
at java.awt.Component.dispatchEventImpl(Component.java:4737)
at java.awt.Container.dispatchEventImpl(Container.java:2141)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4277)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
at java.awt.Container.dispatchEventImpl(Container.java:2127)
at java.awt.Window.dispatchEventImpl(Window.java:2482)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:684)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:643)
at java.awt.EventQueue$1.run(EventQueue.java:641)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:657)
at java.awt.EventQueue$2.run(EventQueue.java:655)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:654)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Clint Johnson

unread,
Oct 2, 2012, 10:41:45 PM10/2/12
to sc2g...@googlegroups.com
Wow. Upon further searching, the post directly under mine had this same issue. SO much for search. :) Thanks.

András Belicza

unread,
Oct 2, 2012, 10:55:58 PM10/2/12
to sc2g...@googlegroups.com
This is due to a small replay format change. I will include a fix for this in the next release.

András Belicza

unread,
Oct 3, 2012, 8:00:36 AM10/3/12
to sc2g...@googlegroups.com
A new version has been released which handles these replays properly. If you still have other replays producing error, please send them to me.

Clint Johnson

unread,
Oct 3, 2012, 8:19:46 AM10/3/12
to sc2g...@googlegroups.com
Thanks for such quick help. 
Reply all
Reply to author
Forward
0 new messages