It is currently 18 May 2025, 17:47
   
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 lujo » 09 Oct 2014, 18:58

Fizanko wrote:Interesting, i thought it was an official rule to have a max limit of 60 (out of sideboards of course), so the 60 cards rule is just in fact an unofficial agreement between players in some format ?
60 cards isn't the MAX limit, it's the MIN limit for most constructed formats. XD
---

My Shandalar deck pack folder is avaliable here:Dropbox
Leave feedback on particular decks here: Google doc
Ask for instructions, give feedback and complaints here: Thread
User avatar
lujo
 
Posts: 557
Joined: 20 Nov 2013, 13:17
Has thanked: 224 times
Been thanked: 70 times

Re: Bug Reports (snapshot builds)

Postby borsuk » 09 Oct 2014, 19:43

Forge 1.5.26, problem with "prompt" tab window during any play type, i've clicked "full screen" (F11) and controls contained in that window became invisible, like their cooridnates was behind actual window frame. Switching back to normal screen mode or manually resizing window doesn't make thing look good again, only way to wayaround that is dragging prompt window to other section of the screen. Anyone got some tims how to fix that to previous working layout? Forge menu/layout options doesn't do any help.

[edit]
problem solved, "reset match layout" frome troubleshooting window done the trick
Attachments
f2.jpg
screenshot 2
f1.jpg
screenshot 1
Last edited by borsuk on 09 Oct 2014, 21:15, edited 1 time in total.
borsuk
 
Posts: 10
Joined: 05 Oct 2014, 21:01
Has thanked: 2 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby friarsol » 09 Oct 2014, 20:07

borsuk wrote:Anyone got some tims how to fix that to previous working layout? Forge menu/layout options doesn't do any help.
Have you tried Forge FAQ #4?
viewtopic.php?f=26&t=11825
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Bug Reports (snapshot builds)

Postby borsuk » 09 Oct 2014, 20:19

deleting window.xml didn't helped
borsuk
 
Posts: 10
Joined: 05 Oct 2014, 21:01
Has thanked: 2 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby lujo » 09 Oct 2014, 20:24

There are problems with the spell shop and the quest deck builder. The deck builder screen seems to lack a search option. The spell shop interface doesn't react to themouse clicks when browsing available boosters and precons (does react to keyboard though).
---

My Shandalar deck pack folder is avaliable here:Dropbox
Leave feedback on particular decks here: Google doc
Ask for instructions, give feedback and complaints here: Thread
User avatar
lujo
 
Posts: 557
Joined: 20 Nov 2013, 13:17
Has thanked: 224 times
Been thanked: 70 times

Re: Bug Reports (snapshot builds)

Postby Sloth » 09 Oct 2014, 20:34

using r27873: Whenever i attack with a creature i get this fatal error:

NullPointerException | Open
Code: Select all
Forge Version:    SVN
Operating System: Windows 7 6.1 amd64
Java Version:     1.8.0_11 Oracle Corporation

java.lang.NullPointerException
   at forge.trackable.TrackableProperty.getDefaultValue(TrackableProperty.java:142)
   at forge.trackable.TrackableObject.get(TrackableObject.java:33)
   at forge.game.combat.CombatView.getAttackersWithDefenders(CombatView.java:23)
   at forge.game.combat.CombatView.addAttackingBand(CombatView.java:142)
   at forge.game.GameView.updateCombat(GameView.java:124)
   at forge.game.Game.updateCombatForView(Game.java:232)
   at forge.game.phase.PhaseHandler.declareAttackersTurnBasedAction(PhaseHandler.java:522)
   at forge.game.phase.PhaseHandler.onPhaseBegin(PhaseHandler.java:262)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:929)
   at forge.game.GameAction.startGame(GameAction.java:1570)
   at forge.game.Match.startGame(Match.java:69)
   at forge.match.MatchUtil$2.run(MatchUtil.java:231)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
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 lujo » 09 Oct 2014, 23:03

Description: Was in a match, attepted to pass turn with mana left over in the pool.

RuntimeException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r-1u
Operating System: Windows XP 5.1 x86
Java Version:     1.8.0_20 Oracle Corporation

java.lang.RuntimeException: Cannot remove input InputPassPriority because it's not on top of stack. Stack = []
   at forge.match.input.InputQueue.removeInput(InputQueue.java:58)
   at forge.match.input.InputSyncronizedBase.stop(InputSyncronizedBase.java:49)
   at forge.match.input.InputPassPriority$1.run(InputPassPriority.java:73)
   at forge.match.input.InputPassPriority$3.run(InputPassPriority.java:113)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
