Task #9009 (closed)
Opened 7 years ago
Closed 7 years ago
Bug: QueryException relating to mimetype
| Reported by: | cblackburn | Owned by: | cxallan |
|---|---|---|---|
| Priority: | major | Milestone: | OMERO-4.4 |
| Component: | Bin-Services | Version: | n.a. |
| Keywords: | n.a. | Cc: | jamoore, cxallan, jburel, sylittlewood |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | 2012-06-05 (16) |
Description
In tests accessing the repository service the exception below is thrown.
Change History (3)
comment:1 Changed 7 years ago by cblackburn
comment:2 Changed 7 years ago by cxallan
- Owner set to cxallan
- Remaining Time set to 0.1
comment:3 Changed 7 years ago by cxallan
- Remaining Time changed from 0.1 to 0
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Traceback (most recent call last): File "test/integration/bfpixelsstoreinternal.py", line 75, in testJPG self.setUpTestFile("test.jpg") File "test/integration/bfpixelsstoreinternal.py", line 34, in setUpTestFile repoMap = sess.sharedResources().repositories() File "/Users/cblackburn/Work/repos/ome/dist/lib/python/omero_SharedResources_ice.py", line 95, in repositories return _M_omero.grid.SharedResources._op_repositories.invoke(self, ((), _ctx)) UnknownException: exception ::Ice::UnknownException { unknown = ome.services.query.QueryException: Illegal query:select o from OriginalFile o where o.mimetype = 'Repository' could not resolve property: mimetype of: ome.model.meta.OriginalFile [select o from ome.model.meta.OriginalFile o where o.mimetype = 'Repository'] at ome.services.query.StringQuery.buildQuery(StringQuery.java:84) at ome.services.query.Query.doInHibernate(Query.java:221) at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:406) at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:339) at ome.logic.QueryImpl.execute(QueryImpl.java:144) at ome.logic.QueryImpl.findAllByQuery(QueryImpl.java:394) at ome.services.blitz.impl.SharedResourcesI$1.doWork(SharedResourcesI.java:223) at sun.reflect.GeneratedMethodAccessor283.invoke(Unknown Source) 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 ome.services.util.Executor$Impl$Interceptor.invoke(Executor.java:498) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.security.basic.EventHandler.invoke(EventHandler.java:165) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111) 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.SharedResourcesI.repositories(SharedResourcesI.java:217) 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 $Proxy78.repositories(Unknown Source) at omero.grid._SharedResourcesTie.repositories(_SharedResourcesTie.java:113) at omero.grid._SharedResourcesDisp.___repositories(_SharedResourcesDisp.java:205) at omero.grid._SharedResourcesDisp.__dispatch(_SharedResourcesDisp.java:377) 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) }