Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8276154

IllegalStateException: Trying to unblock window blocked by another dialog

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux_ubuntu

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Java Version:
         
      java version "11.0.13" 2021-10-19 LTS
      Java(TM) SE Runtime Environment 18.9 (build 11.0.13+10-LTS-370)
      Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.13+10-LTS-370, mixed mode)


      OS: Ubuntu 20.04.3 kernel 5.11.0-38

      VM Options:

      -Xmx12288m
      -Xms6144m
      -Djava.util.Arrays.useLegacyMergeSort=true
      -Dawt.useSystemAAFontSettings=lcd_hrgb
      -Dsun.net.http.allowRestrictedHeaders=true
      -Dsun.java2d.uiScale.enabled=false
      -Djxbrowser.logging.level=INFO
      -DThinkScriptCalculatingPool=2
      -Dsun.awt.disableMixing=true
      -XX:MaxGCPauseMillis=50
      -XX:ParallelGCThreads=8
      -XX:ConcGCThreads=2
      -classpath/p launcher-second.jar
      -XX:MaxPermSize=256m


      A DESCRIPTION OF THE PROBLEM :
      I got the following exception when I tried to type in a dialog. the dialog shows a balloon tip on the right side of the input field. Other than that, it is a single text input dialog. The exception happened with both java 11 and java 8. But it does not happen in Windows 7.

      java.lang.IllegalStateException: Trying to unblock window blocked by another dialog
          at java.desktop/sun.awt.X11.XWindowPeer.setModalBlocked(XWindowPeer.java:1630)
          at java.desktop/sun.awt.X11.XWindowPeer.setModalBlocked(XWindowPeer.java:1607)
          at java.desktop/java.awt.Window.setModalBlocked(Window.java:1529)
          at java.desktop/java.awt.Dialog.unblockWindow(Dialog.java:1561)
          at java.desktop/java.awt.Window.hide(Window.java:1130)
          at java.desktop/java.awt.Component.show(Component.java:1718)
          at java.desktop/java.awt.Component.setVisible(Component.java:1663)
          at java.desktop/java.awt.Window.setVisible(Window.java:1031)
          at com.devexperts.tos.ui.seahorselaf.controls.balloons.BalloonTipController.hide(BalloonTipController.java:203)
          at com.devexperts.tos.ui.seahorselaf.util.validator.TerminalErrorController.textChanged(TerminalErrorController.java:25)
          at com.devexperts.tos.ui.seahorselaf.util.validator.TextValidator.textChanged(TextValidator.java:30)
          at com.devexperts.tos.ui.seahorselaf.util.validator.ChainErrorController.textChanged(ChainErrorController.java:15)
          at com.devexperts.tos.ui.seahorselaf.util.validator.TextValidator.textChanged(TextValidator.java:30)
          at com.devexperts.tos.ui.seahorselaf.util.validator.TextValidator.textChanged(TextValidator.java:23)
          at com.devexperts.tos.ui.user.textdialog.TextDialog.updateControls(TextDialog.java:390)
          at com.devexperts.tos.ui.user.textdialog.TextDialog.insertUpdate(TextDialog.java:328)
          at java.desktop/javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:203)
          at java.desktop/javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:757)
          at java.desktop/javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:716)
          at java.desktop/javax.swing.text.PlainDocument.insertString(PlainDocument.java:131)
          at java.desktop/javax.swing.text.AbstractDocument.replace(AbstractDocument.java:675)
          at java.desktop/javax.swing.text.JTextComponent.replaceSelection(JTextComponent.java:1339)
          at java.desktop/javax.swing.text.DefaultEditorKit$DefaultKeyTypedAction.actionPerformed(DefaultEditorKit.java:884)
          at java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
          at java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900)
          at java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2948)
          at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862)
          at java.desktop/java.awt.Component.processEvent(Component.java:6412)
          at java.desktop/java.awt.Container.processEvent(Container.java:2263)
          at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
          at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
          at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
          at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
          at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
          at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
          at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
          at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
          at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4892)
          at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
          at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
          at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
          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.pumpEventsForFilter(EventDispatchThread.java:117)
          at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
          at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
          at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
          at java.base/java.security.AccessController.doPrivileged(Native Method)
          at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
          at java.desktop/java.awt.Dialog.show(Dialog.java:1070)
          at java.desktop/java.awt.Component.show(Component.java:1716)
          at java.desktop/java.awt.Component.setVisible(Component.java:1663)
          at java.desktop/java.awt.Window.setVisible(Window.java:1031)
          at java.desktop/java.awt.Dialog.setVisible(Dialog.java:1005)
          at com.devexperts.tos.gui.widgets.Dialogs.showDialog(Dialogs.java:215)
          at com.devexperts.tos.ui.user.textdialog.TextDialog.show(TextDialog.java:261)
          at com.devexperts.tos.ui.user.scanner.WatchListScannerLayout.showSaveDialog(WatchListScannerLayout.java:441)
          at com.devexperts.tos.ui.user.scanner.WatchListScannerLayout.saveScan(WatchListScannerLayout.java:334)
          at com.devexperts.tos.ui.user.scanner.WatchListScannerLayout.lambda$init$6(WatchListScannerLayout.java:245)
          at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
          at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
          at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
          at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
          at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
          at com.devexperts.tos.ui.seahorselaf.commonui.menu.SeahorseMenuItemUI.doClick(SeahorseMenuItemUI.java:167)
          at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
          at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
          at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
          at java.desktop/java.awt.Component.processEvent(Component.java:6400)
          at java.desktop/java.awt.Container.processEvent(Container.java:2263)
          at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
          at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
          at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
          at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
          at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
          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:4843)
          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)




      FREQUENCY : always


        Attachments

          Activity

            People

            Assignee:
            dmarkov Dmitry Markov
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: