alejandro-du / crudui

Automatically generate CRUD-like Vaadin views for any Java Bean
https://vaadin.com/directory#!addon/crud-ui-add-on
Apache License 2.0
86 stars 54 forks source link

fix to avoid NPE in showError when no detailed message for exception #80

Closed paul-parlett closed 3 years ago

paul-parlett commented 3 years ago

Hi Alejandro, While using crudui I encountered a confusing stack trace due to this method not handling an exception where no detailed message was present. (The bean on my crud form had a null property which was generating an NPE.) This fix will enable showError to work in this case and display the error properly to the user. Paul PS Thanks for a great component!