Task #9056 (closed)
Opened 7 years ago
Closed 6 years ago
Schema Blitz gatewaytest
| Reported by: | wmoore | Owned by: | wmoore |
|---|---|---|---|
| Priority: | critical | Milestone: | OMERO-5 |
| Component: | OmeroPy | Version: | 4.4.9 |
| Keywords: | n.a. | Cc: | atarkowska, cxallan, cneves |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
Various fixes to Blitz Gateway tests for new schema.
Change History (4)
comment:1 Changed 7 years ago by wmoore
- OmeName? -> UserName? https://github.com/will-moore/openmicroscopy/commit/21252a586756c3c7ad11e2c51071fa36658c9c53
- Test Images created with empty Pixels (no data) https://github.com/will-moore/openmicroscopy/commit/44b00a4485dcb7c4e16c647aebaa96aac529550b
comment:2 Changed 7 years ago by wmoore
Pausing work on this now: awaiting fixes (This is in Colin's spreadsheet)
======================================================================
ERROR: In a read-write group, all should be able to Annotate and Edit
----------------------------------------------------------------------
Traceback (most recent call last):
File "gatewaytest/chmod.py", line 342, in testReadWrite
self.assertCanAnnotate(p, True)
File "gatewaytest/chmod.py", line 174, in assertCanAnnotate
omero.gateway.CommentAnnotationWrapper.createAndLink(target=blitzObject, ns="gatewaytest.chmod.testCanAnnotate", val="Test Comment")
File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 3587, in createAndLink
target.linkAnnotation(this)
File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 943, in linkAnnotation
ann = clone._linkAnnotation(ann)
File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 896, in _linkAnnotation
return self._linkObject(ann, "%sAnnotationLinkI" % self.OMERO_CLASS)
File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 880, in _linkObject
obj = obj.__class__(self._conn, self._conn.getUpdateService().saveAndReturnObject(obj._obj, sopts))
File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 3273, in __call__
return self.handle_exception(e, *args, **kwargs)
File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 3270, in __call__
return self.f(*args, **kwargs)
File "/Users/will/Desktop/OMERO/dist/lib/python/omero_api_IUpdate_ice.py", line 131, in saveAndReturnObject
return _M_omero.api.IUpdate._op_saveAndReturnObject.invoke(self, ((obj, ), _ctx))
InternalException: exception ::omero::InternalException
{
serverStackTrace = ome.conditions.InternalException: Wrapped Exception: (java.lang.IllegalStateException):
Object unloaded:ome.model.enums.EventType:Hash_391429290
at ome.model.enums.EventType.errorIfUnloaded(EventType.java:309)
at ome.model.enums.EventType.getValue(EventType.java:140)
at ome.services.sessions.SessionContextImpl.getCurrentEventType(SessionContextImpl.java:96)
at ome.system.SimpleEventContext.copy(SimpleEventContext.java:90)
at ome.security.basic.BasicEventContext.copyContext(BasicEventContext.java:108)
at ome.security.basic.BasicEventContext.checkAndInitialize(BasicEventContext.java:112)
at ome.security.basic.CurrentDetails.checkAndInitialize(CurrentDetails.java:240)
at ome.security.basic.BasicSecuritySystem.loadEventContext(BasicSecuritySystem.java:336)
at ome.security.basic.EventHandler.doLogin(EventHandler.java:209)
at ome.security.basic.EventHandler.invoke(EventHandler.java:146)
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:241)
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 $Proxy91.saveAndReturnObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor793.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.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy91.saveAndReturnObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor978.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
at ome.services.throttling.Callback.run(Callback.java:56)
at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:137)
at ome.services.blitz.impl.UpdateI.saveAndReturnObject_async(UpdateI.java:64)
at sun.reflect.GeneratedMethodAccessor977.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 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 $Proxy92.saveAndReturnObject_async(Unknown Source)
at omero.api._IUpdateTie.saveAndReturnObject_async(_IUpdateTie.java:101)
at omero.api._IUpdateDisp.___saveAndReturnObject(_IUpdateDisp.java:197)
at omero.api._IUpdateDisp.__dispatch(_IUpdateDisp.java:377)
at IceInternal.Incoming.invoke(Incoming.java:159)
at Ice.ConnectionI.invokeAll(ConnectionI.java:2357)
at Ice.ConnectionI.dispatch(ConnectionI.java:1208)
at Ice.ConnectionI.message(ConnectionI.java:1163)
at IceInternal.ThreadPool.run(ThreadPool.java:302)
at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643)
at java.lang.Thread.run(Thread.java:680)
serverExceptionClass = ome.conditions.InternalException
message = Wrapped Exception: (java.lang.IllegalStateException):
Object unloaded:ome.model.enums.EventType:Hash_391429290
}
comment:3 Changed 7 years ago by jmoore
- Milestone changed from OMERO-Beta4.4 to OMERO-Beta4.5
- Sprint 2012-06-19 (17) deleted
schema work pushed to 4.5
comment:4 Changed 6 years ago by wmoore
- Resolution set to invalid
- Status changed from new to closed
- Version set to 4.4.9
No plans to do new schema work - can re-open if we do.
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.