Task #9467 (closed)
Opened 12 years ago
Closed 12 years ago
BUG:Lost connection
Reported by: | omero-qa | Owned by: | wmoore |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-4.4.7 |
Component: | from QA | Version: | n.a. |
Keywords: | n.a. | Cc: | s.i.g.carvalhal@…, wmoore, jamoore |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
http://qa.openmicroscopy.org.uk/qa/feedback/4578/
Review error handling when the connection is lost in both insight and web.
See #6640 and http://zeroc.com/doc/Ice-3.3.1/manual/Slice.5.10.html#50592
java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. Cannot find annotations for class pojos.ImageData. at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:900) at org.openmicroscopy.shoola.env.data.OMEROGateway.loadAnnotations(OMEROGateway.java:2741) at org.openmicroscopy.shoola.env.data.OmeroMetadataServiceImpl.loadStructuredAnnotations(OmeroMetadataServiceImpl.java:1014) at org.openmicroscopy.shoola.env.data.OmeroMetadataServiceImpl.loadStructuredData(OmeroMetadataServiceImpl.java:707) at org.openmicroscopy.shoola.env.data.views.calls.StructuredAnnotationLoader$5.doCall(StructuredAnnotationLoader.java:188) at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144) at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226) at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126) at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165) at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:276) at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91) at java.lang.Thread.run(Thread.java:680) Caused by: Ice.DNSException error = 0 host = "nightshade.openmicroscopy.org.uk" at IceInternal.Network.getAddresses(Network.java:867) at IceInternal.EndpointHostResolver.run(EndpointHostResolver.java:94) at IceInternal.EndpointHostResolver$HelperThread.run(EndpointHostResolver.java:146) Caused by: java.net.UnknownHostException: nightshade.openmicroscopy.org.uk at java.net.InetAddress.getAllByName0(InetAddress.java:1157) at java.net.InetAddress.getAllByName(InetAddress.java:1083) at java.net.InetAddress.getAllByName(InetAddress.java:1019) at IceInternal.Network.getAddresses(Network.java:854) ... 2 more at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.showErrorDialog(UserNotifierImpl.java:189) at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:287) at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:257) at org.openmicroscopy.shoola.agents.metadata.MetadataLoader.handleException(MetadataLoader.java:164) at org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:84) at org.openmicroscopy.shoola.env.data.views.BatchCallMonitor$1.run(BatchCallMonitor.java:124) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:682) at java.awt.EventQueue.access$000(EventQueue.java:85) at java.awt.EventQueue$1.run(EventQueue.java:643) at java.awt.EventQueue$1.run(EventQueue.java:641) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:652) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Change History (3)
comment:1 Changed 12 years ago by jburel
- Milestone changed from Unscheduled to OMERO-4.5
- Owner changed from jburel to wmoore
comment:2 Changed 12 years ago by jburel
see #9513
comment:3 Changed 12 years ago by wmoore
- Resolution set to invalid
- Status changed from new to closed
I think connection issues are handled sufficiently in web now, since we redirect to login screen if there is no connection for each http request.
The exception is handled in 4.4. I have reviewed the error handling as part of the work done in https://github.com/openmicroscopy/openmicroscopy/pull/399