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

The check for a running ImageJ instance can block indefinitely. #137

Open
odinsbane opened this issue Oct 20, 2021 · 0 comments
Open

The check for a running ImageJ instance can block indefinitely. #137

odinsbane opened this issue Oct 20, 2021 · 0 comments

Comments

@odinsbane
Copy link

odinsbane commented Oct 20, 2021

I had a corrupt "/tmp/ImageJ-username-_0-012345.stub" which cause imagej to block indefinitely. The issue happens at line 127 of OtherInstance.java

ImageJInstance instance = (ImageJInstance) new ObjectInputStream(in).readObject();

That method wasn't returning. It's pretty rare, but somewhat obscure when it happens. I had to delete the tmp file and then I could run imagej from the cmd line again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant