Page 177 of 487

Re: Bug Reports (snapshot builds)

PostPosted: 06 Jan 2014, 16:09
by Agetian
r24165: I got this exception after I sacrificed a creature (Mudbrawler Raiders was sacrificed when a kicked Gatekeeper of Malakir came into play).

NullPointerException | Open
Code: Select all
Forge Version:    1.5.9-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_25 Oracle Corporation

java.lang.NullPointerException
   at forge.gui.match.controllers.CPicture.showCard(CPicture.java:66)
   at forge.gui.match.CMatchUI.setCard(CMatchUI.java:288)
   at forge.gui.match.CMatchUI.setCard(CMatchUI.java:283)
   at forge.view.arcane.CardPanelContainer$3.mouseMoved(CardPanelContainer.java:240)
   at java.awt.Component.processMouseMotionEvent(Component.java:6550)
   at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3330)
   at java.awt.Component.processEvent(Component.java:6274)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4505)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   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)

Re: Bug Reports (snapshot builds)

PostPosted: 06 Jan 2014, 16:37
by drdev
Agetian wrote:r24165: The Quest Deck editor (at the very least, I haven't checked out Constructed or other editors) is broken in a very interesting way right now. Putting a card into the deck does not decrease the count of available cards in the catalog (that is, if you only have one Fireball card in your collection in the quest, you can easily put four Fireballs into your deck - the count of available Fireballs never decreases). Interestingly enough, putting the previously non-existent card back from the deck into the catalog works - this way it's possible to cheat-add a lot of extra copies of cards to your collection and sell them.

- Agetian
That's a slight oversight I made that I'll fix this evening.

Re: Bug Reports (snapshot builds)

PostPosted: 06 Jan 2014, 16:38
by drdev
moomarc wrote:r24162: I can't use the dock buttons in a match. As soon as the mouse hovers over a button the following error pops up.
NullPointerException | Open
Code: Select all
Forge Version:    SVN
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_21 Oracle Corporation

java.lang.NullPointerException
   at forge.gui.toolbox.FSkin$ComponentSkin.setBackground(FSkin.java:114)
   at forge.gui.match.views.VDock$DockButton$1.mouseEntered(VDock.java:228)
   at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:300)
   at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:299)
   at java.awt.Component.processMouseEvent(Component.java:6514)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4620)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4474)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:688)
   at java.awt.EventQueue$3.run(EventQueue.java:686)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:702)
   at java.awt.EventQueue$4.run(EventQueue.java:700)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
   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)
I'll also fix this one this evening.

Re: Bug Reports (snapshot builds)

PostPosted: 07 Jan 2014, 02:01
by drdev
drdev wrote:
Agetian wrote:r24165: The Quest Deck editor (at the very least, I haven't checked out Constructed or other editors) is broken in a very interesting way right now. Putting a card into the deck does not decrease the count of available cards in the catalog (that is, if you only have one Fireball card in your collection in the quest, you can easily put four Fireballs into your deck - the count of available Fireballs never decreases). Interestingly enough, putting the previously non-existent card back from the deck into the catalog works - this way it's possible to cheat-add a lot of extra copies of cards to your collection and sell them.

- Agetian
That's a slight oversight I made that I'll fix this evening.
Fixed in r24166.

Re: Bug Reports (snapshot builds)

PostPosted: 07 Jan 2014, 02:57
by timmermac
This morning's snapshot build - exact revision number uncertain - has what I believe to be a bug. AI attempted to cast a Grazing Gladehart with a Primeval Bounty on its side of the field. I Absorb the Gladehart, which should prevent the Gladehart from resolving. The AI still got his Beast token. I do not believe that this should have happened.

Re: Bug Reports (snapshot builds)

PostPosted: 07 Jan 2014, 03:29
by friarsol
timmermac wrote:This morning's snapshot build - exact revision number uncertain - has what I believe to be a bug. AI attempted to cast a Grazing Gladehart with a Primeval Bounty on its side of the field. I Absorb the Gladehart, which should prevent the Gladehart from resolving. The AI still got his Beast token. I do not believe that this should have happened.
This isn't how the rules work anymore. Cards like Primeval Bounty used to be formatted as "Successfully cast" (See http://magiccards.info/us/en/234.html for example). Now they use the more simplified "When <Player> cast(s) a <Valid> spell..." which it means it triggers as soon as the spell is cast, and doesn't wait to trigger once the spell successfully resolves.

Re: Bug Reports (snapshot builds)

PostPosted: 07 Jan 2014, 05:53
by Rob Cashwalker
Pulled the latest from SVN a few times tonight, keep getting this error during build: (Run-As maven-install, the only way I seemed to get it to build since the module break-up)

Code: Select all
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running TestSuite
Configuring TestNG with: TestNG652Configurator
failed : 41.0
failed : 42.0
Tests run: 7, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.933 sec <<< FAILURE! - in TestSuite
guiProgressBarWindowTest1(forge.GuiProgressBarWindowTest)  Time elapsed: 0.062 sec  <<< FAILURE!
java.lang.ExceptionInInitializerError: null
   at forge.view.FDialog$BackdropPanel.<clinit>(FDialog.java:329)
   at forge.view.FDialog.<clinit>(FDialog.java:322)
   at forge.GuiProgressBarWindowTest.guiProgressBarWindowTest1(GuiProgressBarWindowTest.java:22)


Results :

Failed tests:
  GuiProgressBarWindowTest.guiProgressBarWindowTest1:22 » ExceptionInInitializer

Re: Bug Reports (snapshot builds)

PostPosted: 07 Jan 2014, 13:46
by Agetian
Haven't seen these pop up for quite a while, but today I got one...
r24169: Got this runtime exception when I played Juvenile Gloomwidow. Couldn't continue playing as it kept crashing and I had to force-quit the game.

RuntimeException | Open
Code: Select all
Forge Version:    1.5.9-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_25 Oracle Corporation

java.lang.RuntimeException: Cannot remove input InputPayManaOfCostPayment because it's not on top of stack. Stack = []
   at forge.control.InputQueue.removeInput(InputQueue.java:58)
   at forge.gui.input.InputSyncronizedBase.stop(InputSyncronizedBase.java:48)
   at forge.gui.input.InputPayMana.onStateChanged(InputPayMana.java:361)
   at forge.gui.input.InputPayMana$3.run(InputPayMana.java:309)
   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)

Re: Bug Reports (snapshot builds)

PostPosted: 07 Jan 2014, 18:29
by Chris H.
Rob Cashwalker wrote:Pulled the latest from SVN a few times tonight, keep getting this error during build: (Run-As maven-install, the only way I seemed to get it to build since the module break-up)
 
The following topic is worth reading as it contains some useful info: Working out the multi-module maven setup.

The test section is currently broken and I had to add

Code: Select all
-DskipTests=true -Darguments="-DskipTests=true"
 
to my script in order to turn tests off so that I could do my build and deploys.

Re: Bug Reports (snapshot builds)

PostPosted: 08 Jan 2014, 00:47
by drdev
drdev wrote:
moomarc wrote:r24162: I can't use the dock buttons in a match. As soon as the mouse hovers over a button the following error pops up.
NullPointerException | Open
Code: Select all
Forge Version:    SVN
Operating System: Windows 7 6.1 amd64
Java Version:     1.7.0_21 Oracle Corporation

java.lang.NullPointerException
   at forge.gui.toolbox.FSkin$ComponentSkin.setBackground(FSkin.java:114)
   at forge.gui.match.views.VDock$DockButton$1.mouseEntered(VDock.java:228)
   at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:300)
   at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:299)
   at java.awt.Component.processMouseEvent(Component.java:6514)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4620)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4474)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
   at java.awt.EventQueue$3.run(EventQueue.java:688)
   at java.awt.EventQueue$3.run(EventQueue.java:686)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:702)
   at java.awt.EventQueue$4.run(EventQueue.java:700)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
   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)
I'll also fix this one this evening.
Fixed in r24170. Ran out of time last night.

Re: Bug Reports (snapshot builds)

PostPosted: 08 Jan 2014, 10:54
by Hanmac
Brain Freeze imprinted inside Isochron Scepter does not trigger the Storm ability anymore
Target player puts the top three cards of his or her library into his or her graveyard.

Storm
if Vorel of the Hull Clade has a +1/+1 Counter and Experiment Kraj tries to copy the effect of Vorel i got this:
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)


Re: Bug Reports (snapshot builds)

PostPosted: 09 Jan 2014, 14:29
by Agetian
r24193: Got this NPE when hovering my mouse over the card list in the deck editor (was searching for Old Man of the Sea). This was a fatal error, I couldn't do anything with the game after it except force-close it.

NullPointerException | Open
Code: Select all
Forge Version:    1.5.9-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_25 Oracle Corporation

