Failed import prevents future imports
Posted: Fri Jul 27, 2018 2:05 pm
I have had a few cases where an image import through Insight fails due to a corrupt file or some other problem outside of Insight’s control. After these failures, I have to restart Insight in order to import any other files. Is this expected?
I'm on Windows 10 using Version 5.4.6-ice36-b87 contecting to an Omero.server on an Ubuntu machine.
A more detailed example:
I have a corrupt TIFF file, and trying to import it produces “Failed to Read Pixels”. After this failure, future imports just show “Pending…” with a “Cancel” button. Once I restart Insight, I can import those latter files successfully. Is there something I need to do to cancel the failed import or to restart the importer? In this example, the original, failed import gave the Exceptions below.
java.lang.RuntimeException: Failure response on import!
Category: ::omero::grid::ImportRequest
Name: import-request-failure
Parameters: {stacktrace=java.lang.NullPointerException
, message=}
at ome.formats.importer.ImportLibrary$ImportCallback.onFinished(ImportLibrary.java:672)
at omero.cmd.CmdCallbackI.finished(CmdCallbackI.java:334)
at omero.cmd._CmdCallbackDisp.___finished(_CmdCallbackDisp.java:118)
at omero.cmd._CmdCallbackDisp.__dispatch(_CmdCallbackDisp.java:145)
at IceInternal.Incoming.invoke(Incoming.java:221)
at Ice.ConnectionI.invokeAll(ConnectionI.java:2536)
at Ice.ConnectionI.dispatch(ConnectionI.java:1145)
at Ice.ConnectionI.message(ConnectionI.java:1056)
at IceInternal.ThreadPool.run(ThreadPool.java:395)
at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:832)
at java.lang.Thread.run(Unknown Source)
at org.openmicroscopy.shoola.env.data.util.StatusLabel.update(StatusLabel.java:678)
at ome.formats.importer.ImportLibrary.notifyObservers(ImportLibrary.java:246)
at ome.formats.importer.ImportLibrary$ImportCallback.onFinished(ImportLibrary.java:678)
at omero.cmd.CmdCallbackI.finished(CmdCallbackI.java:334)
at omero.cmd._CmdCallbackDisp.___finished(_CmdCallbackDisp.java:118)
at omero.cmd._CmdCallbackDisp.__dispatch(_CmdCallbackDisp.java:145)
at IceInternal.Incoming.invoke(Incoming.java:221)
at Ice.ConnectionI.invokeAll(ConnectionI.java:2536)
at Ice.ConnectionI.dispatch(ConnectionI.java:1145)
at Ice.ConnectionI.message(ConnectionI.java:1056)
at IceInternal.ThreadPool.run(ThreadPool.java:395)
at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:832)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Failure response on import!
Category: ::omero::grid::ImportRequest
Name: import-request-failure
Parameters: {stacktrace=java.lang.NullPointerException
, message=}
at ome.formats.importer.ImportLibrary$ImportCallback.onFinished(ImportLibrary.java:672)
... 11 more
I'm on Windows 10 using Version 5.4.6-ice36-b87 contecting to an Omero.server on an Ubuntu machine.
A more detailed example:
I have a corrupt TIFF file, and trying to import it produces “Failed to Read Pixels”. After this failure, future imports just show “Pending…” with a “Cancel” button. Once I restart Insight, I can import those latter files successfully. Is there something I need to do to cancel the failed import or to restart the importer? In this example, the original, failed import gave the Exceptions below.
java.lang.RuntimeException: Failure response on import!
Category: ::omero::grid::ImportRequest
Name: import-request-failure
Parameters: {stacktrace=java.lang.NullPointerException
, message=}
at ome.formats.importer.ImportLibrary$ImportCallback.onFinished(ImportLibrary.java:672)
at omero.cmd.CmdCallbackI.finished(CmdCallbackI.java:334)
at omero.cmd._CmdCallbackDisp.___finished(_CmdCallbackDisp.java:118)
at omero.cmd._CmdCallbackDisp.__dispatch(_CmdCallbackDisp.java:145)
at IceInternal.Incoming.invoke(Incoming.java:221)
at Ice.ConnectionI.invokeAll(ConnectionI.java:2536)
at Ice.ConnectionI.dispatch(ConnectionI.java:1145)
at Ice.ConnectionI.message(ConnectionI.java:1056)
at IceInternal.ThreadPool.run(ThreadPool.java:395)
at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:832)
at java.lang.Thread.run(Unknown Source)
at org.openmicroscopy.shoola.env.data.util.StatusLabel.update(StatusLabel.java:678)
at ome.formats.importer.ImportLibrary.notifyObservers(ImportLibrary.java:246)
at ome.formats.importer.ImportLibrary$ImportCallback.onFinished(ImportLibrary.java:678)
at omero.cmd.CmdCallbackI.finished(CmdCallbackI.java:334)
at omero.cmd._CmdCallbackDisp.___finished(_CmdCallbackDisp.java:118)
at omero.cmd._CmdCallbackDisp.__dispatch(_CmdCallbackDisp.java:145)
at IceInternal.Incoming.invoke(Incoming.java:221)
at Ice.ConnectionI.invokeAll(ConnectionI.java:2536)
at Ice.ConnectionI.dispatch(ConnectionI.java:1145)
at Ice.ConnectionI.message(ConnectionI.java:1056)
at IceInternal.ThreadPool.run(ThreadPool.java:395)
at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:832)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Failure response on import!
Category: ::omero::grid::ImportRequest
Name: import-request-failure
Parameters: {stacktrace=java.lang.NullPointerException
, message=}
at ome.formats.importer.ImportLibrary$ImportCallback.onFinished(ImportLibrary.java:672)
... 11 more