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

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: export as tiff fails

Reported by: cblackburn Owned by: cxallan
Priority: critical Milestone: OMERO-4.4
Component: Export Version: n.a.
Keywords: n.a. Cc: jamoore, jburel, sylittlewood
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-05-22 (15)

Description

generateTiff() called from the test in exporter.py fails. See exception below

Change History (5)

comment:1 Changed 12 years ago by cblackburn

======================================================================
ERROR: testBasic (__main__.TestExporter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/integration/exporter.py", line 48, in testBasic
    length = exporter.generateTiff()
  File "/Users/cblackburn/Work/repos/ome/dist/lib/python/omero_api_Exporter_ice.py", line 93, in generateTiff
    return _M_omero.api.Exporter._op_generateTiff.invoke(self, ((), _ctx))
ApiUsageException: exception ::omero::ApiUsageException
{
    serverStackTrace = ome.conditions.ApiUsageException: could not resolve property: objective of: ome.model.core.Instrument [select i from ome.model.core.Image as i left outer join fetch i.instrument as n left outer join fetch n.objective as o left outer join fetch o.correction as o_cor left outer join fetch o.immersion as o_imm left outer join fetch n.details.owner as n_o left outer join fetch n.details.group as n_g where i.id = 1091 ]; nested exception is org.hibernate.QueryException: could not resolve property: objective of: ome.model.core.Instrument [select i from ome.model.core.Image as i left outer join fetch i.instrument as n left outer join fetch n.objective as o left outer join fetch o.correction as o_cor left outer join fetch o.immersion as o_imm left outer join fetch n.details.owner as n_o left outer join fetch n.details.group as n_g where i.id = 1091 ]
	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.HibernateInterceptor.invoke(HibernateInterceptor.java:117)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:231)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy69.doWork(Unknown Source)
	at ome.services.util.Executor$Impl.execute(Executor.java:402)
	at ome.services.util.Executor$Impl.execute(Executor.java:346)
	at ome.services.blitz.impl.ExporterI.do_tiff(ExporterI.java:342)
	at ome.services.blitz.impl.ExporterI.generateTiff_async(ExporterI.java:212)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
	at omero.cmd.CallContext.invoke(CallContext.java:59)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
	at $Proxy118.generateTiff_async(Unknown Source)
	at omero.api._ExporterTie.generateTiff_async(_ExporterTie.java:71)
	at omero.api._ExporterDisp.___generateTiff(_ExporterDisp.java:175)
	at omero.api._ExporterDisp.__dispatch(_ExporterDisp.java:248)
	at IceInternal.Incoming.invoke(Incoming.java:159)
	at Ice.ConnectionI.invokeAll(ConnectionI.java:2037)
	at Ice.ConnectionI.message(ConnectionI.java:972)
	at IceInternal.ThreadPool.run(ThreadPool.java:577)
	at IceInternal.ThreadPool.access$100(ThreadPool.java:12)
	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971)

    serverExceptionClass = ome.conditions.ApiUsageException
    message = could not resolve property: objective of: ome.model.core.Instrument [select i from ome.model.core.Image as i left outer join fetch i.instrument as n left outer join fetch n.objective as o left outer join fetch o.correction as o_cor left outer join fetch o.immersion as o_imm left outer join fetch n.details.owner as n_o left outer join fetch n.details.group as n_g where i.id = 1091 ]; nested exception is org.hibernate.QueryException: could not resolve property: objective of: ome.model.core.Instrument [select i from ome.model.core.Image as i left outer join fetch i.instrument as n left outer join fetch n.objective as o left outer join fetch o.correction as o_cor left outer join fetch o.immersion as o_imm left outer join fetch n.details.owner as n_o left outer join fetch n.details.group as n_g where i.id = 1091 ]

comment:2 Changed 12 years ago by cxallan

  • Remaining Time set to 0.1

comment:3 Changed 12 years ago by cxallan

  • Status changed from new to accepted

comment:4 Changed 12 years ago by cxallan

  • Remaining Time changed from 0.1 to 0
  • Status changed from accepted 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.70135 sec.)

We're Hiring!