Task #12482 (closed)
Opened 10 years ago
Closed 10 years ago
Bug: AbnormalExit on 231 search
Reported by: | jamoore | Owned by: | jburel |
---|---|---|---|
Priority: | blocker | Milestone: | 5.0.3 |
Component: | Insight | Version: | 5.0.2 |
Keywords: | n.a. | Cc: | java@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
https://docs.google.com/a/glencoesoftware.com/spreadsheets/d/1Segxsec1uP-XR9IlJVecQpP8p3tAWfkaE3_2jZgVKHA/edit#gid=2071602124
Row: 31 (Colin)
Searching for the number 231 in Insight causes an instant crash! Other numbers appear to be okay (I've not tried them all!)
and 231 works okay in Web. It should return a Dataset (found by ID) and two LEI images. The exception (fuller stack trace on request) in the Insight log is below.
Digging a little this happens for any number that would return a Dataset or project by their ID.
2014-07-21 15:22:22,800 ERROR [ o.o.shoola.env.AbnormalExitHandler] (entQueue-0) Abnormal termination due to an uncaught exception. java.lang.IllegalStateException: Event does not contain timestamp. at pojos.DataObject.timeOfEvent(DataObject.java:351) at pojos.DataObject.getCreated(DataObject.java:382) at org.openmicroscopy.shoola.agents.dataBrowser.view.SearchResultTableModel.getIDate(SearchResultTableModel.java:149) at org.openmicroscopy.shoola.agents.dataBrowser.view.SearchResultTableModel.getValueAt(SearchResultTableModel.java:116) at org.jdesktop.swingx.JXTable.getValueAt(JXTable.java:1381) ...
Change History (5)
comment:1 Changed 10 years ago by cblackburn
comment:2 Changed 10 years ago by dlindner
Cause: When searching for IDs, I use the IQueryPrx.find() method, this doesn't seem to initialize the object properly (creation data not initialized).
comment:3 Changed 10 years ago by dlindner
This PR would at least prevent the crash: https://github.com/openmicroscopy/openmicroscopy/pull/2841
comment:4 Changed 10 years ago by jamoore
Dominik, query.findByQuery("select i from Image i join fetch i.details.creationEvent", ...) should get you that data. I'm not sure if there's an existing method for doing that.
comment:5 Changed 10 years ago by dlindner
- Resolution set to fixed
- Status changed from new to closed
Full stack trace: