Page 1 of 1

Crash report

PostPosted: 25 Sep 2013, 15:09
by Hapse
Hi i was just playing quest against "Teysa" as i was about to win then the crash came

Description: [describe what you were doing when the crash occurred]

NullPointerException | Open
Code: Select all
Forge Version:    1.4.7-r23046M
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_21 Oracle Corporation

java.lang.NullPointerException
   at forge.Card.canBeTargetedBy(Card.java:8120)
   at forge.card.spellability.SpellAbility.canTarget(SpellAbility.java:1046)
   at forge.CardPredicates$7.apply(CardPredicates.java:98)
   at forge.CardPredicates$7.apply(CardPredicates.java:95)
   at com.google.common.collect.Iterators$7.computeNext(Iterators.java:702)
   at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
   at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
   at com.google.common.collect.Lists.newArrayList(Lists.java:144)
   at com.google.common.collect.Lists.newArrayList(Lists.java:125)
   at forge.CardLists.filter(CardLists.java:232)
   at forge.CardLists.getTargetableCards(CardLists.java:201)
   at forge.card.cardfactory.CardFactoryUtil$8.resolve(CardFactoryUtil.java:2680)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1062)
   at forge.game.ai.ComputerUtil.playNoStack(ComputerUtil.java:314)
   at forge.game.player.PlayerControllerAi.playSpellAbilityNoStack(PlayerControllerAi.java:263)
   at forge.card.trigger.WrappedAbility.resolve(WrappedAbility.java:362)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1062)
   at forge.game.ai.ComputerUtil.playNoStack(ComputerUtil.java:314)
   at forge.card.trigger.TriggerHandler.runSingleTrigger(TriggerHandler.java:427)
   at forge.card.trigger.TriggerHandler.runWaitingTrigger(TriggerHandler.java:215)
   at forge.card.trigger.TriggerHandler.runWaitingTriggers(TriggerHandler.java:183)
   at forge.game.GameAction.checkStateEffects(GameAction.java:870)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:951)
   at forge.game.GameAction.startGame(GameAction.java:1491)
   at forge.game.Match$1.run(Match.java:103)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Re: Crash report

PostPosted: 25 Sep 2013, 15:49
by Chris H.
We appreciate the bug report Hapse. :) People who are new to the Forge forum should read this topic as it contains useful information: How to Provide a Useful Bug Report.

Re: Crash report

PostPosted: 25 Sep 2013, 17:47
by Hapse
You are ever so welcome :) Such a great game you have going ;)

So i keep posting these crashes?

New one:
I had just attacked and then i casted Primeval Titan, nothing special

Description: [describe what you were doing when the crash occurred]

IndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.4.7-r23046M
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_21 Oracle Corporation

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.rangeCheck(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at forge.Card.getHiddenExtrinsicKeyword(Card.java:4578)
   at forge.Card.getKeyword(Card.java:4286)
   at forge.Card.getAmountOfKeyword(Card.java:5128)
   at forge.Card.getNetAttack(Card.java:3986)
   at forge.view.arcane.CardPanel.setText(CardPanel.java:601)
   at forge.view.arcane.CardPanel.setCard(CardPanel.java:639)
   at forge.view.arcane.PlayArea.updateCard(PlayArea.java:641)
   at forge.view.arcane.PlayArea.updateSingleCard(PlayArea.java:301)
   at forge.gui.match.CMatchUI.updateSingleCard(CMatchUI.java:371)
   at forge.gui.match.CMatchUI.updateCards(CMatchUI.java:363)
   at forge.control.FControlGameEventHandler$9.run(FControlGameEventHandler.java:256)
   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)

Re: Crash report

PostPosted: 25 Sep 2013, 21:16
by Chris H.
Hapse wrote:So i keep posting these crashes?
 
You should post bug reports to the appropriate topic.

1) Determine which version of Forge you are using.
a) If this is the latest beta release, please post in the forum thread that announced the release of the beta.
b) If this is a pretty recent snapshot release, please post in the Bug Reports (snapshot builds) in the Developer's Corner Forum.
 
It looks like you are using the 1.4.7 beta and bug reports for that version should be posted to this forum:

Forge Beta: 08-30-2013 ver 1.4.7


When people start a new topic for each and every bug that is found it tends to make it more difficult for the devs to find the info that they need to fix the bugs. :(