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"

User Story #413 (closed)

Opened 17 years ago

Closed 14 years ago

ThumbImpl (and all services) should either copy inputs or check for unloadeds.

Reported by: jamoore Owned by: cxallan
Priority: minor Milestone: OMERO-Beta4.2
Component: Services Keywords: n.a.
Cc: Story Points: n.a.
Sprint: n.a. Importance: n.a.
Total Remaining Time: n.a. Estimated Remaining Time: n.a.


Since the client may not be aware that a certain object is unloaded, either a defensive copy (iquery.get(obj.getClass(),obj.getId())) should be made or an appropriate exception thrown.

ome.conditions.InternalException:  Wrapped Exception: (java.lang.IllegalStateException):
Object unloaded:Pixels:Id_1
	at ome.model.core.Pixels.errorIfUnloaded(Pixels.java:1830)
	at ome.model.core.Pixels.preGetter(Pixels.java:85)
	at ome.model.core.Pixels.getSizeX(Pixels.java:983)
	at ome.logic.ThumbImpl.sanityCheckThumbnailSizes(ThumbImpl.java:299)
	at ome.logic.ThumbImpl.getThumbnailDirect(ThumbImpl.java:419)

Change History (3)

comment:1 Changed 15 years ago by cxallan

  • Milestone changed from Unscheduled to OMERO-Beta4.1
  • Status changed from new to assigned
  • Version 3.0-M3 deleted

comment:2 Changed 14 years ago by cxallan

  • Milestone changed from OMERO-Beta4.1 to OMERO-Beta4.2

comment:3 Changed 14 years ago by cxallan

  • Resolution set to duplicate
  • Status changed from assigned to closed

Closing in favour of the exception review (#1649).

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

We're Hiring!