Skip to content

Issue when sending ResultsTable to OMERO #13

@Rdornier

Description

@Rdornier

Hello,

I have an issue when I try to save ResultsTable on OMERO, whatever if I use a macro or a groovy script
I attached the macro file and the groovy script so that you can try. I use images coming from this zenodo repo.

Images are uploaded on OMERO and I want to save back on OMERO (if I save locally, everything goes well). If I select only ROIs, the batch process doesn't crash and ROIs are uploaded on OMERO, attached to the correct image.

But when I tick Results Table(s) box, and then start, I have a popup at the end of the processing of the first image and then, whatever the answer, it throws the following error.

BatchPluginBug

Popup message

BatchPluginBugPopup

Exception in thread "Thread-768" java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@6354bff3 rejected from java.util.concurrent.ThreadPoolExecutor@554890ae[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2063)
	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:830)
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1379)
	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
	at omero.gateway.Gateway.submit(Gateway.java:278)
	at omero.gateway.facility.DataManagerFacility.attachFile(DataManagerFacility.java:720)
	at fr.igred.omero.repository.GenericRepositoryObjectWrapper.addFile(GenericRepositoryObjectWrapper.java:547)
	at fr.igred.ij.macro.OMEROBatchRunner.uploadFile(OMEROBatchRunner.java:870)
	at fr.igred.ij.macro.OMEROBatchRunner.saveResults(OMEROBatchRunner.java:835)
	at fr.igred.ij.macro.OMEROBatchRunner.save(OMEROBatchRunner.java:699)
	at fr.igred.ij.macro.OMEROBatchRunner.runMacro(OMEROBatchRunner.java:552)
	at fr.igred.ij.macro.OMEROBatchRunner.run(OMEROBatchRunner.java:427)

Do you have an idea on what can be the issue ?
Thanks,

Best,
Rémy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions