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 #9764 (new)

Opened 9 years ago

Last modified 7 years ago

RFE: Error handling

Reported by: omero-qa Owned by: jburel
Priority: minor Milestone: Unscheduled
Component: from QA Version: 4.4.10
Keywords: n.a. Cc:…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.


Modify error handling when it is GC error.

Comment: I tried to delete 15202 images at once

java.lang.Exception: Cannot access data. 
Cannot retrieve the images imported during the specified period.
	at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$
Caused by: omero.InternalException
    serverStackTrace = "ome.conditions.InternalException:  Wrapped Exception: (java.lang.OutOfMemoryError):
                        GC overhead limit exceeded
    serverExceptionClass = "ome.conditions.InternalException"
    message = " Wrapped Exception: (java.lang.OutOfMemoryError):
               GC overhead limit exceeded"
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
	at java.lang.reflect.Constructor.newInstance(
	at java.lang.Class.newInstance0(
	at java.lang.Class.newInstance(
	at IceInternal.BasicStream$DynamicUserExceptionFactory.createAndThrow(
	at IceInternal.BasicStream.throwException(
	at IceInternal.Outgoing.throwUserException(
	at omero.api._IContainerDelM.getImagesByOptions(
	at omero.api.IContainerPrxHelper.getImagesByOptions(
	at omero.api.IContainerPrxHelper.getImagesByOptions(
	... 9 more

	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.showErrorDialog(
	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(
	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(
	at org.openmicroscopy.shoola.agents.treeviewer.DataBrowserLoader.handleException(
	at java.awt.event.InvocationEvent.dispatch(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$000(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Change History (4)

comment:1 Changed 9 years ago by jmoore

J-M, what are the images returned by getImages being used for? (Annotation checking perhaps?)

comment:2 Changed 9 years ago by jburel

This is the method used to retrieve images when you are in the "Images" section of the data manager.

comment:3 Changed 9 years ago by jmoore

Just that that's the method that's throwing the exception but Sebastien was intending to delete. Seems odd.

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.78570 sec.)

We're Hiring!