Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #5800 (closed)

Opened 13 years ago

Closed 13 years ago

Bug: insight tree hangs on "Loading" after server restart

Reported by: jamoore Owned by: jburel
Priority: minor Milestone: OMERO-Beta4.3
Component: Insight Version: n.a.
Keywords: n.a. Cc: cblackburn
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-06-16 (14)

Description (last modified by jmoore)

Gretzky was restarted while insight was open. (Oddly, I received 2 requests for 'Would you like to reconnect?') I clicked yes (on both) and received the message that I was logged back in. I then clicked on a tree browser dataset and it stuck on "loading". Jstack output shows nothing working. (See screenshot)

No clicks work on the Projects tab. File->Quit application worked as expected.

Note: this occurred while trying to reproduce #4796.

Attachments (1)

insight-loading-hang.png (43.3 KB) - added by jmoore 13 years ago.

Download all attachments as: .zip

Change History (12)

Changed 13 years ago by jmoore

comment:1 Changed 13 years ago by jmoore

  • Description modified (diff)

comment:2 Changed 13 years ago by cblackburn

I left Insight open while the win-2k8 server was restarted. I also got two reconnection requests and saying YES to both said I was connected. I then clicked on an image. I got another reconnection request, clicked YES, got a confirmation, clicked OK and then got the following Data Retrieval Failure. Cancelling the error dialog leaves Insight in the same state, ie I can click on an image and get the same sequence of dialogs.

java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. 
Cannot retrieve the pixels set of the pixels set.
	at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:876)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.getPixels(OMEROGateway.java:2990)
	at org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.getChannelsMetadata(OmeroDataServiceImpl.java:462)
	at org.openmicroscopy.shoola.env.data.views.calls.ChannelMetadataLoader$1.doCall(ChannelMetadataLoader.java:82)
	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:274)
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
	at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.NullPointerException
	at org.openmicroscopy.shoola.env.data.OMEROGateway.getPixels(OMEROGateway.java:2988)
	... 9 more

	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.showErrorDialog(UserNotifierImpl.java:183)
	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:272)
	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:242)
	at org.openmicroscopy.shoola.agents.metadata.EditorLoader.handleException(EditorLoader.java:161)
	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:678)
	at java.awt.EventQueue.access$000(EventQueue.java:86)
	at java.awt.EventQueue$1.run(EventQueue.java:639)
	at java.awt.EventQueue$1.run(EventQueue.java:637)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:648)
	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)

comment:3 Changed 13 years ago by jburel

  • Remaining Time set to 0.25
  • Sprint set to 2011-06-16 (14)
  • Status changed from new to accepted

comment:4 Changed 13 years ago by jburel <j.burel@…>

(In [33568ed0f128345a0c7e9721ba1081ec6734eac4/ome.git] on branch develop) Make sure the dialog does not pop-up several times and the exceptions are handled correctly (see #5800)

comment:5 Changed 13 years ago by jburel

Call the method a second time, will require a bit more work.

comment:6 Changed 13 years ago by jburel

  • Owner jburel deleted
  • Status changed from accepted to new

comment:7 Changed 13 years ago by jburel

  • Cc cblackburn added
  • Owner set to jburel

comment:8 Changed 13 years ago by Carlos Neves <carlos@…>

(In [eaa050ad42c0b7e649da85006b230ef074b56398/ome.git] on branch develop) Failing createMovie omero.gateway call and webgateway view in a more manageable way (see #3800)

Last edited 13 years ago by cneves (previous) (diff)

comment:9 Changed 13 years ago by jburel

  • Status changed from new to accepted

comment:10 Changed 13 years ago by jburel

Implement solution so that

  • data reloaded.
  • dialog pops up only once.
  • discard viewer if cannot be reloaded

Review post release

comment:11 Changed 13 years ago by jburel <j.burel@…>

  • Remaining Time changed from 0.25 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [ad3e3c9ea1039a25015d9670a39fd0296e877eab/ome.git] on branch develop) Fix reconnection so that data are reloaded, re reloaded if required (close #5800)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.75450 sec.)

We're Hiring!