Bug Reports (snapshot builds)
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Bug Reports (snapshot builds)
by moomarc » 27 Jan 2014, 09:18
You didn't give any info as to what you were trying to do at the time so we cant test. But its probable that the issue was fixed seeing as it has something to do with the new constructed match setup. Have you tried the latest snapshot build?jasmines wrote:what about mine?
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Bug Reports (snapshot builds)
by jasmines » 27 Jan 2014, 10:15
I've downloaded version 1.5.10 yesterday, and just tried to run it.
Nothing else. The error comes out just before loading the main screen.
Nothing else. The error comes out just before loading the main screen.
- jasmines
- Posts: 6
- Joined: 25 Jan 2014, 14:35
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by moomarc » 27 Jan 2014, 11:46
If you're using the beta builds you should post bugs in the release thread instead of here. This is for alpha/snapshot builds. But you can try download the latest snapshot and see if it works. If not, its likely a corrupt layout filejasmines wrote:I've downloaded version 1.5.10 yesterday, and just tried to run it.
Nothing else. The error comes out just before loading the main screen.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Bug Reports (snapshot builds)
by jasmines » 27 Jan 2014, 12:19
Tried the latest snapshot build, same error:
Description: just started the program, crashed on loading the main window.
Description: just started the program, crashed on loading the main window.
- ExceptionInInitializerError | Open
- Code: Select all
Forge Version: 1.5.11-SNAPSHOT-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Linux 3.11.0-15-generic amd64
Java Version: 1.7.0_51 Oracle Corporation
java.lang.ExceptionInInitializerError
at forge.gui.framework.DragTab.<init>(DragTab.java:36)
at forge.gui.home.sanctioned.VSubmenuConstructed.<init>(VSubmenuConstructed.java:91)
at forge.gui.home.sanctioned.VSubmenuConstructed.<clinit>(VSubmenuConstructed.java:85)
at forge.gui.home.VHomeUI.<init>(VHomeUI.java:134)
at forge.gui.home.VHomeUI.<clinit>(VHomeUI.java:81)
at forge.gui.framework.FScreen.<clinit>(FScreen.java:27)
at forge.gui.menus.LayoutMenu.getMenu(LayoutMenu.java:46)
at forge.gui.menus.ForgeMenu.refresh(ForgeMenu.java:73)
at forge.gui.menus.ForgeMenu.<init>(ForgeMenu.java:27)
at forge.control.FControl.getForgeMenu(FControl.java:263)
at forge.view.FNavigationBar.<clinit>(FNavigationBar.java:42)
at forge.view.FView.initialize(FView.java:101)
at forge.control.FControl$3.run(FControl.java:251)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.IllegalArgumentException: Width (0) and height (0) must be non-zero
at java.awt.image.ReplicateScaleFilter.<init>(ReplicateScaleFilter.java:102)
at java.awt.Image.getScaledInstance(Image.java:173)
at sun.awt.CustomCursor.<init>(CustomCursor.java:69)
at sun.awt.X11CustomCursor.<init>(X11CustomCursor.java:43)
at sun.awt.X11.XCustomCursor.<init>(XCustomCursor.java:42)
at sun.awt.X11.XToolkit.createCustomCursor(XToolkit.java:1133)
at forge.gui.toolbox.FSkin$SkinCursor.updateCursor(FSkin.java:728)
at forge.gui.toolbox.FSkin$SkinCursor.access$1600(FSkin.java:715)
at forge.gui.toolbox.FSkin$SkinImage.toCursor(FSkin.java:668)
at forge.gui.toolbox.FSkin$SkinImage.access$1700(FSkin.java:507)
at forge.gui.toolbox.FSkin.getCursor(FSkin.java:712)
at forge.gui.framework.SRearrangingUtil.<clinit>(SRearrangingUtil.java:54)
... 27 more
- jasmines
- Posts: 6
- Joined: 25 Jan 2014, 14:35
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by moomarc » 27 Jan 2014, 12:43
Then you need to try deleting your layout files. locate your User/preferences folder (on Linux it should default to, <your home directory>/.forge/). Delete the editor, match and window xml files and try restart. You can also try delete forge and editor.preferences, but doubt it will affect this.jasmines wrote:Tried the latest snapshot build, same error
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Bug Reports (snapshot builds)
by jasmines » 27 Jan 2014, 15:18
Deleted the whole .forge folder.
Same as above, here you are with the result:
Same as above, here you are with the result:
- ExceptionInInitializerError | Open
- Code: Select all
Forge Version: 1.5.11-SNAPSHOT-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Linux 3.11.0-15-generic amd64
Java Version: 1.7.0_51 Oracle Corporation
java.lang.ExceptionInInitializerError
at forge.gui.framework.DragTab.<init>(DragTab.java:36)
at forge.gui.home.sanctioned.VSubmenuConstructed.<init>(VSubmenuConstructed.java:91)
at forge.gui.home.sanctioned.VSubmenuConstructed.<clinit>(VSubmenuConstructed.java:85)
at forge.gui.home.VHomeUI.<init>(VHomeUI.java:134)
at forge.gui.home.VHomeUI.<clinit>(VHomeUI.java:81)
at forge.gui.framework.FScreen.<clinit>(FScreen.java:27)
at forge.gui.menus.LayoutMenu.getMenu(LayoutMenu.java:46)
at forge.gui.menus.ForgeMenu.refresh(ForgeMenu.java:73)
at forge.gui.menus.ForgeMenu.<init>(ForgeMenu.java:27)
at forge.control.FControl.getForgeMenu(FControl.java:263)
at forge.view.FNavigationBar.<clinit>(FNavigationBar.java:42)
at forge.view.FView.initialize(FView.java:101)
at forge.control.FControl$3.run(FControl.java:251)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.IllegalArgumentException: Width (0) and height (0) must be non-zero
at java.awt.image.ReplicateScaleFilter.<init>(ReplicateScaleFilter.java:102)
at java.awt.Image.getScaledInstance(Image.java:173)
at sun.awt.CustomCursor.<init>(CustomCursor.java:69)
at sun.awt.X11CustomCursor.<init>(X11CustomCursor.java:43)
at sun.awt.X11.XCustomCursor.<init>(XCustomCursor.java:42)
at sun.awt.X11.XToolkit.createCustomCursor(XToolkit.java:1133)
at forge.gui.toolbox.FSkin$SkinCursor.updateCursor(FSkin.java:728)
at forge.gui.toolbox.FSkin$SkinCursor.access$1600(FSkin.java:715)
at forge.gui.toolbox.FSkin$SkinImage.toCursor(FSkin.java:668)
at forge.gui.toolbox.FSkin$SkinImage.access$1700(FSkin.java:507)
at forge.gui.toolbox.FSkin.getCursor(FSkin.java:712)
at forge.gui.framework.SRearrangingUtil.<clinit>(SRearrangingUtil.java:54)
... 27 more
- jasmines
- Posts: 6
- Joined: 25 Jan 2014, 14:35
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by Agetian » 27 Jan 2014, 15:24
Description: I was examining booster packs and quest decks in the deck editor. I selected Manipulative Monstrosities (one of the new quest precons) in the spell shop and got this exception, which proved to be fatal (didn't let me continue playing, I was forced to quit). - FIXED.
- NullPointerException | Open
- Code: Select all
Forge Version: 1.5.11-SNAPSHOT-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Linux 3.8.0-26-generic amd64
Java Version: 1.7.0_51 Oracle Corporation
java.lang.NullPointerException
at forge.gui.toolbox.FHtmlViewer$1.run(FHtmlViewer.java:36)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Last edited by Agetian on 27 Jan 2014, 16:07, edited 1 time in total.
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Bug Reports (snapshot builds)
by Max mtg » 27 Jan 2014, 15:33
at forge.gui.toolbox.FHtmlViewer$1.run(FHtmlViewer.java:36) add:
- Code: Select all
if ( StringUtils.isBlank(text) ) {
setSuperText("");
return;
}
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Bug Reports (snapshot builds)
by Agetian » 27 Jan 2014, 15:46
@ Max mtg: No worries, got it fixed (albeit via a check to null, I'm not sure if that's fine or not - will redo it in the way you suggested just in case). Plus added some descriptions to new precons.
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Bug Reports (snapshot builds)
by Max mtg » 27 Jan 2014, 16:02
@Agetian
your fix was better, by the way.
your fix was better, by the way.
Single class for single responsibility.
- Max mtg
- Programmer
- Posts: 1997
- Joined: 02 Jul 2011, 14:26
- Has thanked: 173 times
- Been thanked: 334 times
Re: Bug Reports (snapshot builds)
by Agetian » 27 Jan 2014, 16:04
Ok I'll return it to that one then, I liked the conciseness.
Thanks for your input!
- Agetian

- Agetian
- Agetian
- Programmer
- Posts: 3486
- Joined: 14 Mar 2011, 05:58
- Has thanked: 683 times
- Been thanked: 569 times
Re: Bug Reports (snapshot builds)
by jasmines » 29 Jan 2014, 05:19
Noone can help?jasmines wrote:Deleted the whole .forge folder.
Same as above, here you are with the result:
- ExceptionInInitializerError | Open
- Code: Select all
Forge Version: 1.5.11-SNAPSHOT-r${forge.revision}${forge.specialStatus} (mixed revisions detected; please update from the root directory)
Operating System: Linux 3.11.0-15-generic amd64
Java Version: 1.7.0_51 Oracle Corporation
java.lang.ExceptionInInitializerError
at forge.gui.framework.DragTab.<init>(DragTab.java:36)
at forge.gui.home.sanctioned.VSubmenuConstructed.<init>(VSubmenuConstructed.java:91)
at forge.gui.home.sanctioned.VSubmenuConstructed.<clinit>(VSubmenuConstructed.java:85)
at forge.gui.home.VHomeUI.<init>(VHomeUI.java:134)
at forge.gui.home.VHomeUI.<clinit>(VHomeUI.java:81)
at forge.gui.framework.FScreen.<clinit>(FScreen.java:27)
at forge.gui.menus.LayoutMenu.getMenu(LayoutMenu.java:46)
at forge.gui.menus.ForgeMenu.refresh(ForgeMenu.java:73)
at forge.gui.menus.ForgeMenu.<init>(ForgeMenu.java:27)
at forge.control.FControl.getForgeMenu(FControl.java:263)
at forge.view.FNavigationBar.<clinit>(FNavigationBar.java:42)
at forge.view.FView.initialize(FView.java:101)
at forge.control.FControl$3.run(FControl.java:251)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Caused by: java.lang.IllegalArgumentException: Width (0) and height (0) must be non-zero
at java.awt.image.ReplicateScaleFilter.<init>(ReplicateScaleFilter.java:102)
at java.awt.Image.getScaledInstance(Image.java:173)
at sun.awt.CustomCursor.<init>(CustomCursor.java:69)
at sun.awt.X11CustomCursor.<init>(X11CustomCursor.java:43)
at sun.awt.X11.XCustomCursor.<init>(XCustomCursor.java:42)
at sun.awt.X11.XToolkit.createCustomCursor(XToolkit.java:1133)
at forge.gui.toolbox.FSkin$SkinCursor.updateCursor(FSkin.java:728)
at forge.gui.toolbox.FSkin$SkinCursor.access$1600(FSkin.java:715)
at forge.gui.toolbox.FSkin$SkinImage.toCursor(FSkin.java:668)
at forge.gui.toolbox.FSkin$SkinImage.access$1700(FSkin.java:507)
at forge.gui.toolbox.FSkin.getCursor(FSkin.java:712)
at forge.gui.framework.SRearrangingUtil.<clinit>(SRearrangingUtil.java:54)
... 27 more
- jasmines
- Posts: 6
- Joined: 25 Jan 2014, 14:35
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bug Reports (snapshot builds)
by moomarc » 29 Jan 2014, 11:23
I'm afraid I'm out of ideas. Have you tried completely reinstalling Forge by deleting the cache directory ( <your home directory>/.cache/forge/ ), the user directory ( <your home directory>/.forge/ ) and the Forge program folder (wherever you unzipped it)? If you have saved quest data and downloaded image sets, first make a backup of those folders elsewhere.jasmines wrote:Noone can help?jasmines wrote:Deleted the whole .forge folder.
Same as above, here you are with the result:
- ExceptionInInitializerError | Open
- Code: Select all
Caused by: java.lang.IllegalArgumentException: Width (0) and height (0) must be non-zero
at java.awt.image.ReplicateScaleFilter.<init>(ReplicateScaleFilter.java:102)
at java.awt.Image.getScaledInstance(Image.java:173)
at sun.awt.CustomCursor.<init>(CustomCursor.java:69)
at sun.awt.X11CustomCursor.<init>(X11CustomCursor.java:43)
at sun.awt.X11.XCustomCursor.<init>(XCustomCursor.java:42)
at sun.awt.X11.XToolkit.createCustomCursor(XToolkit.java:1133)
at forge.gui.toolbox.FSkin$SkinCursor.updateCursor(FSkin.java:728)
at forge.gui.toolbox.FSkin$SkinCursor.access$1600(FSkin.java:715)
at forge.gui.toolbox.FSkin$SkinImage.toCursor(FSkin.java:668)
at forge.gui.toolbox.FSkin$SkinImage.access$1700(FSkin.java:507)
at forge.gui.toolbox.FSkin.getCursor(FSkin.java:712)
at forge.gui.framework.SRearrangingUtil.<clinit>(SRearrangingUtil.java:54)
... 27 more
I also isolated the first crash in that report in case any other dev recognises the problem.
-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Bug Reports (snapshot builds)
by Devilman06 » 29 Jan 2014, 14:40
forge-gui-1.5.11-20140129.002508-19 using this one currently
cards that have remove x counters {tezzeret, the seeker, and the storage lands such as calciform pools} do not remove the counter as they should
cards that have remove x counters {tezzeret, the seeker, and the storage lands such as calciform pools} do not remove the counter as they should
- Devilman06
- Posts: 127
- Joined: 29 Jan 2010, 03:59
- Has thanked: 1 time
- Been thanked: 2 times
Re: Bug Reports (snapshot builds)
by Hanmac » 29 Jan 2014, 16:38
- Subterranean Hangar and similar cards are broken, they do not remove any storage counter.
Still broken:
- Brain Freeze imprinted inside Isochron Scepter does not trigger the Storm ability anymore
- Animar, Soul of Elements cant reduce the Mana Costs of creatures with
like Apocalypse Hydra
- Izzet Signet is still broken, if you Press in the Right Moment [Cancel] you get
without paying its cost (also the Signet stays untapped, so you can fool again) same is for any other Signet
- if Vorel of the Hull Clade has a +1/+1 Counter and Experiment Kraj tries to copy the effect of Vorel i got this:
- no API in Experiment Kraj | Open
- Game-0 > java.lang.RuntimeException: AbilityFactory : getAbility -- no API in Experiment Kraj
at forge.game.ability.AbilityFactory.getAbility(AbilityFactory.java:112)
at forge.game.ability.effects.RepeatEachEffect.resolve(RepeatEachEffect.java:37)
at forge.game.ability.AbilityApiBased.resolve(AbilityApiBased.java:63)
at forge.game.ability.AbilityUtils.resolveApiAbility(AbilityUtils.java:1182)
at forge.game.ability.AbilityUtils.resolve(AbilityUtils.java:1164)
at forge.game.zone.MagicStack.resolveStack(MagicStack.java:592)
at forge.game.phase.PhaseHandler.startFirstTurn(PhaseHandler.java:1028)
at forge.game.GameAction.startGame(GameAction.java:1500)
at forge.game.Match$1.run(Match.java:121)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Who is online
Users browsing this forum: No registered users and 30 guests