Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows TrayPopup pop-up error. #214

Open
westboy opened this issue Jul 16, 2024 · 2 comments
Open

Windows TrayPopup pop-up error. #214

westboy opened this issue Jul 16, 2024 · 2 comments

Comments

@westboy
Copy link

westboy commented Jul 16, 2024

windows 10 TrayPopup pops up an error, but it works normally under windows 11.

2024-07-16 15:38:35 ERROR org.dromara.quickswing.QSApplicationInitializer:57 - Thread AWT-EventQueue-0
java.lang.NullPointerException: Cannot read field "y" because "bounds" is null
at dorkbox.systemTray.ui.swing.TrayPopup.doShow(TrayPopup.java:126)
at dorkbox.systemTray.ui.swing._SwingTray$1$1.mousePressed(_SwingTray.java:168)
at java.desktop/java.awt.TrayIcon.processMouseEvent(Unknown Source)
at java.desktop/java.awt.TrayIcon.processEvent(Unknown Source)
at java.desktop/java.awt.TrayIcon.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

@westboy
Copy link
Author

westboy commented Jul 16, 2024

Extracting Chinese or other non Latin language Windows operating systems in this way will cause problems
image

@westboy westboy changed the title Windows 10 TrayPopup pop-up error. Windows TrayPopup pop-up error. Jul 16, 2024
@asfdnkw
Copy link

asfdnkw commented Jul 17, 2024

I posted a question in # 215. Can you give me some help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants