[jira] [Updated] (NETBEANS-3671) IllegalArgumentException CachedHiDPIIcon

2020-02-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-3671:
-
Labels: pull-request-available  (was: )

> IllegalArgumentException CachedHiDPIIcon
> 
>
> Key: NETBEANS-3671
> URL: https://issues.apache.org/jira/browse/NETBEANS-3671
> Project: NetBeans
>  Issue Type: Bug
>  Components: platform - Other
>Affects Versions: 11.1
> Environment: Linux: Ubuntu 18.04.3 LTS
>Reporter: Thomas
>Assignee: Eirik Bakke
>Priority: Major
>  Labels: pull-request-available
>
> Now and then I get the following exception when opening the "Tools" menu item 
> via mouse:
>  
> java.lang.IllegalArgumentException
>  at org.openide.util.CachedHiDPIIcon.(CachedHiDPIIcon.java:63)
>  at org.openide.util.FilteredIcon.(FilteredIcon.java:50)
>  at org.openide.util.FilteredIcon.create(FilteredIcon.java:58)
>  at 
> org.openide.util.ImageUtilities.createDisabledIcon(ImageUtilities.java:415)
>  at org.openide.awt.Actions$MenuBridge.updateButtonIcon(Actions.java:1375)
>  at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1324)
>  at org.openide.awt.Actions$MenuItem.synchMenuPresenters(Actions.java:1667)
>  at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:171)
>  at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:722)
>  at 
> java.desktop/javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1486)
>  at 
> java.desktop/javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:129)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:259)
>  at 
> java.desktop/javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:520)
>  at java.desktop/java.awt.Component.processMouseEvent(Component.java:6629)
>  at 
> java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
>  at java.desktop/java.awt.Component.processEvent(Component.java:6397)
>  at java.desktop/java.awt.Container.processEvent(Container.java:2263)
>  at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
>  at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
>  at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
>  at 
> java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
>  at 
> java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544)
>  at 
> java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
>  at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
>  at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
>  at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
>  at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
>  at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
>  at java.base/java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
>  at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
>  at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
>  at java.base/java.security.AccessController.doPrivileged(Native Method)
>  at 
> java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
>  at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
>  at 
> org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
>  [catch] at 
> java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
>  at 
> java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
>  at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-3671) IllegalArgumentException CachedHiDPIIcon

2020-01-07 Thread Thomas (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas updated NETBEANS-3671:
-
Description: 
Now and then I get the following exception when opening the "Tools" menu item 
via mouse:

 

java.lang.IllegalArgumentException
 at org.openide.util.CachedHiDPIIcon.(CachedHiDPIIcon.java:63)
 at org.openide.util.FilteredIcon.(FilteredIcon.java:50)
 at org.openide.util.FilteredIcon.create(FilteredIcon.java:58)
 at org.openide.util.ImageUtilities.createDisabledIcon(ImageUtilities.java:415)
 at org.openide.awt.Actions$MenuBridge.updateButtonIcon(Actions.java:1375)
 at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1324)
 at org.openide.awt.Actions$MenuItem.synchMenuPresenters(Actions.java:1667)
 at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:171)
 at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:722)
 at 
java.desktop/javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1486)
 at 
java.desktop/javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:129)
 at 
java.desktop/javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:259)
 at 
java.desktop/javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:520)
 at java.desktop/java.awt.Component.processMouseEvent(Component.java:6629)
 at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
 at java.desktop/java.awt.Component.processEvent(Component.java:6397)
 at java.desktop/java.awt.Container.processEvent(Container.java:2263)
 at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
 at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
 at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
 at 
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
 at 
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544)
 at 
java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
 at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
 at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
 at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
 at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
 at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
 at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
 at java.base/java.security.AccessController.doPrivileged(Native Method)
 at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
 at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
 at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
 at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
 at java.base/java.security.AccessController.doPrivileged(Native Method)
 at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
 at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
 at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
 [catch] at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
 at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
 at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
 at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
 at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

  was:
I got the following exception when opening the "Tools" menu item via mouse:

 

java.lang.IllegalArgumentException
 at org.openide.util.CachedHiDPIIcon.(CachedHiDPIIcon.java:63)
 at org.openide.util.FilteredIcon.(FilteredIcon.java:50)
 at org.openide.util.FilteredIcon.create(FilteredIcon.java:58)
 at org.openide.util.ImageUtilities.createDisabledIcon(ImageUtilities.java:415)
 at org.openide.awt.Actions$MenuBridge.updateButtonIcon(Actions.java:1375)
 at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1324)
 at org.openide.awt.Actions$MenuItem.synchMenuPresenters(Actions.java:1667)
 at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:171)
 at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:722)
 at 
java.desktop/javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1486)
 at 
java.desktop/javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:129)
 at 
java.desktop/javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:259)
 at 
java.desktop/javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:520)
 at 

[jira] [Updated] (NETBEANS-3671) IllegalArgumentException CachedHiDPIIcon

2020-01-07 Thread Thomas (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas updated NETBEANS-3671:
-
Description: 
I got the following exception when opening the "Tools" menu item via mouse:

 

java.lang.IllegalArgumentException
 at org.openide.util.CachedHiDPIIcon.(CachedHiDPIIcon.java:63)
 at org.openide.util.FilteredIcon.(FilteredIcon.java:50)
 at org.openide.util.FilteredIcon.create(FilteredIcon.java:58)
 at org.openide.util.ImageUtilities.createDisabledIcon(ImageUtilities.java:415)
 at org.openide.awt.Actions$MenuBridge.updateButtonIcon(Actions.java:1375)
 at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1324)
 at org.openide.awt.Actions$MenuItem.synchMenuPresenters(Actions.java:1667)
 at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:171)
 at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:722)
 at 
java.desktop/javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1486)
 at 
java.desktop/javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:129)
 at 
java.desktop/javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:259)
 at 
java.desktop/javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:520)
 at java.desktop/java.awt.Component.processMouseEvent(Component.java:6629)
 at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
 at java.desktop/java.awt.Component.processEvent(Component.java:6397)
 at java.desktop/java.awt.Container.processEvent(Container.java:2263)
 at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
 at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
 at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
 at 
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
 at 
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4544)
 at 
java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
 at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
 at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
 at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
 at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
 at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
 at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
 at java.base/java.security.AccessController.doPrivileged(Native Method)
 at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
 at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
 at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
 at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
 at java.base/java.security.AccessController.doPrivileged(Native Method)
 at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
 at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
 at 
org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
 [catch] at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
 at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
 at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
 at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
 at 
java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

  was:
I got the following exeption when opening the "Tools" menu item via mouse:

 

java.lang.IllegalArgumentException
 at org.openide.util.CachedHiDPIIcon.(CachedHiDPIIcon.java:63)
 at org.openide.util.FilteredIcon.(FilteredIcon.java:50)
 at org.openide.util.FilteredIcon.create(FilteredIcon.java:58)
 at org.openide.util.ImageUtilities.createDisabledIcon(ImageUtilities.java:415)
 at org.openide.awt.Actions$MenuBridge.updateButtonIcon(Actions.java:1375)
 at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1324)
 at org.openide.awt.Actions$MenuItem.synchMenuPresenters(Actions.java:1667)
 at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:171)
 at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:722)
 at 
java.desktop/javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1486)
 at 
java.desktop/javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:129)
 at 
java.desktop/javax.swing.plaf.basic.BasicMenuUI.appendPath(BasicMenuUI.java:259)
 at 
java.desktop/javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(BasicMenuUI.java:520)
 at