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 #12482 (closed)

Opened 7 years ago

Closed 7 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 7 years ago by cblackburn

Full stack trace:

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)
	at javax.swing.JTable.prepareRenderer(JTable.java:5701)
	at org.jdesktop.swingx.JXTable.prepareRenderer(JXTable.java:3382)
	at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072)
	at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974)
	at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1770)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:153)
	at javax.swing.JComponent.paintComponent(JComponent.java:760)
	at javax.swing.JComponent.paint(JComponent.java:1037)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JViewport.paint(JViewport.java:795)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JViewport.paint(JViewport.java:795)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5106)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4890)
	at javax.swing.RepaintManager$3.run(RepaintManager.java:814)
	at javax.swing.RepaintManager$3.run(RepaintManager.java:802)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:802)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:745)
	at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:725)
	at javax.swing.RepaintManager.access$1000(RepaintManager.java:46)
	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1680)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
	at java.awt.EventQueue.access$400(EventQueue.java:82)
	at java.awt.EventQueue$2.run(EventQueue.java:676)
	at java.awt.EventQueue$2.run(EventQueue.java:674)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
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)
	at javax.swing.JTable.prepareRenderer(JTable.java:5701)
	at org.jdesktop.swingx.JXTable.prepareRenderer(JXTable.java:3382)
	at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072)
	at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974)
	at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1770)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:153)
	at javax.swing.JComponent.paintComponent(JComponent.java:760)
	at javax.swing.JComponent.paint(JComponent.java:1037)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JViewport.paint(JViewport.java:795)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JViewport.paint(JViewport.java:795)
	at javax.swing.JComponent.paintChildren(JComponent.java:870)
	at javax.swing.JComponent.paint(JComponent.java:1046)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5106)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4890)
	at javax.swing.RepaintManager$3.run(RepaintManager.java:814)
	at javax.swing.RepaintManager$3.run(RepaintManager.java:802)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:802)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:745)
	at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:725)
	at javax.swing.RepaintManager.access$1000(RepaintManager.java:46)
	at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1680)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
	at java.awt.EventQueue.access$400(EventQueue.java:82)
	at java.awt.EventQueue$2.run(EventQueue.java:676)
	at java.awt.EventQueue$2.run(EventQueue.java:674)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0"
 
2014-07-21 15:22:22,978 ERROR [o.o.s.e.data.views.calls.ThumbnailLoader] ( Thread-16) Cannot retrieve thumbnailIce.CommunicatorDestroyedException
	at IceInternal.ConnectRequestHandler.initialized(ConnectRequestHandler.java:370)
	at IceInternal.ConnectRequestHandler.connect(ConnectRequestHandler.java:47)
	at Ice._ObjectDelM.setup(_ObjectDelM.java:264)
	at Ice.ObjectPrxHelperBase.createDelegate(ObjectPrxHelperBase.java:2299)
	at Ice.ObjectPrxHelperBase.__getDelegate(ObjectPrxHelperBase.java:2204)
	at omero.api.ThumbnailStorePrxHelper.getThumbnail(ThumbnailStorePrxHelper.java:1814)
	at omero.api.ThumbnailStorePrxHelper.getThumbnail(ThumbnailStorePrxHelper.java:1788)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader.loadThumbail(ThumbnailLoader.java:144)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader.access$700(ThumbnailLoader.java:77)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader$2.doCall(ThumbnailLoader.java:241)
	at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
	at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
	at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:276)
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
	at java.lang.Thread.run(Thread.java:695)
Cannot retrieve thumbnailIce.CommunicatorDestroyedException
	at IceInternal.ConnectRequestHandler.initialized(ConnectRequestHandler.java:370)
	at IceInternal.ConnectRequestHandler.connect(ConnectRequestHandler.java:47)
	at Ice._ObjectDelM.setup(_ObjectDelM.java:264)
	at Ice.ObjectPrxHelperBase.createDelegate(ObjectPrxHelperBase.java:2299)
	at Ice.ObjectPrxHelperBase.__getDelegate(ObjectPrxHelperBase.java:2204)
	at omero.api.ThumbnailStorePrxHelper.getThumbnail(ThumbnailStorePrxHelper.java:1814)
	at omero.api.ThumbnailStorePrxHelper.getThumbnail(ThumbnailStorePrxHelper.java:1788)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader.loadThumbail(ThumbnailLoader.java:144)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader.access$700(ThumbnailLoader.java:77)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader$2.doCall(ThumbnailLoader.java:241)
	at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
	at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
	at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:276)
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
	at java.lang.Thread.run(Thread.java:695)
