It is currently 19 May 2025, 15:43
   
Text Size

Bug Reports (snapshot builds)

Post MTG Forge Related Programming Questions Here

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

Re: Bug Reports (snapshot builds)

Postby moomarc » 27 Jan 2014, 09:18

jasmines wrote:what about mine?
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?
-Marc
User avatar
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)

Postby 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.
jasmines
 
Posts: 6
Joined: 25 Jan 2014, 14:35
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby moomarc » 27 Jan 2014, 11:46

jasmines 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.
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 file
-Marc
User avatar
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)

Postby jasmines » 27 Jan 2014, 12:19

Tried the latest snapshot build, same error:

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)

Postby moomarc » 27 Jan 2014, 12:43

jasmines wrote:Tried the latest snapshot build, same error
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.
-Marc
User avatar
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)

Postby jasmines » 27 Jan 2014, 15:18

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)

Postby 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)
- Agetian
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)

Postby 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)

Postby 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
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby Max mtg » 27 Jan 2014, 16:02

@Agetian
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)

Postby 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
Programmer
 
Posts: 3486
Joined: 14 Mar 2011, 05:58
Has thanked: 683 times
Been thanked: 569 times

Re: Bug Reports (snapshot builds)

Postby jasmines » 29 Jan 2014, 05:19

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
Noone can help?
jasmines
 
Posts: 6
Joined: 25 Jan 2014, 14:35
Has thanked: 0 time
Been thanked: 0 time

Re: Bug Reports (snapshot builds)

Postby moomarc » 29 Jan 2014, 11:23

jasmines wrote:
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
Noone can help?
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.

I also isolated the first crash in that report in case any other dev recognises the problem.
-Marc
User avatar
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)

Postby 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
Devilman06
 
Posts: 127
Joined: 29 Jan 2010, 03:59
Has thanked: 1 time
Been thanked: 2 times

Re: Bug Reports (snapshot builds)

Postby Hanmac » 29 Jan 2014, 16:38


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 {X} like Apocalypse Hydra
  • Izzet Signet is still broken, if you Press in the Right Moment [Cancel] you get {R} {U} 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)

Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 20 guests


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 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 20 guests

Login Form