---

My Shandalar deck pack folder is avaliable here:Dropbox
Leave feedback on particular decks here: Google doc
Ask for instructions, give feedback and complaints here: Thread
User avatar
lujo
 
Posts: 557
Joined: 20 Nov 2013, 13:17
Has thanked: 224 times
Been thanked: 70 times

Re: Bug Reports (snapshot builds)

Postby fmartel » 10 Oct 2014, 00:19

This appened when playing Azorius Charm when AI declared attacker with it that betrays

NullPointerException | Open
Code: Select all
Forge Version:    1.5.28-r27804
Operating System: Windows 7 6.1 x64
Java Version:     1.7.0_45 Oracle Corporation

java.lang.NullPointerException
   at forge.game.ability.effects.SacrificeEffect.resolve(SacrificeEffect.java:80)
   at forge.game.ability.AbilityApiBased.resolve(AbilityApiBased.java:60)
   at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1240)
   at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1222)
   at forge.game.zone.MagicStack.resolveStack(MagicStack.java:584)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1077)
   at forge.game.GameAction.startGame(GameAction.java:1585)
   at forge.game.Match.startGame(Match.java:81)
   at forge.match.MatchUtil$2.run(MatchUtil.java:232)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
fmartel
 
Posts: 281
Joined: 31 Dec 2013, 19:27
Location: Québec City
Has thanked: 8 times
Been thanked: 4 times

Re: Bug Reports (snapshot builds)

Postby Fizanko » 10 Oct 2014, 02:39

r27870

Just happened early in the round (turn 3) while the Lambik AI (on zendikar) played :
- Misty Rainforest and solved it
- Explore and solved it
- another Misty Rainforest and just before it was solved, the error popped up :

Image

ConcurrentModificationException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r-1u
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_10 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
   at java.util.HashMap$EntryIterator.next(Unknown Source)
   at java.util.HashMap$EntryIterator.next(Unknown Source)
   at forge.game.keyword.KeywordCollection$1.next(KeywordCollection.java:117)
   at forge.game.keyword.KeywordCollection$1.next(KeywordCollection.java:101)
   at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:271)
   at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:226)
   at forge.view.PlayerView.setKeywords(PlayerView.java:173)
   at forge.view.LocalGameView.writePlayerToView(LocalGameView.java:379)
   at forge.view.LocalGameView.updatePlayers(LocalGameView.java:339)
   at forge.control.FControlGameEventHandler$1.run(FControlGameEventHandler.java:99)
   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)
probably outdated by now so you should avoid : Innistrad world for Forge (updated 17/11/2014)
Duel Decks for Forge - Forge custom decks (updated 25/10/2014)
User avatar
Fizanko
Tester
 
Posts: 780
Joined: 07 Feb 2014, 11:24
Has thanked: 155 times
Been thanked: 94 times

Re: Bug Reports (snapshot builds)

Postby jmlima » 10 Oct 2014, 05:51

Description: AI Delver triggered on their upkeep and this happened:

ConcurrentModificationException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r27812 (mixed revisions detected; please update from the root directory)
Operating System: Windows XP 5.1 x86
Java Version:     1.7.0_67 Oracle Corporation

java.util.ConcurrentModificationException
   at java.util.ArrayList$Itr.checkForComodification(Unknown Source)
   at java.util.ArrayList$Itr.next(Unknown Source)
   at forge.game.card.Card.getText(Card.java:1909)
   at forge.view.ViewUtil.writeNonDependentCardViewProperties(ViewUtil.java:86)
   at forge.view.LocalGameView.writeCardToView(LocalGameView.java:459)
   at forge.view.LocalGameView.getCardView(LocalGameView.java:415)
   at forge.view.LocalGameView.getCardViews(LocalGameView.java:431)
   at forge.control.FControlGameEventHandler$1.run(FControlGameEventHandler.java:151)
   at forge.control.GuiTimer$1.actionPerformed(GuiTimer.java:16)
   at javax.swing.Timer.fireActionPerformed(Unknown Source)
   at javax.swing.Timer$DoPostEvent.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)
User avatar
jmlima
 
Posts: 46
Joined: 02 Apr 2013, 18:20
Has thanked: 4 times
Been thanked: 5 times

Re: Bug Reports (snapshot builds)

Postby drdev » 10 Oct 2014, 05:53

I just committed r27875, which finally swaps in the refactored GameView structure I've been working on for the past several days. This should improve performance and fix a lot of the crashes and stuff not updating on the GUI that people have recently reported.

