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
Crash on ICE ObjectNotExistException #3731
Conversation
@dominikl : certainly in terms of the |
@joshmoore Tried to do some cleanup if the exception is thrown, but if this really prevents further calls, I'm not sure. If there just would be a way to test it. |
Can the exception be thrown when loading metadata if for example we select in insight image that I have been removed in Web in the meantime? |
No, the Ice.ONEE can only by thrown if the service itself (the
|
Ok... I'll see if I can implement a test with @joshmoore 's scenario. |
@joshmoore: thanks for the clarification. |
While trying to artificially reproduce the problem, I noticed that the cause probably is the start of this thread: https://github.com/openmicroscopy/openmicroscopy/blob/692f0eb24b5ac97a0115810b4a55df674f185bc7/components/blitz/src/omero/cmd/CmdCallbackI.java#L123 . If the operation finished very quickly and this thread is kicked off, the call to |
What was happening is that non- Happy to also have a |
No idea. It seems to happen very rarely. I could only reproduce it locally by artificially delaying the call to |
Removed the unnecessary refactoring code and just added one commit, which catches the exceptions which might be thrown on the internal call of the |
@dominikl : thoughts on joshmoore@4c5fb93 ? This would allow someone to restore the "throwing" behavior or deal with any NPEs that they might be receiving due to dominikl@c74c8af |
@joshmoore Yes, looks good. Shall I cherry-pick your commit, or what's the best way to get it in? |
Please. |
Cherry-picked... Thanks @joshmoore for your help; I'm still pretty much lost when it comes to server/ICE stuff. |
Those are just ideas. This already looks good to merge to me. |
except it's the method called from the ctor so you can manipulate it to be a no-op. If named
Don't think we currently do much in terms of managing our priorities. Specific suggestion(s)? |
None really, I just wasn't sure if we were keen to get the call done promptly. All okay. Still good to merge. |
Crash on ICE ObjectNotExistException
Attempt to fix Ticket 12120 by catching the exception as suggested by @joshmoore . See last commit. The previous commits are just some refactoring, so that I was able to log the exception.
Test: No idea; the exception is thrown rarely and randomly, couldn't find a way to deliberately trigger the problem. Code review sufficient?
/cc @jburel