Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #10164 (closed)

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

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)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64551 sec.)

We're Hiring!