troizet opened a new issue, #6290:
URL: https://github.com/apache/netbeans/issues/6290

   ### Apache NetBeans version
   
   Apache NetBeans 19 release candidate
   
   ### What happened
   
   When performing long operations such as `Background scanning of projects`, 
`Refreshing indications`, `Checking for external changes`, a progress bar 
appears at the bottom. When clicking on the progress bar, a popup window opens, 
in which an exception `java.lang.IllegalArgumentException: Wrong parent window` 
is thrown when clicking on `Click to cancel process`.
   
   ### How to reproduce
   
    - Click on the progress bar when performing operations such as `Background 
scanning of projects`, `Refreshing indications`, `Checking for external 
changes`. 
   - Click on `Click to cancel process` in the popup window that opens.
   
   
   ![Click to cancel 
process](https://github.com/apache/netbeans/assets/9607501/be619611-825d-4d2e-87fa-2be06623f5e4)
   
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 18
   
   ### Operating System
   
   Debian GNU/Linux 12 (bookworm)
   
   ### JDK
   
   OpenJDK Runtime Environment 17.0.7+7-Debian-1deb12u1
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   Stacktrace:
   ```
   java.lang.IllegalArgumentException: Wrong parent window
        at java.desktop/java.awt.Dialog.<init>(Dialog.java:681)
        at java.desktop/javax.swing.JDialog.<init>(JDialog.java:593)
        at 
org.netbeans.core.windows.services.NbPresenter.<init>(NbPresenter.java:198)
        at 
org.netbeans.core.windows.services.DialogDisplayerImpl$AWTQuery.showDialog(DialogDisplayerImpl.java:232)
        at 
org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:272)
        at 
org.netbeans.core.windows.services.DialogDisplayerImpl.notify(DialogDisplayerImpl.java:151)
        at 
org.netbeans.modules.progress.ui.ListComponent$CancelAction.actionPerformed(ListComponent.java:323)
        at 
java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
        at 
java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313)
        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.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
        at 
java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
        at 
java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
        at 
java.desktop/java.awt.Component.processMouseEvent(Component.java:6626)
        at 
java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3389)
        at java.desktop/java.awt.Component.processEvent(Component.java:6391)
        at java.desktop/java.awt.Container.processEvent(Container.java:2266)
        at 
java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5001)
        at 
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
        at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
        at 
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
        at 
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575)
        at 
java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
        at 
java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
        at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
        at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833)
        at 
java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716)
        at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
        at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
        at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
        at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:746)
        at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:744)
        at 
java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
        at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:743)
        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)
   ```
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to