Task #10164 (closed)
Bug: NPE on Image rename (no save)
Reported by: | wmoore | Owned by: | jburel |
---|---|---|---|
Priority: | major | Milestone: | OMERO-4.4.7 |
Component: | Insight | Version: | n.a. |
Keywords: | n.a. | Cc: | mtbcarroll |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2013-01-15 (4) |
Description
If I edit the name or description of a Project, Dataset or Image and then choose a different P/D/I without saving, I get the "Do you want to save changes" question. If I choose "Yes" then I get this error:
java.lang.Exception: Abnormal termination due to an uncaught exception. java.lang.NullPointerException at org.openmicroscopy.shoola.agents.metadata.view.MetadataViewerModel.isSameSelection(MetadataViewerModel.java:1095) at org.openmicroscopy.shoola.agents.metadata.view.MetadataViewerComponent.onDataSave(MetadataViewerComponent.java:558) at org.openmicroscopy.shoola.agents.metadata.DataSaver.handleResult(DataSaver.java:127) at org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:90)
Change History (4)
comment:1 Changed 11 years ago by jburel
- Cc mtbcarroll added
comment:2 Changed 11 years ago by jburel
- Remaining Time set to 0
- Resolution set to fixed
- Sprint set to 2013-01-15 (4)
- Status changed from new to closed
comment:3 Changed 11 years ago by jburel <j.burel@…>
(In [04f4d628a043433a31c9e2c8688b605c27b3a1dc/ome.git] on branch develop) Fix NPE after editing and not saving (close #10164)
comment:4 Changed 11 years ago by Josh Moore <josh@…>
(In [1d0937ea4cb1ad50ea367fa5a19644cb7455f488/ome.git] on branch develop) Merge pull request #614 from jburel/rebased/develop/npe-same-selection
Fix NPE after editing and not saving (close #10164) (rebased onto develop)
see https://github.com/openmicroscopy/openmicroscopy/pull/608