Re: Bug Reports (snapshot builds)
by Fizanko
r27546 medium AI "Hermes Conrad" threw another similar error to before , this time he was attacking and applying damage (as i didn't block):


- IndexOutOfBoundsException | Open
- Code: Select all
Forge Version: 1.5.28-SNAPSHOT-r27546 (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version: 1.7.0_10 Oracle Corporation
java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at forge.game.card.CardCharacteristics.determineColor(CardCharacteristics.java:497)
at forge.game.card.Card.determineColor(Card.java:1620)
at forge.view.ViewUtil.writeNonDependentCardViewProperties(ViewUtil.java:79)
at forge.view.LocalGameView.writeCardToView(LocalGameView.java:469)
at forge.view.LocalGameView.getCardView(LocalGameView.java:393)
at forge.view.LocalGameView$3.apply(LocalGameView.java:408)
at forge.view.LocalGameView$3.apply(LocalGameView.java:405)
at forge.view.ViewUtil.transformIfNotNull(ViewUtil.java:142)
at forge.view.LocalGameView.getCardViews(LocalGameView.java:413)
at forge.view.LocalGameView.getPlayerView(LocalGameView.java:351)
at forge.view.LocalGameView.getPlayerView(LocalGameView.java:323)
at forge.view.LocalGameView.getGameEntityView(LocalGameView.java:279)
at forge.view.LocalGameView.getCombat(LocalGameView.java:183)
at forge.view.LocalGameView.getCombat(LocalGameView.java:167)
at forge.screens.match.TargetingOverlay$OverlayPanel.paintComponent(TargetingOverlay.java:366)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JLayeredPane.paint(Unknown Source)
at javax.swing.JComponent.paintChildren(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.BufferStrategyPaintManager.paint(Unknown Source)
at javax.swing.RepaintManager.paint(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
at javax.swing.RepaintManager.access$700(Unknown Source)
at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
: Add
to your mana pool.
to your mana pool.
{R}. If you do, put a token onto the battlefield that's a copy of another target creature except it's an enchantment in addition to its other types. It gains haste.
to your mana pool.
to your mana pool.