Please let me know if you see any issues after updating. Thanks.
-Dan
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby Agetian » 10 Oct 2014, 06:00

Congrats on getting the final part of the refactoring in! ;)
I'm definitely noticing a performance increase on my desktop, and I haven't seen the "untap" issues yet (though I only played a little).

Here's an issue though: not sure if this is caused by the latest commit or one of the previous ones, but there's definitely something wrong with what is visualized in the card detail text boxes. For instance, abilities of basic lands, as well as of many instants and sorceries (e.g. Petals of Insight, Brand) and enchantments (e.g. Apathy), as well as potentially many (all?) other cards, are simply not visualized.

- Agetian
Agetian
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby nefigah » 10 Oct 2014, 06:54

I'm getting a NPE now which I tracked down to the split card Turn // Burn — this exception seems to occur if I try to view that card in the deck editor, and/or if I try to start a match with that card in my deck (even in the sideboard):

NullPointerException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r27875
Operating System: Mac OS X 10.9.5 x86_64
Java Version:     1.7.0_67 Oracle Corporation

java.lang.NullPointerException
   at forge.game.card.CardView.updateState(CardView.java:388)
   at forge.game.card.Card.setState(Card.java:320)
   at forge.game.card.CardFactory.readCard(CardFactory.java:365)
   at forge.game.card.CardFactory.getCard(CardFactory.java:233)
   at forge.game.card.CardFactory.getCard(CardFactory.java:228)
   at forge.game.card.Card.fromPaperCard(Card.java:6395)
   at forge.game.Match.preparePlayerLibrary(Match.java:153)
   at forge.game.Match.prepareAllZones(Match.java:219)
   at forge.game.Match.startGame(Match.java:57)
   at forge.match.MatchUtil$2.run(MatchUtil.java:206)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:745)
nefigah
 
Posts: 42
Joined: 16 Mar 2014, 15:49
Has thanked: 10 times
Been thanked: 1 time

Re: Bug Reports (snapshot builds)

Postby Hanmac » 10 Oct 2014, 07:18

Sloth wrote:using r27873: Whenever i attack with a creature i get this fatal error:

NullPointerException | Open
Code: Select all
Forge Version:    SVN
Operating System: Windows 7 6.1 amd64
Java Version:     1.8.0_11 Oracle Corporation

java.lang.NullPointerException
   at forge.trackable.TrackableProperty.getDefaultValue(TrackableProperty.java:142)
   at forge.trackable.TrackableObject.get(TrackableObject.java:33)
   at forge.game.combat.CombatView.getAttackersWithDefenders(CombatView.java:23)
   at forge.game.combat.CombatView.addAttackingBand(CombatView.java:142)
   at forge.game.GameView.updateCombat(GameView.java:124)
   at forge.game.Game.updateCombatForView(Game.java:232)
   at forge.game.phase.PhaseHandler.declareAttackersTurnBasedAction(PhaseHandler.java:522)
   at forge.game.phase.PhaseHandler.onPhaseBegin(PhaseHandler.java:262)
   at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:929)
   at forge.game.GameAction.startGame(GameAction.java:1570)
   at forge.game.Match.startGame(Match.java:69)
   at forge.match.MatchUtil$2.run(MatchUtil.java:231)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
same thing also happens when i got attacked
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Bug Reports (snapshot builds)

Postby nefigah » 10 Oct 2014, 07:59

I've also noted what Agetian mentioned above about Card Detail Text not displaying on some cards. Also, the "summoning sickness" indicators on newly-cast creatures seem to be missing.

Lastly, I also got a different exception (occurred after opponent played Wizened Cenn):

NullPointerException | Open
Code: Select all
Forge Version:    1.5.29-SNAPSHOT-r27875
Operating System: Mac OS X 10.9.5 x86_64
Java Version:     1.7.0_67 Oracle Corporation

java.lang.NullPointerException
   at forge.screens.match.CMatchUI.updateSingleCard(CMatchUI.java:318)
   at forge.match.MatchUtil.updateCards(MatchUtil.java:320)
   at forge.control.FControlGameEventHandler$1.run(FControlGameEventHandler.java:125)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:694)
   at java.awt.EventQueue$3.run(EventQueue.java:692)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
nefigah
 
Posts: 42
Joined: 16 Mar 2014, 15:49
Has thanked: 10 times
Been thanked: 1 time

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: Baidu [Spider] and 53 guests


Who is online

In total there are 54 users online :: 1 registered, 0 hidden and 53 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: Baidu [Spider] and 53 guests

Login Form