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

NullPointerException on Multimonitor environment #525

Closed
svennissel opened this issue Jul 9, 2018 · 3 comments
Closed

NullPointerException on Multimonitor environment #525

svennissel opened this issue Jul 9, 2018 · 3 comments
Labels
Milestone

Comments

@svennissel
Copy link
Collaborator

System: Windows 10
Monitors: 3 with different resolutions
Java Version: 8
Sometimes on loading big files an moving mouse same time i get a NullPointerException
`java.lang.NullPointerException

           at java.awt.Component.findUnderMouseInWindow(Component.java:1349)

           at java.awt.Component.getMousePosition(Component.java:1397)

           at org.jdesktop.swingx.rollover.RolloverProducer.updateRollover(RolloverProducer.java:216)

           at org.jdesktop.swingx.rollover.RolloverProducer.componentMoved(RolloverProducer.java:209)

           at java.awt.AWTEventMulticaster.componentMoved(AWTEventMulticaster.java:169)

           at java.awt.Component.processComponentEvent(Component.java:6368)

           at java.awt.Component.processEvent(Component.java:6319)

           at java.awt.Container.processEvent(Container.java:2239)

           at java.awt.Component.dispatchEventImpl(Component.java:4889)

           at java.awt.Container.dispatchEventImpl(Container.java:2297)

           at java.awt.Component.dispatchEvent(Component.java:4711)

           at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)

           at java.awt.EventQueue.access$500(EventQueue.java:97)

           at java.awt.EventQueue$3.run(EventQueue.java:709)

           at java.awt.EventQueue$3.run(EventQueue.java:703)

           at java.security.AccessController.doPrivileged(Native Method)

           at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

           at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)

           at java.awt.EventQueue$4.run(EventQueue.java:733)

           at java.awt.EventQueue$4.run(EventQueue.java:731)

           at java.security.AccessController.doPrivileged(Native Method)

           at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

           at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)

           at pl.otros.logview.exceptionshandler.EventQueueProxy.dispatchEvent(EventQueueProxy.java:26)

           at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)

           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

           at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

           at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

           at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

           at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)`

I seams to be a AWT Bug: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6840067

@otros-systems otros-systems added this to the 1.4.11 milestone Jul 9, 2018
otros-systems pushed a commit that referenced this issue Jul 9, 2018
* Dual screen Monitor support with different resolutions #508

The JFrame will displayed on primary monitor. If the second monitor
is bigger the last position can be negative.

* NullPointerException on Multimonitor environment #525

Do not throw Exception only log warning.
@svennissel
Copy link
Collaborator Author

Why didn't you merge 35451ff? I got often the NullPointerException with the application.

@otros-systems
Copy link
Owner

It is merged. @svennissel can you check if master is working fine?

@svennissel
Copy link
Collaborator Author

I have tested it some days and i found the warning in the log. The fix works for me

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

No branches or pull requests

2 participants