We're updating the issue view to help you get more done. 

GS-UI with OpenJdk 11: java.lang.IllegalArgumentException thrown sometimes when working with two displays

Description

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Window must not be zero
at java.desktop/sun.awt.X11.XAtom.checkWindow(XAtom.java:774)
at java.desktop/sun.awt.X11.XAtom.getAtomData(XAtom.java:465)
at java.desktop/sun.awt.X11.XToolkit.getWorkArea(XToolkit.java:805)
at java.desktop/sun.awt.X11.XToolkit.getInsets(XToolkit.java:881)
at java.desktop/sun.awt.X11.XToolkit.getScreenInsets(XToolkit.java:869)
at java.desktop/javax.swing.PopupFactory$ContainerPopup.getContainerPopupArea(PopupFactory.java:667)
at java.desktop/javax.swing.PopupFactory$ContainerPopup.fitsOnScreen(PopupFactory.java:641)
at java.desktop/javax.swing.PopupFactory$LightWeightPopup.getLightWeightPopup(PopupFactory.java:725)
at java.desktop/javax.swing.PopupFactory.getLightWeightPopup(PopupFactory.java:300)
at java.desktop/javax.swing.PopupFactory.getPopup(PopupFactory.java:272)
at java.desktop/javax.swing.PopupFactory.getPopup(PopupFactory.java:216)
at java.desktop/javax.swing.PopupFactory.getPopup(PopupFactory.java:179)
at com.jgoodies.looks.common.ShadowPopupFactory.getPopup(ShadowPopupFactory.java:176)
at java.desktop/javax.swing.plaf.PopupMenuUI.getPopup(PopupMenuUI.java:66)
at java.desktop/javax.swing.JPopupMenu.showPopup(JPopupMenu.java:832)
at java.desktop/javax.swing.JPopupMenu.setVisible(JPopupMenu.java:785)
at java.desktop/javax.swing.JPopupMenu.show(JPopupMenu.java:959)
at com.gigaspaces.admin.ui.views.hosts.HostsTree$HostsServicesTreeMouseListener.maybeShowPopup(HostsTree.java:1086)
at com.gigaspaces.admin.ui.views.hosts.HostsTree$HostsServicesTreeMouseListener.mousePressed(HostsTree.java:793)
at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:288)
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 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)

Workaround

None

Acceptance Test

None

Status

Assignee

Unassigned

Reporter

Evgeny Fisher

Labels

Priority

Medium

SalesForce Case ID

None

Fix versions

None

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Premium

Platform

All