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 #9731 (closed)

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

Bug: Handle re exception img_json

Reported by: omero-qa Owned by: wmoore
Priority: major Milestone: OMERO-4.4.7
Component: from QA Version: n.a.
Keywords: n.a. Cc: dennis@…, mlinkert, jamoore, jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2012-11-20 (2)

Description

Feedback 4679

http://localhost:8000/qa2/qa/feedback/4679/

Comment: This occurs when there is no thumbnail available and I click on launch full viewer. Is there anyway to have the server handle this error in a more graceful way? Is there anyway to have a 32 bit tiled grey scale image produce a thumbnail? Overall image size doesn't matter as I get the same issue with small 1 Mb images in larger 50 Mb images.

("error in call","Traceback (most recent call last):
  File "/usr/omero/lib/python/omeroweb/webgateway/views.py", line 1013, in wrap
    rv = f(request, *args, **kwargs)
  File "/usr/omero/lib/python/omeroweb/webgateway/views.py", line 1121, in imageData_json
    rv = imageMarshal(image, key)
  File "/usr/omero/lib/python/omeroweb/webgateway/marshal.py", line 96, in imageMarshal
    reOK = image._prepareRenderingEngine()
  File "/usr/omero/lib/python/omero/gateway/__init__.py", line 5702, in _prepareRenderingEngine
    self._re = self._prepareRE(rdid=rdid)
  File "/usr/omero/lib/python/omero/gateway/__init__.py", line 5683, in _prepareRE
    re.load(ctx)
  File "/usr/omero/lib/python/omero/gateway/__init__.py", line 3327, in __call__
    return self.handle_exception(e, *args, **kwargs)
  File "/usr/omero/lib/python/omeroweb/webclient/webclient_gateway.py", line 1875, in handle_exception
    super(OmeroWebSafeCallWrapper, self).handle_exception(
  File "/usr/omero/lib/python/omero/gateway/__init__.py", line 3324, in __call__
    return self.f(*args, **kwargs)
  File "/usr/omero/lib/python/omero_api_RenderingEngine_ice.py", line 410, in load
    return _M_omero.api.RenderingEngine._op_load.invoke(self, ((), _ctx))
InternalException: exception ::omero::InternalException
{
    serverStackTrace = ome.conditions.InternalException:  Wrapped Exception: (java.lang.ArrayIndexOutOfBoundsException):
null

    serverExceptionClass = ome.conditions.InternalException
    message =  Wrapped Exception: (java.lang.ArrayIndexOutOfBoundsException):
null
}
")

Change History (4)

comment:1 Changed 12 years ago by mlinkert

  • Cc mlinkert-x jmoore jburel added

This depends upon #1303, I think.

comment:2 Changed 11 years ago by wmoore

  • Milestone changed from Unscheduled to OMERO-4.5
  • Priority changed from minor to major
  • Sprint set to 2012-11-20 (2)

comment:3 Changed 11 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 11 years ago by Will Moore <will@…>

(In [b393ec3de4af04172ce1adc636542c197603e328/ome.git] on branch develop) Better error handling for json imageData. See #9731

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

We're Hiring!