java.lang.NullPointerException
   at javax.swing.ToolTipManager.initiateToolTip(ToolTipManager.java:444)
   at javax.swing.ToolTipManager.mouseEntered(ToolTipManager.java:401)
   at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:299)
   at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:299)
   at java.awt.Component.processMouseEvent(Component.java:6514)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
   at forge.gui.toolbox.itemmanager.views.ItemListView$ItemTable.processMouseEvent(ItemListView.java:331)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4620)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4474)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   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)

Re: Bug Reports (snapshot builds)

PostPosted: 10 Jan 2014, 04:08
by swordshine
r24199: Got this NPE during the combat when I click a card
NullPointerException | Open
Code: Select all
Forge Version:    SVN
Operating System: Windows 7 6.1 x86
Java Version:     1.7.0_25 Oracle Corporation

java.lang.NullPointerException
   at forge.gui.toolbox.FSkin.setGraphicsColor(FSkin.java:186)
   at forge.gui.toolbox.FPanel.drawBackgroundColor(FPanel.java:261)
   at forge.gui.toolbox.FPanel.paintComponent(FPanel.java:236)
   at javax.swing.JComponent.paint(JComponent.java:1054)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
   at javax.swing.JComponent.paintChildren(JComponent.java:887)
   at javax.swing.JComponent.paint(JComponent.java:1063)
   at javax.swing.JComponent.paintToOffscreen(JComponent.java:5221)
   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1508)
   at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1439)
   at javax.swing.RepaintManager.paint(RepaintManager.java:1236)
   at javax.swing.JComponent._paintImmediately(JComponent.java:5169)
   at javax.swing.JComponent.paintImmediately(JComponent.java:4980)
   at javax.swing.RepaintManager$3.run(RepaintManager.java:796)
   at javax.swing.RepaintManager$3.run(RepaintManager.java:784)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:784)
   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:757)
   at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:706)
   at javax.swing.RepaintManager.access$1000(RepaintManager.java:62)
   at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1647)
   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)

Re: Bug Reports (snapshot builds)

PostPosted: 10 Jan 2014, 04:38
by drdev
Agetian wrote:r24162: The new skinned dialog boxes that allow to choose an option from a list misbehave a little bit on certain card option dialogs (at least on Linux, I haven't tested the other systems since I don't run any). These dialogs may be too small to display longer options (not sure if these options should actually be presented in the form of a menu instead, by the way), for example here's the first choice for Barbed Lightning:

barbed-lightning-dialog.png


It's possible to scroll to read the rest of the message by using the horizontal scrollbar, but that's tedious and sometimes causes a rather unpleasant visual glitch to happen, here's an example for Grab the Reins:

dialog-glitch-when-scrolling.png


The visual glitch demonstrated above *never* happens for dialogs in which the options fit into the dialog box, it only happens from time to time when horizontally scrolling the text in the dialog.

- Agetian
I've fixed it so ListChooser dialogs don't display scrollbars anymore unless they would otherwise be wider than the main frame. Hopefully that should alleviate the glitch issue in all but rare cases.

Re: Bug Reports (snapshot builds)

PostPosted: 10 Jan 2014, 06:37
by Agetian
r24201: Another tooltip-related NPE while editing a deck (this time I began making a new deck in the quest deck editor and hovered mouse over the bottom part of the card collection list, at which point I got the NPE).

NullPointerException | Open
Code: Select all
Forge Version:    1.5.9-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_25 Oracle Corporation

java.lang.NullPointerException
   at javax.swing.ToolTipManager.initiateToolTip(ToolTipManager.java:444)
   at javax.swing.ToolTipManager.mouseEntered(ToolTipManager.java:401)
   at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:299)
   at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:299)
   at java.awt.Component.processMouseEvent(Component.java:6514)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
   at forge.gui.toolbox.itemmanager.views.ItemListView$ItemTable.processMouseEvent(ItemListView.java:331)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
   at java.awt.Container.dispatchEventImpl(Container.java:2287)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
   at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4620)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4474)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
   at java.awt.Container.dispatchEventImpl(Container.java:2273)
   at java.awt.Window.dispatchEventImpl(Window.java:2719)
   at java.awt.Component.dispatchEvent(Component.java:4687)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
   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.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
   at java.awt.EventQueue$4.run(EventQueue.java:708)
   at java.awt.EventQueue$4.run(EventQueue.java:706)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
   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)