We're Hiring!

Failed import prevents future imports

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Failed import prevents future imports

Postby austinMLB » 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
austinMLB
 
Posts: 19
Joined: Wed Jul 25, 2018 3:26 pm

Re: Failed import prevents future imports

Postby Dominik » Fri Jul 27, 2018 2:25 pm

You're right, it's a bug in the Importer. Thanks for spotting this.
I think it tries to wait for the failed import to complete before kicking off the other imports, which obviously won't happen. I try to fix that for the next release.

Kind Regards,
Dominik
User avatar
Dominik
Team Member
 
Posts: 149
Joined: Mon Feb 10, 2014 11:26 am


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest