Open jozefcifre opened 9 months ago
I can reproduce this. Interestingly, I get a slightly nicer error (it looks like the same cause):
java.lang.NullPointerException: Cannot read field "x" because "nextPoint" is null
at aurelienribon.bodyeditor.canvas.CanvasDrawer.drawShapes(CanvasDrawer.java:213)
at aurelienribon.bodyeditor.canvas.CanvasDrawer.drawModel(CanvasDrawer.java:71)
at aurelienribon.bodyeditor.canvas.rigidbodies.RigidBodiesScreen.render(RigidBodiesScreen.java:414)
at aurelienribon.bodyeditor.canvas.Canvas.render(Canvas.java:132)
at com.badlogic.gdx.backends.lwjgl.LwjglCanvas$3.run(LwjglCanvas.java:267)
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:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
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)
I managed to trigger it when I tried to switch to "Edition" mode whilst in the middle of creating a new line in "Creation" mode.
Version: cloned today from develop branch Distro: NixOS
[nix-shell] $
./gradlew run
cout:The main window goes blank. This always happens right after I press tab to switch modes while I am on Edition mode and editing a vertex.