Bug Reports (snapshot builds)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Bug Reports (snapshot builds)
by jeffwadsworth » 21 Jul 2014, 15:13
Yo no hablo español, pero se puede usar el traductor de google para hacernos saber lo que pasó.usocerler wrote:Hello this is my problem.
i don´t speak english i speak spanish please if you can tell me somthing
thanks
https://translate.google.com
Por favor describa lo que estabas haciendo aquí cuando ocurrió el error.
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
Re: Bug Reports (snapshot builds)
by yagi » 22 Jul 2014, 15:38
Not sure this has been fixed:
Invasive Species doesn't bounce any permanent
Blastfire Bolt should cost 5R instead of 6R
Invasive Species doesn't bounce any permanent
Blastfire Bolt should cost 5R instead of 6R
- yagi
- Posts: 53
- Joined: 17 Apr 2012, 08:56
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by triskelion » 24 Jul 2014, 19:05
Hey, I'm new here so I apologize if I am doing something wrong or posting in the wrong place.
I downloaded Forge for the first time last night, and any time I try to open it I get this bug report:
Description: [describe what you were doing when the crash occurred]
I downloaded Forge for the first time last night, and any time I try to open it I get this bug report:
Description: [describe what you were doing when the crash occurred]
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.22-r26752
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_65 Oracle Corporation
java.lang.NullPointerException
at forge.itemmanager.ItemManager.stringToItem(ItemManager.java:591)
at forge.itemmanager.ItemManager.setSelectedStrings(ItemManager.java:622)
at forge.deckchooser.FDeckChooser.restoreSavedState(FDeckChooser.java:360)
at forge.deckchooser.FDeckChooser.populate(FDeckChooser.java:244)
at forge.screens.home.sanctioned.VSubmenuConstructed.populate(VSubmenuConstructed.java:412)
at forge.screens.home.CHomeUI.itemClick(CHomeUI.java:54)
at forge.screens.home.CHomeUI.selectPrevious(CHomeUI.java:137)
at forge.screens.home.CHomeUI.initialize(CHomeUI.java:83)
at forge.control.FControl.setCurrentScreen(FControl.java:305)
at forge.control.FControl.setCurrentScreen(FControl.java:269)
at forge.view.FView.initialize(FView.java:126)
at forge.control.FControl$3.run(FControl.java:244)
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)
- triskelion
- Posts: 44
- Joined: 24 Jul 2014, 05:35
- Has thanked: 3 times
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by drdev » 24 Jul 2014, 19:15
This was posted in the Forge Beta thread too. I expect it's a corrupt deck file. Can you send me a zip file containing your decks folder please?triskelion wrote:Hey, I'm new here so I apologize if I am doing something wrong or posting in the wrong place.
I downloaded Forge for the first time last night, and any time I try to open it I get this bug report:
Description: [describe what you were doing when the crash occurred]I have no idea what it means or what I can do, and the readme didn't help me either, lol. Help?
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.22-r26752
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_65 Oracle Corporation
java.lang.NullPointerException
at forge.itemmanager.ItemManager.stringToItem(ItemManager.java:591)
at forge.itemmanager.ItemManager.setSelectedStrings(ItemManager.java:622)
at forge.deckchooser.FDeckChooser.restoreSavedState(FDeckChooser.java:360)
at forge.deckchooser.FDeckChooser.populate(FDeckChooser.java:244)
at forge.screens.home.sanctioned.VSubmenuConstructed.populate(VSubmenuConstructed.java:412)
at forge.screens.home.CHomeUI.itemClick(CHomeUI.java:54)
at forge.screens.home.CHomeUI.selectPrevious(CHomeUI.java:137)
at forge.screens.home.CHomeUI.initialize(CHomeUI.java:83)
at forge.control.FControl.setCurrentScreen(FControl.java:305)
at forge.control.FControl.setCurrentScreen(FControl.java:269)
at forge.view.FView.initialize(FView.java:126)
at forge.control.FControl$3.run(FControl.java:244)
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)
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Bug Reports (snapshot builds)
by triskelion » 24 Jul 2014, 19:21
I don't see the deck folder. When I click on the res folder, I get:
Should I send you any of those?
- | Open
- ai
blockdata
cardsfolder
cube
defaults
draft
editions
licenses
lists
music
planar_conquest
quest
sealed
skins
sound
howto (Which is a .txt file)
Should I send you any of those?
- triskelion
- Posts: 44
- Joined: 24 Jul 2014, 05:35
- Has thanked: 3 times
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by timmermac » 24 Jul 2014, 19:28
It's in (operating system hard drive)/AppData/Roaming/Forge
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
Re: Bug Reports (snapshot builds)
by triskelion » 24 Jul 2014, 19:50
I'm trying to post a link to the download, but it's telling me I'm too spammy for a new user and I can't use off site url's, lol. It's not letting me send a pm neither. What should I do?
- triskelion
- Posts: 44
- Joined: 24 Jul 2014, 05:35
- Has thanked: 3 times
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by triskelion » 24 Jul 2014, 19:52
Wait, I think I figured it out
- Attachments
-
triskelion_decks.zip
- (752 Bytes) Downloaded 294 times
- triskelion
- Posts: 44
- Joined: 24 Jul 2014, 05:35
- Has thanked: 3 times
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by friarsol » 24 Jul 2014, 21:14
Ironically, it worked because it was your 5th post, so you were no longer considered a new user.triskelion wrote:I'm trying to post a link to the download, but it's telling me I'm too spammy for a new user and I can't use off site url's, lol. It's not letting me send a pm neither. What should I do?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Bug Reports (snapshot builds)
by drdev » 24 Jul 2014, 22:48
I've fixed this issue in r26788.triskelion wrote:Hey, I'm new here so I apologize if I am doing something wrong or posting in the wrong place.
I downloaded Forge for the first time last night, and any time I try to open it I get this bug report:
Description: [describe what you were doing when the crash occurred]I have no idea what it means or what I can do, and the readme didn't help me either, lol. Help?
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.22-r26752
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_65 Oracle Corporation
java.lang.NullPointerException
at forge.itemmanager.ItemManager.stringToItem(ItemManager.java:591)
at forge.itemmanager.ItemManager.setSelectedStrings(ItemManager.java:622)
at forge.deckchooser.FDeckChooser.restoreSavedState(FDeckChooser.java:360)
at forge.deckchooser.FDeckChooser.populate(FDeckChooser.java:244)
at forge.screens.home.sanctioned.VSubmenuConstructed.populate(VSubmenuConstructed.java:412)
at forge.screens.home.CHomeUI.itemClick(CHomeUI.java:54)
at forge.screens.home.CHomeUI.selectPrevious(CHomeUI.java:137)
at forge.screens.home.CHomeUI.initialize(CHomeUI.java:83)
at forge.control.FControl.setCurrentScreen(FControl.java:305)
at forge.control.FControl.setCurrentScreen(FControl.java:269)
at forge.view.FView.initialize(FView.java:126)
at forge.control.FControl$3.run(FControl.java:244)
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)
- drdev
- Programmer
- Posts: 1958
- Joined: 27 Jul 2013, 02:07
- Has thanked: 189 times
- Been thanked: 565 times
Re: Bug Reports (snapshot builds)
by triskelion » 25 Jul 2014, 00:44
Unfortunately I don't know what r26788 is. I did a forum search and this post was the only thing that came up. Can you point me in the right direction?
- triskelion
- Posts: 44
- Joined: 24 Jul 2014, 05:35
- Has thanked: 3 times
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by KrazyTheFox » 25 Jul 2014, 01:22
"r" stands for revision. Whenever someone decides they're ready to add code to the program, they commit that code and it gets assigned a revision number. In this case, it's 26788. You can look at the repository that hosts the code and use this number to find the changes: http://svn.slightlymagic.net/websvn/listing.php?repname=forge& (hit "View Log" and then look for "Rev" on the left of the table).triskelion wrote:Unfortunately I don't know what r26788 is. I did a forum search and this post was the only thing that came up. Can you point me in the right direction?
So what he's saying is that to get the fix in your program, you'll need to be running code as old as or newer than revision 26788 (which, right now, involves compiling the program for yourself). This change will be present in the next release of Forge as well in case you don't want to do that.
-
KrazyTheFox - Programmer
- Posts: 725
- Joined: 18 Mar 2014, 23:51
- Has thanked: 66 times
- Been thanked: 226 times
Re: Bug Reports (snapshot builds)
by triskelion » 25 Jul 2014, 01:39
Unfortunately I am not a programmer and don't know the first thing about running code, so I suppose I will wait for the next release of Forge, lol. Thanks everyone for your help and patience.
- triskelion
- Posts: 44
- Joined: 24 Jul 2014, 05:35
- Has thanked: 3 times
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by Chris H. » 25 Jul 2014, 02:38
I just released a new snapsoht build based on rev 26793:
forge-gui-desktop-1.5.23-20140725.023432-2.tar.bz2
forge-gui-desktop-1.5.23-20140725.023432-2-osx.tar.bz2
forge-gui-desktop-1.5.23-20140725.023432-2.tar.bz2
forge-gui-desktop-1.5.23-20140725.023432-2-osx.tar.bz2
-
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)
by triskelion » 28 Jul 2014, 18:00
So I had a bug pop up in the middle of a game:
Description: [describe what you were doing when the crash occurred]
EDIT: Tried it again with the same decks, crash happened again during the stack, though different cards were used/in play.
Description: [describe what you were doing when the crash occurred]
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.23-SNAPSHOT-r26793 (mixed revisions detected; please update from the root directory)
Operating System: Windows 7 6.1 x86
Java Version: 1.7.0_65 Oracle Corporation
java.lang.NullPointerException
at forge.game.combat.CombatUtil.canAttack(CombatUtil.java:792)
at forge.game.combat.CombatUtil.canAttack(CombatUtil.java:788)
at forge.ai.AiAttackController.<init>(AiAttackController.java:103)
at forge.ai.PlayerControllerAi.chooseProtectionType(PlayerControllerAi.java:663)
at forge.game.ability.effects.ProtectAllEffect.resolve(ProtectAllEffect.java:49)
at forge.game.ability.AbilityApiBased.resolve(AbilityApiBased.java:59)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1242)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1224)
at forge.ai.ComputerUtil.playNoStack(ComputerUtil.java:302)
at forge.ai.PlayerControllerAi.playSpellAbilityNoStack(PlayerControllerAi.java:317)
at forge.game.trigger.WrappedAbility.resolve(WrappedAbility.java:402)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1242)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1224)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:572)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1028)
at forge.game.GameAction.startGame(GameAction.java:1545)
at forge.game.Match.startGame(Match.java:81)
at forge.control.FControl$4.run(FControl.java:442)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
EDIT: Tried it again with the same decks, crash happened again during the stack, though different cards were used/in play.
- triskelion
- Posts: 44
- Joined: 24 Jul 2014, 05:35
- Has thanked: 3 times
- Been thanked: 0 time
Who is online
Users browsing this forum: No registered users and 49 guests