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

Opened 10 years ago

Closed 9 years ago

Bug: hibernate fails on time+acquisitions

Reported by: jamoore Owned by:
Priority: blocker Milestone: 5.1.0-m3
Component: ORM Version: 5.1.0-m1
Keywords: Hibernate Cc: java@…, jballanco-x
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

See:

The combination of a number of plates with planes with timeIncrement or deltaT set caused Hibernate to fail with odd excepts. Before I patched Hibernate for HHH-5280 a PropertyAccessException was being thrown since Hibernate was Trying to use Well.getWellSamples() on an Image instance. After the patch, a PropertyValueException is being thrown since WellSample.image is null. The well sample passed in by OMERO is not null, but likely the complexity of the graph is causing some lookup to fail.

For the moment, 4 tests which match the above description have been disabled. But to prevent odd exceptions for users in the future, the deeper issue here must be resolved before release. (A Hibernate upgrade may suffice)

Change History (3)

comment:1 Changed 10 years ago by jamoore

I assume this will be the one dangling item in m2.

comment:2 Changed 10 years ago by jmoore <josh@…>

(In [a9f2e17ad03817262d73c122ff14994b560a7a19/ome.git] on branch develop) Temporarily disable broken tests (See #12601)

4 tests were failing due to the addition of the Time
elements on planeInfo. This is a deeper Hibernate issue
which will require further investigation.

comment:3 Changed 9 years ago by jamoore

  • Milestone changed from 5.1.0-m2 to 5.1.0-m3
  • Resolution set to fixed
  • Status changed from new to closed

Updating Hibernate to 3.6.10 did not solve this issue, though the work for the upgrade has been opened as a separate PR -- https://github.com/openmicroscopy/openmicroscopy/pull/3181

Ultimately, the solution chosen was to move to proper Java (ome.model.enums.*), Ice (omero/model/Units.ice), and SQL (psql-header.vm) enums across the board in the units PR: https://github.com/openmicroscopy/openmicroscopy/pull/3146

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

We're Hiring!