It is currently 17 May 2025, 21:04
   
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 jeffwadsworth » 21 Jul 2014, 15:13

usocerler wrote:Hello this is my problem.
i don´t speak english i speak spanish please if you can tell me somthing
thanks
Yo no hablo español, pero se puede usar el traductor de google para hacernos saber lo que pasó.

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)

Postby 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
yagi
 
Posts: 53
Joined: 17 Apr 2012, 08:56
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby 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]

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)
I have no idea what it means or what I can do, and the readme didn't help me either, lol. Help?
triskelion
 
Posts: 44
Joined: 24 Jul 2014, 05:35
Has thanked: 3 times
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby drdev » 24 Jul 2014, 19:15

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]

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)
I have no idea what it means or what I can do, and the readme didn't help me either, lol. Help?
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?
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby triskelion » 24 Jul 2014, 19:21

I don't see the deck folder. When I click on the res folder, I get:

| 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)

Postby 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
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Bug Reports (snapshot builds)

Postby 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)

Postby 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)

Postby friarsol » 24 Jul 2014, 21:14

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?
Ironically, it worked because it was your 5th post, so you were no longer considered a new user.
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 drdev » 24 Jul 2014, 22:48

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]

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)
I have no idea what it means or what I can do, and the readme didn't help me either, lol. Help?
I've fixed this issue in r26788.
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Bug Reports (snapshot builds)

Postby 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)

Postby KrazyTheFox » 25 Jul 2014, 01:22

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?
"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).

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.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Bug Reports (snapshot builds)

Postby 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)

Postby Chris H. » 25 Jul 2014, 02:38

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 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]

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)
It happened in the middle of the game I was in, and after it everything was behaving as normally except I could not actually click on anything. It would not let me concede neither, so I just restarted Forge.

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

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 40 guests


Who is online

In total there are 40 users online :: 0 registered, 0 hidden and 40 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: No registered users and 40 guests

Login Form