It is currently 25 May 2025, 03:59
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Bug Reports (snapshot builds)

Postby tafkad » 12 Jun 2013, 13:32

jsv wrote:
tafkad wrote:Just played another match, I win the first duel all good, win the 2nd to take the match.... crash, here is one more report (it has crashed this way 7 times in a row now):

Description: [again I won the match]

NullPointerException | Open
Code: Select all
Forge Version:    1.4.1-SNAPSHOT-r22012
Operating System: Mac OS X 10.8.2 x86_64
Java Version:     1.6.0_43 Apple Inc.

java.lang.NullPointerException
   at forge.gui.match.QuestWinLose.awardBooster(QuestWinLose.java:566)
   at forge.gui.match.QuestWinLose.populateCustomPanel(QuestWinLose.java:217)
   at forge.gui.match.ViewWinLose.<init>(ViewWinLose.java:131)
   at forge.control.FControlGameEventHandler$7.run(FControlGameEventHandler.java:133)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:708)
   at java.awt.EventQueue.access$400(EventQueue.java:82)
   at java.awt.EventQueue$2.run(EventQueue.java:669)
   at java.awt.EventQueue$2.run(EventQueue.java:667)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:678)
   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)
Yes, this one is quite reproducible. :)
Quest world makes no difference. Since my previous report I've tried to start a new quest in Shandalar, same result.
Hey thanks, I forgot about the Travel part and I just traveled back to the Main World and won a duel and no crash this time.. interesting bug
tafkad
 
Posts: 43
Joined: 29 Dec 2011, 02:40
Has thanked: 2 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Agetian » 12 Jun 2013, 18:12

r22054: Got a NPE crash after winning a quest match instead of getting a booster. Was unable to continue from there, had to quit the match interface via Alt+F4 and my win did not even count as a result. Playing in the main world, did not travel anywhere.

NullPointerException | Open
Code: Select all
Forge Version:    1.4.1-SNAPSHOT-r22054
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_09 Oracle Corporation

java.lang.NullPointerException
   at forge.gui.match.QuestWinLose.awardBooster(QuestWinLose.java:566)
   at forge.gui.match.QuestWinLose.populateCustomPanel(QuestWinLose.java:217)
   at forge.gui.match.ViewWinLose.<init>(ViewWinLose.java:131)
   at forge.control.FControlGameEventHandler$7.run(FControlGameEventHandler.java:133)
   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)
Agetian
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby Sloth » 12 Jun 2013, 19:08

r22056 fixes the awardBooster crash.

Some editions generated null boosters (i guess Duel Decks and similar). I couldn't really find the place where these null boosters are added to the list and they might cause errors somewhere else. So someone better fix this properly.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 13 Jun 2013, 18:23

Izzet Signet is still broken, if you Press in the Right Moment Cancel you get {R} {U} without paying its cost (also the Signet stays untapped, so you can fool again)

i think this is true for the other Signets
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby jsv » 13 Jun 2013, 18:43

AI plays Predatory Nightstalker while I have no creatures to sacrifice. The effect just fails to leave the stack:
Attachments
nightstalker.png
jsv
 
Posts: 53
Joined: 29 May 2013, 03:20
Has thanked: 3 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby jsv » 13 Jun 2013, 20:00

Soulbound mechanics. I have 4 creatures in play, 2 of them are not paired: Llanowar Elves and Latch Seeker. I summon Druid's Familiar, intending to pair it with the Latch Seeker. I'm asked if I want to use triggered ability, I answer yes and Druid's Familiar pairs with Llanowar Elves without giving me any choice. The Latch Seeker definitely was unpaired, next turn I successfully paired it with Trusted Forcemage.
jsv
 
Posts: 53
Joined: 29 May 2013, 03:20
Has thanked: 3 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby xbon » 13 Jun 2013, 23:20

Description: Start Game Button, Constructed format, AI Random 2 fully random color deck, me Black and White fully random color deck.

RuntimeException | Open
Code: Select all
Forge Version:    1.4.1-SNAPSHOT-r22066
Operating System: Windows 8 6.2 amd64
Java Version:     1.7.0_13 Oracle Corporation

java.lang.RuntimeException: Generate2ColorDeck : get2ColorDeck -- looped too much -- Cr12
   at forge.deck.generate.GenerateColoredDeckBase.addSome(GenerateColoredDeckBase.java:112)
   at forge.deck.generate.GenerateColoredDeckBase.addCmcAdjusted(GenerateColoredDeckBase.java:228)
   at forge.deck.generate.GenerateColoredDeckBase.addCreaturesAndSpells(GenerateColoredDeckBase.java:92)
   at forge.deck.generate.Generate2ColorDeck.getDeck(Generate2ColorDeck.java:91)
   at forge.deck.DeckgenUtil.buildColorDeck(DeckgenUtil.java:78)
   at forge.gui.toolbox.FDeckChooser.getDeck(FDeckChooser.java:284)
   at forge.gui.home.sanctioned.CSubmenuConstructed.startGame(CSubmenuConstructed.java:101)
   at forge.gui.home.sanctioned.CSubmenuConstructed.access$3(CSubmenuConstructed.java:99)
   at forge.gui.home.sanctioned.CSubmenuConstructed$2.actionPerformed(CSubmenuConstructed.java:58)
   at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
   at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
   at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
   at javax.swing.plaf.basic.BasicButtonListener$Actions.actionPerformed(Unknown Source)
   at javax.swing.SwingUtilities.notifyAction(Unknown Source)
   at javax.swing.JComponent.processKeyBinding(Unknown Source)
   at javax.swing.JComponent.processKeyBindings(Unknown Source)
   at javax.swing.JComponent.processKeyEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
   at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
   at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
   at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
   at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.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)
