Page 1 of 1

Match with Starting Cards Doesn't Load Properly Bug

PostPosted: 28 Apr 2012, 16:05
by friarsol
Ok, I went through some test scenarios to see if I can figure out any specifics on this bug:

During this testing, I only noticed this on the first game after startup. Once I've completed the game, I haven't been able to repro. That doesn't mean it won't happen after that first game, it just hasn't occurred for me while i was trying to repro.

I don't really have a way to reproduce it 100% of the time, but the order I saw it the most in was:

Select Challenge, Plant, Pet, Start

If it loads ok, stop and restart Forge and try again.

It looks like the issue is in GameNew.newGame() when adding cards to the Zone.

I think there might be something inside PlayArea.doLayout() that's causing problems, based upon
the occassional comodification and IndexOutOfBounds errors. But sometimes it just doesn't do anything and locks up Forge.

Might be an infinite loop in PlayArea.rowSpacing()?

I'm not really sure, but it definitely is still around. If someone can look into it further. If you need an advanced Quest to try it out I'll post mine.

Re: Match with Starting Cards Doesn't Load Properly Bug

PostPosted: 13 May 2012, 14:55
by Jaedayr
I am still seeing this also, and if it occurs and I quit the game and keep playing it will occur again and again, usually every 4-5 matches. My current quest longest win streak is 6 because I keep getting this every few games.
If it occurs during any match after the first one, one of the cards in play from the previous match still appears in the lower right card image panel with corresponding info above it.

Re: Match with Starting Cards Doesn't Load Properly Bug

PostPosted: 06 Jun 2012, 22:17
by Jaedayr
I got this error again today, with the accompanying crash report. Hopefully there is some info to help debug this.

The quest opponent icon is the correct one for the match just starting, and the life totals are correct. However, in the prompt window it says Quest: Game #2 of 3, turn 29. Neither the AI or I have any cards and neither my pet or wall are present.

| Open
This is a Crash Report. An error has occurred. Please save this message to a file.
Please follow the instructions at this address to submit this Crash Report, plus what you were doing at the time:
http://tinyurl.com/3zzrnyb
Reporting bugs in Forge is very important. We thank you for your time.

1


Version:
Forge version 1.2.8-SNAPSHOT-r15681

OS: Windows 7 Version: 6.1 Architecture: x86

Java Version: 1.6.0_29 Vendor: Sun Microsystems Inc.

Detailed error trace:
java.lang.ArrayIndexOutOfBoundsException: 1
at java.util.ArrayList.clear(Unknown Source)
at forge.view.arcane.PlayArea.rowSpacing(PlayArea.java:252)
at forge.view.arcane.PlayArea.doLayout(PlayArea.java:188)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$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.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at forge.error.ErrorViewer.showDialog(ErrorViewer.java:192)
at forge.error.ErrorViewer.showError(ErrorViewer.java:117)
at forge.error.ErrorViewer.showError(ErrorViewer.java:79)
at forge.error.ExceptionHandler.handle(ExceptionHandler.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.awt.EventDispatchThread.handleException(Unknown Source)
at java.awt.EventDispatchThread.processException(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)

Re: Match with Starting Cards Doesn't Load Properly Bug

PostPosted: 26 Jun 2012, 02:16
by Jaedayr
Is anybody actively looking at this? Can I humbly request that someone with a clue do so? :D I just started up the latest snapshot and got no cards four times in a row. It is really starting to get annoying to me. Thanks in advance to anyone who can spare a bit of time and destroy this bug once and for all!

Re: Match with Starting Cards Doesn't Load Properly Bug

PostPosted: 03 Sep 2012, 17:54
by friarsol
Hey Chris,

Can you unsticky this? I haven't noticed it at all recently, and someone reported that they were getting it fairly often and it was now resolved.

Re: Match with Starting Cards Doesn't Load Properly Bug

PostPosted: 03 Sep 2012, 22:41
by Chris H.
friarsol wrote:Hey Chris,

Can you unsticky this? I haven't noticed it at all recently, and someone reported that they were getting it fairly often and it was now resolved.
 
Thank you for the heads up ... I have been busy with moving and find that it is not easy to keep up. :mrgreen: