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

Opened 14 years ago

Closed 14 years ago

BUG: Corrupt import leaves thumbnails blank

Reported by: cxallan Owned by: cxallan
Priority: minor Milestone: OMERO-Beta4.2
Component: General Version: n.a.
Keywords: n.a. Cc: jrswedlow, jburel, wmoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-04-02 (6)

Description

If any image within a request for thumbnails by longest side in a set is corrupt or cannot have its rendering settings reset *all* thumbnails in that request will fail to be loaded.

Change History (4)

comment:1 Changed 14 years ago by cxallan

  • Owner set to cxallan
  • Status changed from new to assigned

comment:2 Changed 14 years ago by cxallan

  • Cc jrswedlow jburel wmoore added

Stack trace from the server side:

org.springframework.orm.hibernate3.HibernateQueryException: unexpected end of subtree [select r from ome.model.display.RenderingDef as r join fetch r.pixels as p join fetch
 r.details.updateEvent join fetch p.details.updateEvent where r.details.owner.id = :id and r.pixels.image.id in ()]; nested exception is org.hibernate.hql.ast.QuerySyntaxEx
ception: unexpected end of subtree [select r from ome.model.display.RenderingDef as r join fetch r.pixels as p join fetch r.details.updateEvent join fetch p.details.updateE
vent where r.details.owner.id = :id and r.pixels.image.id in ()]
        at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:660)
        at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
        at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)        at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:339)
        at ome.logic.QueryImpl.execute(QueryImpl.java:141)
        at ome.logic.QueryImpl.findAllByQuery(QueryImpl.java:369)
        at ome.services.ThumbnailCtx.bulkLoadRenderingSettingsByImageId(ThumbnailCtx.java:708)
        at ome.services.ThumbnailCtx.loadAndPrepareRenderingSettings(ThumbnailCtx.java:182)
        at ome.services.ThumbnailCtx.createAndPrepareMissingRenderingSettings(ThumbnailCtx.java:335)
        at ome.services.ThumbnailBean.getThumbnailByLongestSideSet(ThumbnailBean.java:742)
        at sun.reflect.GeneratedMethodAccessor1304.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
...

comment:3 Changed 14 years ago by cxallan

(In [6634]) Logging and an initial resolution for corrupt images or images that cannot have their settings reset for some reason. (See #2192)

comment:4 Changed 14 years ago by cxallan

  • Remaining Time changed from 0.25 to 0
  • Status changed from assigned to closed
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.70563 sec.)

We're Hiring!