Task #2192 (closed)
Opened 9 years ago
Closed 9 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 9 years ago by cxallan
- Owner set to cxallan
- Status changed from new to assigned
comment:2 Changed 9 years ago by cxallan
- Cc jrswedlow jburel wmoore added
comment:3 Changed 9 years ago by cxallan
comment:4 Changed 9 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.
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) ...