xbon
 
Posts: 124
Joined: 04 Jun 2013, 22:52
Has thanked: 18 times
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby jsv » 14 Jun 2013, 06:28

Description:

1. Open Deck Editor
2. Add Filter -> Format -> Standard
3. Press Change Section twice

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

java.lang.NullPointerException
   at forge.card.CardDb$PredicateExistsInSets.apply(CardDb.java:362)
   at forge.card.CardDb$PredicateExistsInSets.apply(CardDb.java:1)
   at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:343)
   at com.google.common.base.Predicates$AndPredicate.apply(Predicates.java:343)
   at com.google.common.base.Predicates$OrPredicate.apply(Predicates.java:377)
   at com.google.common.base.Predicates$CompositionPredicate.apply(Predicates.java:536)
   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 forge.item.ItemPool.addAll(ItemPool.java:151)
   at forge.gui.deckeditor.tables.EditorTableModel.addCards(EditorTableModel.java:167)
   at forge.gui.deckeditor.tables.EditorTableView.updateView(EditorTableView.java:488)
   at forge.gui.deckeditor.tables.EditorTableView.setDeckImpl(EditorTableView.java:347)
   at forge.gui.deckeditor.tables.EditorTableView.setDeck(EditorTableView.java:319)
   at forge.gui.deckeditor.controllers.CEditorConstructed.cycleEditorMode(CEditorConstructed.java:246)
   at forge.gui.deckeditor.controllers.CEditorConstructed$2.run(CEditorConstructed.java:322)
   at forge.gui.toolbox.FLabel._doMouseAction(FLabel.java:309)
   at forge.gui.toolbox.FLabel.access$5(FLabel.java:304)
   at forge.gui.toolbox.FLabel$4.mouseClicked(FLabel.java:345)
   at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.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)
jsv
 
Posts: 53
Joined: 29 May 2013, 03:20
Has thanked: 3 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby jsv » 14 Jun 2013, 07:18

Description: AI plays Catch // Release

IndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.4.1-SNAPSHOT-r22069
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.game.player.PlayerControllerHuman.chooseSingleCardForEffect(PlayerControllerHuman.java:269)
   at forge.card.ability.effects.ChooseCardEffect.resolve(ChooseCardEffect.java:86)
   at forge.card.spellability.AbilitySub.resolve(AbilitySub.java:130)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1055)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1038)
   at forge.card.ability.effects.RepeatEachEffect.resolve(RepeatEachEffect.java:87)
   at forge.card.ability.SpellApiBased.resolve(SpellApiBased.java:54)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1055)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1038)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:522)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:871)
   at forge.game.GameAction.startGame(GameAction.java:1422)
   at forge.game.Match$1.run(Match.java:105)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Attachments
catch-release.jpg
jsv
 
Posts: 53
Joined: 29 May 2013, 03:20
Has thanked: 3 times
Been thanked: 6 times

Re: Bug Reports (snapshot builds)

Postby Sloth » 14 Jun 2013, 11:27

jsv wrote:AI plays Predatory Nightstalker while I have no creatures to sacrifice. The effect just fails to leave the stack:
jsv wrote:Description: AI plays Catch // Release

IndexOutOfBoundsException | Open
Code: Select all
Forge Version:    1.4.1-SNAPSHOT-r22069
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.game.player.PlayerControllerHuman.chooseSingleCardForEffect(PlayerControllerHuman.java:269)
   at forge.card.ability.effects.ChooseCardEffect.resolve(ChooseCardEffect.java:86)
   at forge.card.spellability.AbilitySub.resolve(AbilitySub.java:130)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1055)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1038)
   at forge.card.ability.effects.RepeatEachEffect.resolve(RepeatEachEffect.java:87)
   at forge.card.ability.SpellApiBased.resolve(SpellApiBased.java:54)
   at forge.card.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1055)
   at forge.card.ability.AbilityUtils.resolve(AbilityUtils.java:1038)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:522)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:871)
   at forge.game.GameAction.startGame(GameAction.java:1422)
   at forge.game.Match$1.run(Match.java:105)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Both fixed! Thanks jsv.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Bug Reports (snapshot builds)

Postby tafkad » 15 Jun 2013, 16:40

Played Silverblade Paladin and do not get to choose what creature to pair it with - I had Guardians of Akrasa & Spiritual Guardian in play and it chose my defender and I obviously want it paired to my attacker.

1.4.1 r22055 OSX

Recreated: Played Silverblade Paladin would like to pair with my 5/5 Champion of the Parish and not my 1/1 Loyal Sentry but I don't get to choose...
tafkad
 
Posts: 43
Joined: 29 Dec 2011, 02:40
Has thanked: 2 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby bronzitro » 16 Jun 2013, 04:42

i play the quest model for several time.today i open the forge and can not open the card deck in the quest model.

Code: Select all
Forge Version:    1.4.0-r21849
Operating System: Windows 8 6.2 amd64
Java Version:     1.7.0_07 Oracle Corporation

java.lang.NullPointerException
   at forge.gui.framework.SLayoutIO.loadLayout(SLayoutIO.java:153)
   at forge.gui.deckeditor.VDeckEditorUI.populate(VDeckEditorUI.java:35)
   at forge.control.FControl.changeState(FControl.java:245)
   at forge.gui.toolbox.DeckLister.editDeck(DeckLister.java:426)
   at forge.gui.toolbox.DeckLister.access$7(DeckLister.java:422)
   at forge.gui.toolbox.DeckLister$EditButton$1.mouseClicked(DeckLister.java:255)
   at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.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)
then i update forge to the lastest release. but the BUG are still happening

Code: Select all
Forge Version:    1.4.1-r22075
Operating System: Windows 8 6.2 amd64
Java Version:     1.7.0_07 Oracle Corporation

forge.gui.framework.InvalidLayoutFileException
   at forge.gui.framework.SLayoutIO.loadLayout(SLayoutIO.java:191)
   at forge.gui.deckeditor.VDeckEditorUI.populate(VDeckEditorUI.java:35)
   at forge.control.FControl.changeState(FControl.java:248)
   at forge.gui.toolbox.DeckLister.editDeck(DeckLister.java:426)
   at forge.gui.toolbox.DeckLister.access$7(DeckLister.java:422)
   at forge.gui.toolbox.DeckLister$EditButton$1.mouseClicked(DeckLister.java:255)
   at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.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)
bronzitro
 
Posts: 6
Joined: 11 Jun 2013, 15:10
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby Agetian » 16 Jun 2013, 11:18

r22096: Got this NPE in combat, did not notice anything peculiar about that particular combat, so not sure what exactly caused it.

NullPointerException | Open
Code: Select all
Forge Version:    1.4.2-SNAPSHOT-r22096
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_09 Oracle Corporation

java.lang.NullPointerException
   at forge.game.phase.Combat.assignAttackersDamage(Combat.java:644)
   at forge.game.phase.Combat.assignCombatDamage(Combat.java:683)
   at forge.game.phase.PhaseHandler.onPhaseBegin(PhaseHandler.java:340)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:869)
   at forge.game.GameAction.startGame(GameAction.java:1422)
   at forge.game.Match$1.run(Match.java:105)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Agetian
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby Chris H. » 16 Jun 2013, 12:42

bronzitro wrote:then i update forge to the lastest release. but the BUG are still happening

Code: Select all
Forge Version:    1.4.1-r22075
Operating System: Windows 8 6.2 amd64
Java Version:     1.7.0_07 Oracle Corporation

forge.gui.framework.InvalidLayoutFileException
   at forge.gui.framework.SLayoutIO.loadLayout(SLayoutIO.java:191)
   at forge.gui.deckeditor.VDeckEditorUI.populate(VDeckEditorUI.java:35)
   at forge.control.FControl.changeState(FControl.java:248)
   at forge.gui.toolbox.DeckLister.editDeck(DeckLister.java:426)
   at forge.gui.toolbox.DeckLister.access$7(DeckLister.java:422)
   at forge.gui.toolbox.DeckLister$EditButton$1.mouseClicked(DeckLister.java:255)
   at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(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.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.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)
 
Follow the instructions that are located in the CHANGES.txt file titled "Match and Deck Editor Layout problems".
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Bug Reports (snapshot builds)

Postby friarsol » 16 Jun 2013, 14:31

Looks like the addition of Duel Decks causes issues when chosen as the basic land set in the quest shop

Quest Duel Decks crash | Open
EDT > java.util.NoSuchElementException: Asked for 'Island' from 'DDC' #-1: db didn't find that copy.
at forge.card.CardDb.getCard(CardDb.java:291)
at forge.card.CardDb.getCard(CardDb.java:282)
at forge.quest.QuestUtilCards.generateBasicLands(QuestUtilCards.java:127)
at forge.quest.QuestUtilCards.generateCardsInShop(QuestUtilCards.java:554)
at forge.quest.QuestUtilCards.getShopList(QuestUtilCards.java:573)
at forge.gui.deckeditor.controllers.CEditorQuestCardShop.init(CEditorQuestCardShop.java:458)
at forge.gui.deckeditor.CDeckEditorUI.updateController(CDeckEditorUI.java:379)
at forge.gui.deckeditor.CDeckEditorUI.setCurrentEditorController(CDeckEditorUI.java:106)
at forge.gui.home.quest.SSubmenuQuestUtil.showSpellShop(SSubmenuQuestUtil.java:251)
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: Google [Bot] and 38 guests


Who is online

In total there are 39 users online :: 1 registered, 0 hidden and 38 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: Google [Bot] and 38 guests

Login Form