Exception when switching taxonomies
User report: “I was on the reports page with selection on date. I saved and then switched from IOC to Mammals and got the below.”
Could not get taxon for "spCorvumon"
java.lang.NullPointerException: Could not get taxon for "spCorvumon"
at .model.sighting.SightingTaxons$SingleSightingTaxon.resolveInternal(SightingTaxons.java:145)
at .model.taxa.TaxonomyImpl.resolveInto(TaxonomyImpl.java:242)
at .model.sighting.SightingTaxons$SingleSightingTaxon.resolve(SightingTaxons.java:138)
at .model.query.QueryResults.resolveToType(QueryResults.java:848)
at .ui.panels.reports.ReportsTreeModel.sightingsReplaced(ReportsTreeModel.java:249)
at .ui.panels.reports.ReportsBrowserPanel.sightingsReplaced(ReportsBrowserPanel.java:564)
at .ui.components.BaseTaxonBrowserPanel$TaxonPreviewRenderer$2.sightingsSwapped(BaseTaxonBrowserPanel.java:788)
at .ui.components.BaseTaxonBrowserPanel$TaxonPreviewRenderer$2.sightingsUpdated(BaseTaxonBrowserPanel.java:781)
at .ui.components.SightingBrowsePanel.save(SightingBrowsePanel.java:218)
at .ui.components.SightingBrowsePanel$3.ancestorRemoved(SightingBrowsePanel.java:152)
at java.desktop/javax.swing.AncestorNotifier.fireAncestorRemoved(Unknown Source)
Comments (2)
-
reporter -
repo owner - changed status to resolved
Resolve Issue
#501: Exception when switching taxonomies→ <<cset 0c3de2e7f556>>
- Log in to comment
Pretty sure this happened when the user was in the middle of editing a sighting (perhaps inadvertently)