Page 1 of 1

Known bug: Split must have > 2 children after coin toss

PostPosted: 20 Aug 2011, 19:08
by Braids
If you run Forge and get a Crash Report that starts with something similar to this text:

Code: Select all
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.

Split must have > 2 children


Version:
Forge version {...}

OS: {...}

Java Version: 1.7{...}
Forge is not compatible with Java 7 on Windows at this time. We are aware of this issue, and have escalated it.

Current workaround (updated 21 Aug 2011): Please uninstall Java 7 and install Java 6 instead. Open your forge folder, then the res folder, then the gui folder. Delete the display_new_layout.xml file.

Edit 1: ???
Edit 2: Fixed subject.
Edits 3 & 4: Updated workaround to delete display_new_layout.xml.
Edit 5: This issue has been resolved for the next release of Forge. Java 7 might work with that. Nobody should have to delete the display_new_layout.xml file, either.

Re: Known bug: Split must have > 2 children; Forge won't sta

PostPosted: 20 Aug 2011, 19:24
by Chris H.
Braids wrote:Forge is not compatible with Java 7 at this time. We are aware of this issue, and have escalated it.

Please uninstall Java 7 and install Java 6 instead.

(should this post be made sticky?)
`
Good idea, I made this topic a sticky.

I also added a new section to the read me.txt file that was included in the last beta:

Java Issues:

Some people that are using an early version of Java 7 under the Windows OS have reported errors that state "Split must have > 2 children". Anyone having this sort of problem should de-install java 7 and install java 6 instead.

Re: Known bug: Split must have > 2 children; Forge won't sta

PostPosted: 21 Aug 2011, 19:14
by Braids
i am now actively working this issue. http://www.cardforge.org/bugz/view.php?id=144

Re: Known bug: Split must have > 2 children after coin toss

PostPosted: 21 Aug 2011, 20:22
by Braids
the problem is definitely in the creation of display_new_layout.xml. thanks go to whoever emailed mtgrares in reference to this post!

i have updated the top message with the new workaround, which now involves deleting the file. i am still working on a definitive fix for the next release.

Split issue fixed!

PostPosted: 22 Aug 2011, 02:00
by Braids
i have fixed this issue in subversion rev 9845. however, this does not guarantee java 7 compatibility in other parts of Forge. i have marked issue 144 as resolved.

edit: by fixed, i mean that i don't think anyone will need to uninstall java 7 or delete the display_new_layout.xml file in the next beta.

Re: Split issue fixed!

PostPosted: 22 Aug 2011, 02:11
by Chris H.
Braids wrote:i have fixed this issue in subversion rev 9845. however, this does not guarantee java 7 compatibility in other parts of Forge. i have marked issue 144 as resolved.
`
Thank you. :D