Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use OMERO plugins after session timeout #85

Open
ctrueden opened this issue May 31, 2018 · 0 comments
Open

Cannot use OMERO plugins after session timeout #85

ctrueden opened this issue May 31, 2018 · 0 comments
Labels
Milestone

Comments

@ctrueden
Copy link
Member

The OMERO service keeps trying to use the existing OMERO session even after it times out, resulting in errors like:

[ERROR] null
java.io.IOException: io.scif.img.ImgIOException: java.io.IOException: io.scif.FormatException: Error communicating with OMERO -- server version mismatch?
	at io.scif.services.DefaultDatasetIOService.open(DefaultDatasetIOService.java:135)
	at net.imagej.omero.DefaultOMEROService.downloadImage(DefaultOMEROService.java:515)
	at net.imagej.omero.commands.OpenFromOMERO.run(OpenFromOMERO.java:91)
	at org.scijava.command.CommandModule.run(CommandModule.java:199)
	at org.scijava.module.ModuleRunner.run(ModuleRunner.java:168)
	at org.scijava.module.ModuleRunner.call(ModuleRunner.java:127)
	at org.scijava.module.ModuleRunner.call(ModuleRunner.java:66)
	at org.scijava.thread.DefaultThreadService$3.call(DefaultThreadService.java:238)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: io.scif.img.ImgIOException: java.io.IOException: io.scif.FormatException: Error communicating with OMERO -- server version mismatch?
	at io.scif.img.ImgOpener.createReader(ImgOpener.java:426)
	at io.scif.img.ImgOpener.openImgs(ImgOpener.java:143)
	at io.scif.services.DefaultDatasetIOService.open(DefaultDatasetIOService.java:125)
	... 11 more
Caused by: java.io.IOException: io.scif.FormatException: Error communicating with OMERO -- server version mismatch?
	at io.scif.AbstractReader.setSource(AbstractReader.java:273)
	at io.scif.services.DefaultInitializeService.initializeReader(DefaultInitializeService.java:89)
	at io.scif.img.ImgOpener.createReader(ImgOpener.java:417)
	... 13 more
Caused by: io.scif.FormatException: Error communicating with OMERO -- server version mismatch?
	at net.imagej.omero.OMEROFormat.versionException(OMEROFormat.java:883)
	at net.imagej.omero.OMEROFormat.access$400(OMEROFormat.java:97)
	at net.imagej.omero.OMEROFormat$Parser.typedParse(OMEROFormat.java:452)
	at net.imagej.omero.OMEROFormat$Parser.typedParse(OMEROFormat.java:424)
	at io.scif.AbstractParser.parse(AbstractParser.java:252)
	at io.scif.AbstractParser.parse(AbstractParser.java:335)
	at io.scif.AbstractParser.parse(AbstractParser.java:51)
	at io.scif.AbstractReader.setSource(AbstractReader.java:269)
	... 15 more
Caused by: Ice.ConnectionLostException
    error = 0
	at IceInternal.AsyncResultI.__wait(AsyncResultI.java:276)
	at omero.api.ServiceFactoryPrxHelper.end_getContainerService(ServiceFactoryPrxHelper.java:2835)
	at omero.api.ServiceFactoryPrxHelper.getContainerService(ServiceFactoryPrxHelper.java:2726)
	at omero.api.ServiceFactoryPrxHelper.getContainerService(ServiceFactoryPrxHelper.java:2713)
	at net.imagej.omero.DefaultOMEROSession.loadImage(DefaultOMEROSession.java:198)
	at net.imagej.omero.DefaultOMEROSession.loadPixelsID(DefaultOMEROSession.java:216)
	at net.imagej.omero.DefaultOMEROSession.loadPixels(DefaultOMEROSession.java:177)
	at net.imagej.omero.OMEROFormat$Parser.typedParse(OMEROFormat.java:445)
	... 20 more

To reproduce, download an image from OMERO, close it, wait >10 minutes, then try downloading it again.

@ctrueden ctrueden added this to the 1.0.0 milestone May 31, 2018
@ctrueden ctrueden added the bug label May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant