Page 204 of 487

Re: Bug Reports (snapshot builds)

PostPosted: 21 Jul 2014, 15:13
by jeffwadsworth
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.

Re: Bug Reports (snapshot builds)

PostPosted: 22 Jul 2014, 15:38
by yagi
Not sure this has been fixed:
Invasive Species doesn't bounce any permanent
Blastfire Bolt should cost 5R instead of 6R

Re: Bug Reports (snapshot builds)

PostPosted: 24 Jul 2014, 19:05
by triskelion
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?

Re: Bug Reports (snapshot builds)

PostPosted: 24 Jul 2014, 19:15
by drdev
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?

Re: Bug Reports (snapshot builds)

PostPosted: 24 Jul 2014, 19:21
by triskelion
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?

Re: Bug Reports (snapshot builds)

PostPosted: 24 Jul 2014, 19:28
by timmermac
It's in (operating system hard drive)/AppData/Roaming/Forge

Re: Bug Reports (snapshot builds)

PostPosted: 24 Jul 2014, 19:50
by triskelion
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?

Re: Bug Reports (snapshot builds)

PostPosted: 24 Jul 2014, 19:52
by triskelion
Wait, I think I figured it out

Re: Bug Reports (snapshot builds)

PostPosted: 24 Jul 2014, 21:14
by friarsol
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.

Re: Bug Reports (snapshot builds)

PostPosted: 24 Jul 2014, 22:48
by drdev
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.

Re: Bug Reports (snapshot builds)

PostPosted: 25 Jul 2014, 00:44
by triskelion
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?

Re: Bug Reports (snapshot builds)

PostPosted: 25 Jul 2014, 01:22
by KrazyTheFox
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.

Re: Bug Reports (snapshot builds)

PostPosted: 25 Jul 2014, 01:39
by triskelion
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.

Re: Bug Reports (snapshot builds)

PostPosted: 25 Jul 2014, 02:38
by Chris H.

Re: Bug Reports (snapshot builds)

PostPosted: 28 Jul 2014, 18:00
by triskelion
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.