It is currently 15 Aug 2025, 06:27
   
Text Size

SVN Bug Reports

Post MTG Forge Related Programming Questions Here

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

Re: SVN Bug Reports

Postby friarsol » 07 Feb 2011, 18:14

And I just submitted a fix for the issue.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby Chris H. » 07 Feb 2011, 19:32

OK, with your bug fix I ran the test deck with rev 6206. No error when I Terror the AI's Reveillark if the graveyard is empty.

On another test I Terror the AI's Devoted Hero and afterwards Terror the AI's Reveillark. The Reveillark LtB ability causes a new error exception:

Code: Select all
An error has occured. You can copy/paste this message or save it to a file.
Please report this, plus what you tried to do, to:
   http://www.slightlymagic.net/forum/viewforum.php?f=26
If you don't want to register an account, you can mail it directly to
   mtgerror@yahoo.com


null


Version:
Forge -- official beta: $Date: 2011-01-06 11:34:48 -0500 (Thu, 06 Jan 2011) $, SVN revision: $Revision: 4891 $

OS: Mac OS X Version: 10.6.6 Architecture: x86_64

Java Version: 1.6.0_22 Vendor: Apple Inc.

Detailed error trace:
java.lang.NullPointerException
   at forge.AbilityFactory_ChangeZone.changeKnownOriginCanPlayAI(AbilityFactory_ChangeZone.java:676)
   at forge.AbilityFactory_ChangeZone.changeZoneCanPlayAI(AbilityFactory_ChangeZone.java:124)
   at forge.AbilityFactory_ChangeZone.access$0(AbilityFactory_ChangeZone.java:116)
   at forge.AbilityFactory_ChangeZone$1.doTrigger(AbilityFactory_ChangeZone.java:35)
   at forge.TriggerHandler$1.doTrigger(TriggerHandler.java:321)
   at forge.TriggerHandler.runSingleTrigger(TriggerHandler.java:803)
   at forge.TriggerHandler.runTrigger(TriggerHandler.java:192)
   at forge.GameAction.moveTo(GameAction.java:77)
   at forge.GameAction.moveToGraveyard(GameAction.java:165)
   at forge.GameAction.sacrificeDestroy(GameAction.java:2068)
   at forge.GameAction.destroyNoRegeneration(GameAction.java:674)
   at forge.AbilityFactory_Destroy.destroyResolve(AbilityFactory_Destroy.java:353)
   at forge.AbilityFactory_Destroy$2.resolve(AbilityFactory_Destroy.java:60)
   at forge.MagicStack.resolveStack(MagicStack.java:666)
   at forge.Phase.passPriority(Phase.java:514)
   at forge.ComputerAI_General.stackResponse(ComputerAI_General.java:286)
   at forge.ComputerAI_General.stack_not_empty(ComputerAI_General.java:241)
   at forge.ComputerAI_Input.think(ComputerAI_Input.java:43)
   at forge.ComputerAI_Input.showMessage(ComputerAI_Input.java:31)
   at forge.GuiInput.setInput(GuiInput.java:27)
   at forge.GuiInput.update(GuiInput.java:21)
   at java.util.Observable.notifyObservers(Observable.java:142)
   at java.util.Observable.notifyObservers(Observable.java:98)
   at forge.MyObservable.updateObservers(MyObservable.java:9)
   at forge.InputControl.resetInput(InputControl.java:52)
   at forge.Phase.passPriority(Phase.java:505)
   at forge.Input_PassPriority.selectButtonOK(Input_PassPriority.java:35)
   at forge.GuiInput.selectButtonOK(GuiInput.java:35)
   at forge.GuiDisplay3.okButtonActionPerformed(GuiDisplay3.java:962)
   at forge.GuiDisplay3.access$3(GuiDisplay3.java:961)
   at forge.GuiDisplay3$26.actionPerformed(GuiDisplay3.java:756)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
   at java.awt.Component.processMouseEvent(Component.java:6352)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
   at java.awt.Component.processEvent(Component.java:6117)
   at java.awt.Container.processEvent(Container.java:2085)
   at java.awt.Component.dispatchEventImpl(Component.java:4714)
   at java.awt.Container.dispatchEventImpl(Container.java:2143)
   at java.awt.Component.dispatchEvent(Component.java:4544)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
   at java.awt.Container.dispatchEventImpl(Container.java:2129)
   at java.awt.Window.dispatchEventImpl(Window.java:2478)
   at java.awt.Component.dispatchEvent(Component.java:4544)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
   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)
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: SVN Bug Reports

Postby Fnoed » 07 Feb 2011, 19:38

Sloth wrote:
Fnoed wrote:For now, you can get it to compile by using this batch file to start the build.
Just adding the two jar files is not enough to fix the script. I get the same error as Corwin.
Added the two jar files to the MANIFEST in r6207. The build process generates a working forge now (using my updated batchfile to build).
Fnoed
 