Exception in thread "Thread-16"
 
2014-07-21 15:22:22,979 ERROR [o.o.s.e.data.views.calls.ThumbnailLoader] ( Thread-16) Cannot retrieve thumbnailIce.CommunicatorDestroyedException
	at IceInternal.ConnectRequestHandler.initialized(ConnectRequestHandler.java:370)
	at IceInternal.ConnectRequestHandler.connect(ConnectRequestHandler.java:47)
	at Ice._ObjectDelM.setup(_ObjectDelM.java:264)
	at Ice.ObjectPrxHelperBase.createDelegate(ObjectPrxHelperBase.java:2299)
	at Ice.ObjectPrxHelperBase.__getDelegate(ObjectPrxHelperBase.java:2204)
	at omero.api.ThumbnailStorePrxHelper.setPixelsId(ThumbnailStorePrxHelper.java:3565)
	at omero.api.ThumbnailStorePrxHelper.setPixelsId(ThumbnailStorePrxHelper.java:3539)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader.loadThumbail(ThumbnailLoader.java:136)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader.access$700(ThumbnailLoader.java:77)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader$2.doCall(ThumbnailLoader.java:241)
	at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
	at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
	at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:276)
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
	at java.lang.Thread.run(Thread.java:695)
Cannot retrieve thumbnailIce.CommunicatorDestroyedException
	at IceInternal.ConnectRequestHandler.initialized(ConnectRequestHandler.java:370)
	at IceInternal.ConnectRequestHandler.connect(ConnectRequestHandler.java:47)
	at Ice._ObjectDelM.setup(_ObjectDelM.java:264)
	at Ice.ObjectPrxHelperBase.createDelegate(ObjectPrxHelperBase.java:2299)
	at Ice.ObjectPrxHelperBase.__getDelegate(ObjectPrxHelperBase.java:2204)
	at omero.api.ThumbnailStorePrxHelper.setPixelsId(ThumbnailStorePrxHelper.java:3565)
	at omero.api.ThumbnailStorePrxHelper.setPixelsId(ThumbnailStorePrxHelper.java:3539)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader.loadThumbail(ThumbnailLoader.java:136)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader.access$700(ThumbnailLoader.java:77)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader$2.doCall(ThumbnailLoader.java:241)
	at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
	at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
	at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:276)
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
	at java.lang.Thread.run(Thread.java:695)
Exception in thread "Thread-16"
 
2014-07-21 15:22:22,979 DEBUG [          o.o.shoola.util.NetworkChecker] ( Thread-16) Cached networkup: true 
2014-07-21 15:22:22,980 DEBUG [           o.o.shoola.env.data.Connector] ( Thread-16) Failed to close db31b8e1-0255-40ab-b0ae-fe5ece362b79/71742420-3817-46ec-be38-5159616a254comero.api.ThumbnailStore -t -e 1.0:tcp -h 192.168.56.1 -p 36349:tcp -h 134.36.65.241 -p 36349(Ice.CommunicatorDestroyedException
	at IceInternal.ConnectRequestHandler.initialized(ConnectRequestHandler.java:370)
	at IceInternal.ConnectRequestHandler.connect(ConnectRequestHandler.java:47)
	at Ice._ObjectDelM.setup(_ObjectDelM.java:264)
	at Ice.ObjectPrxHelperBase.createDelegate(ObjectPrxHelperBase.java:2299)
	at Ice.ObjectPrxHelperBase.__getDelegate(ObjectPrxHelperBase.java:2204)
	at omero.api.ThumbnailStorePrxHelper.close(ThumbnailStorePrxHelper.java:354)
	at omero.api.ThumbnailStorePrxHelper.close(ThumbnailStorePrxHelper.java:318)
	at org.openmicroscopy.shoola.env.data.Connector.close(Connector.java:706)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.closeService(OMEROGateway.java:3841)
	at org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.closeService(OmeroDataServiceImpl.java:1209)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader.loadThumbail(ThumbnailLoader.java:155)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader.access$700(ThumbnailLoader.java:77)
	at org.openmicroscopy.shoola.env.data.views.calls.ThumbnailLoader$2.doCall(ThumbnailLoader.java:241)
	at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
	at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
	at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:276)
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
	at java.lang.Thread.run(Thread.java:695)
) 

comment:2 Changed 7 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 7 years ago by dlindner

This PR would at least prevent the crash: https://github.com/openmicroscopy/openmicroscopy/pull/2841

comment:4 Changed 7 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 7 years ago by dlindner

  • Resolution set to fixed
  • Status changed from new to closed
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.101334 sec.)

We're Hiring!