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 7 years ago

Last modified 6 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: sebastian.weber@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

Modify error handling when it is GC error.

http://qa.openmicroscopy.org.uk/qa/feedback/4691/

Comment: I tried to delete 15202 images at once

java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. 
Cannot retrieve the images imported during the specified period.
	at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:860)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.getImages(OMEROGateway.java:4509)
	at org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.getImagesPeriod(OmeroDataServiceImpl.java:592)
	at org.openmicroscopy.shoola.env.data.views.calls.ImagesLoader$4.doCall(ImagesLoader.java:153)
	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:722)
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(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
	at java.lang.Class.newInstance0(Class.java:372)
	at java.lang.Class.newInstance(Class.java:325)
	at IceInternal.BasicStream$DynamicUserExceptionFactory.createAndThrow(BasicStream.java:2142)
	at IceInternal.BasicStream.throwException(BasicStream.java:1564)
	at IceInternal.Outgoing.throwUserException(Outgoing.java:443)
	at omero.api._IContainerDelM.getImagesByOptions(_IContainerDelM.java:433)
	at omero.api.IContainerPrxHelper.getImagesByOptions(IContainerPrxHelper.java:1259)
	at omero.api.IContainerPrxHelper.getImagesByOptions(IContainerPrxHelper.java:1232)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.getImages(OMEROGateway.java:4505)
	... 9 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.treeviewer.DataBrowserLoader.handleException(DataBrowserLoader.java:148)
	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:251)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
	at java.awt.EventQueue.access$000(EventQueue.java:101)
	at java.awt.EventQueue$3.run(EventQueue.java:666)
	at java.awt.EventQueue$3.run(EventQueue.java:664)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Change History (4)

comment:1 Changed 7 years ago by jmoore

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

comment:2 Changed 7 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 7 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.93347 sec.)

We're Hiring!