Posts: 84
Joined: 20 Dec 2010, 01:03
Has thanked: 0 time
Been thanked: 3 times

Re: SVN Bug Reports

Postby timmermac » 07 Feb 2011, 19:51

Checking it now... Will edit post with results. This will be r6208

Edit: So far, everything is functioning as expected. Just about to play my first match.

Edit2: Has the name for the fully-upgraded wolf pet picture changed?
"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: SVN Bug Reports

Postby Fnoed » 07 Feb 2011, 20:23

timmermac wrote:Edit2: Has the name for the fully-upgraded wolf pet picture changed?
Typo in the naming, try with r6211.
Fnoed
 
Posts: 84
Joined: 20 Dec 2010, 01:03
Has thanked: 0 time
Been thanked: 3 times

Re: SVN Bug Reports

Postby timmermac » 07 Feb 2011, 20:33

Fnoed wrote:
timmermac wrote:Edit2: Has the name for the fully-upgraded wolf pet picture changed?
Typo in the naming, try with r6211.
I checked out the change in the code, it should be G 2 2 Wolf Pet Flanking.
"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: SVN Bug Reports

Postby Fnoed » 07 Feb 2011, 20:36

timmermac wrote:
Fnoed wrote:
timmermac wrote:Edit2: Has the name for the fully-upgraded wolf pet picture changed?
Typo in the naming, try with r6211.
I checked out the change in the code, it should be G 2 2 Wolf Pet Flanking.
Fixed in r6213.
Fnoed
 
Posts: 84
Joined: 20 Dec 2010, 01:03
Has thanked: 0 time
Been thanked: 3 times

Re: SVN Bug Reports

Postby friarsol » 07 Feb 2011, 20:45

Chris H. wrote:OK, with your bug fix I ran the test deck with rev 6206. No error when I Terror the AI's Reveillark if the graveyard is empty.

On another test I Terror the AI's Devoted Hero and afterwards Terror the AI's Reveillark. The Reveillark LtB ability causes a new error exception:
Similar problem as before. Should have just fixed it this way to begin with. Let me know if there is any other quirks with this.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby friarsol » 07 Feb 2011, 21:04

Fnoed wrote:Fixed in r6213.
Hehe. It looks like the level 2 Wolf Pet is now 2/1, but the old Wolf Pet was a 1/2. So the image isn't right (or the Pet is incorrect)
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby Sloth » 07 Feb 2011, 21:21

Fnoed wrote:Added the two jar files to the MANIFEST in r6207. The build process generates a working forge now (using my updated batchfile to build).
Quest mode starts now, but I'm unable to close the quest window.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: SVN Bug Reports

Postby timmermac » 07 Feb 2011, 21:21

r6214 downloaded
"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: SVN Bug Reports

Postby Chris H. » 07 Feb 2011, 21:24

friarsol wrote:
Chris H. wrote:OK, with your bug fix I ran the test deck with rev 6206. No error when I Terror the AI's Reveillark if the graveyard is empty.

On another test I Terror the AI's Devoted Hero and afterwards Terror the AI's Reveillark. The Reveillark LtB ability causes a new error exception:
Similar problem as before. Should have just fixed it this way to begin with. Let me know if there is any other quirks with this.
`
I re-ran the test with rev 6213 and it works, great. :D

Thank you for your help and for the bug fix. We have not had too many bugs in the cards or in the code with the AF project. I am glad to see it moving forward and for the most part it just works.
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: SVN Bug Reports

Postby friarsol » 07 Feb 2011, 21:26

Sloth wrote:
Fnoed wrote:Added the two jar files to the MANIFEST in r6207. The build process generates a working forge now (using my updated batchfile to build).
Quest mode starts now, but I'm unable to close the quest window.
Does the Return to Main Menu button work? We probably should link the Window Close button to do the same thing.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: SVN Bug Reports

Postby timmermac » 07 Feb 2011, 21:27

Sloth wrote:
Fnoed wrote:Added the two jar files to the MANIFEST in r6207. The build process generates a working forge now (using my updated batchfile to build).
Quest mode starts now, but I'm unable to close the quest window.
There's a button that says Return To Main Menu that you can click on.

Edit: hehehe. Sol and I got that at the same time.
"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: SVN Bug Reports

Postby friarsol » 07 Feb 2011, 21:29

Chris H. wrote:Thank you for your help and for the bug fix. We have not had too many bugs in the cards or in the code with the AF project. I am glad to see it moving forward and for the most part it just works.
Yea it's definitely worked fairly consistently which is definitely a big plus. I'm a bit surprised we haven't noticed more in ChangeZone considering how large it is in relation to the other AFs.
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: No registered users and 20 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 20 users online :: 0 registered, 0 hidden and 20 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 20 guests

Login Form