Closed Yoshiyuka closed 9 years ago
Fixed in eabdaa3339ca3da7d715f9bd37d354be0feacfa7. I pushed 0.4.5-SNAPSHOT so you can try the fix for yourself.
Thank you for the incredibly fast response. I've pulled 0.4.5-SNAPSHOT and can confirm that this has resolved the NullPointerException on closing a dialog.
No problem, there's nothing else to do on a Saturday night, hah.
I've come across what I'm interpreting to be a bug with the dialog ui element (#ui.dialog). I've added a button to dialogs that close their parent dialog when clicked with
(dialog! popup :button "Close")
where popup is(dialog "Test" (skin "uiskin.json"))
. The dialog closes when the Close button is clicked. However, this immediately causes a NullPointerException in the render code.This is caused by the following code:
I've gotten around this error by manually removing the dialog entity from the entities vector in :on-ui-changed such that:
My project.clj: