Tree index is null after deleting taxon and moving the children to the parent taxon
Found in Version:
steps to reproduce:
- have a taxonomic backbone like this: Classification-> Taxon A -> Childtaxon B
- Delete A with the setting "Move children to parent"
- Check in the data base or try to delete the moved taxon B (will result in NPE because tree index is null)
stack trace line may not be correct as I found this in my branch
Caused by: java.lang.NullPointerException at java.lang.String.startsWith(String.java:1405) at java.lang.String.startsWith(String.java:1434) at eu.etaxonomy.taxeditor.editor.EditorUtil.closeObsoleteEditor(EditorUtil.java:369)