You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "javax.swing.JFrame.setLocation(java.awt.Point)" because "this.floatingFrame" is null
at io.github.andrewauclair.moderndocking.floating.FloatListener.updateFramePosition(FloatListener.java:163)
at io.github.andrewauclair.moderndocking.floating.FloatListener.lambda$dragMouseMoved$1(FloatListener.java:157)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
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)
The text was updated successfully, but these errors were encountered:
Beyond being a null pointer, this tells me that Modern Docking has some incorrect logic floating. updateFramePosition is only called when floating is active, and when floating is active, the floating frame should always exist.
No longer invoking updateFramePosition later. This should prevent a situation when the drag has ended and the floating frame no longer exists. Perhaps it'll smooth out the UI too.
No longer invoking updateFramePosition later. This should prevent a situation when the drag has ended and the floating frame no longer exists. Perhaps it'll smooth out the UI too.
No longer invoking updateFramePosition later. This should prevent a situation when the drag has ended and the floating frame no longer exists. Perhaps it'll smooth out the UI too.
The text was updated successfully, but these errors were encountered: