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"

Bug #1204 (new)

Opened 15 years ago

Last modified 15 years ago

getGroup cannot find group — at Initial Version

Reported by: atarkowska Owned by: jamoore
Priority: blocker Cc: callan, jburel
Sprint: n.a.
Total Remaining Time: n.a.

Description

Error in sys.excepthook:
Traceback (most recent call last):

method tm_excepthook in test.py at line 65

if e.args:

AttributeError?: ApiUsageException? instance has no attribute 'args'

Original exception was:
Traceback (most recent call last):

method ? in test.py at line 12

print admin_serv.getGroup(cx.groupId)

method getGroup in test.py at line 286

return _M_omero.api.IAdmin._op_getGroup.invoke(self, ((id, ), _ctx))

omero.ApiUsageException?: exception ::omero::ApiUsageException?
{

serverStackTrace = ome.conditions.ApiUsageException?: No such group: 5

at ome.logic.AdminImpl?.getGroup(AdminImpl?.java:363)
at sun.reflect.GeneratedMethodAccessor221.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils?.invokeJoinpointUsingReflection(AopUtils?.java:310)
at org.springframework.aop.framework.ReflectiveMethodInvocation?.invokeJoinpoint(ReflectiveMethodInvocation?.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation?.proceed(ReflectiveMethodInvocation?.java:149)
at ome.security.basic.EventHandler?.invoke(EventHandler?.java:105)
at org.springframework.aop.framework.ReflectiveMethodInvocation?.proceed(ReflectiveMethodInvocation?.java:171)
at org.springframework.orm.hibernate3.HibernateInterceptor?.invoke(HibernateInterceptor?.java:111)
at org.springframework.aop.framework.ReflectiveMethodInvocation?.proceed(ReflectiveMethodInvocation?.java:171)
at org.springframework.transaction.interceptor.TransactionInterceptor?.invoke(TransactionInterceptor?.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation?.proceed(ReflectiveMethodInvocation?.java:171)
at ome.tools.hibernate.ProxyCleanupFilter?$Interceptor.invoke(ProxyCleanupFilter?.java:169)
at org.springframework.aop.framework.ReflectiveMethodInvocation?.proceed(ReflectiveMethodInvocation?.java:171)
at ome.services.util.ServiceHandler?.invoke(ServiceHandler?.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation?.proceed(ReflectiveMethodInvocation?.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy?.invoke(JdkDynamicAopProxy?.java:204)
at $Proxy57.getGroup(Unknown Source)
at sun.reflect.GeneratedMethodAccessor221.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.aop.support.AopUtils?.invokeJoinpointUsingReflection(AopUtils?.java:310)
at org.springframework.aop.framework.ReflectiveMethodInvocation?.invokeJoinpoint(ReflectiveMethodInvocation?.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation?.proceed(ReflectiveMethodInvocation?.java:149)
at ome.security.basic.BasicSecurityWiring?.invoke(BasicSecurityWiring?.java:78)
at org.springframework.aop.framework.ReflectiveMethodInvocation?.proceed(ReflectiveMethodInvocation?.java:171)
at ome.services.blitz.fire.AopContextInitializer?.invoke(AopContextInitializer?.java:35)
at org.springframework.aop.framework.ReflectiveMethodInvocation?.proceed(ReflectiveMethodInvocation?.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy?.invoke(JdkDynamicAopProxy?.java:204)
at $Proxy57.getGroup(Unknown Source)
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:585)
at ome.services.blitz.util.IceMethodInvoker?.callOrClose(IceMethodInvoker?.java:257)
at ome.services.blitz.util.IceMethodInvoker?.invoke(IceMethodInvoker?.java:179)
at ome.services.throttling.Callback.run(Callback.java:55)
at ome.services.throttling.InThreadThrottlingStrategy?.callInvokerOnRawArgs(InThreadThrottlingStrategy?.java:37)
at ome.services.blitz.impl.AbstractAmdServant?.callInvokerOnRawArgs(AbstractAmdServant?.java:114)
at ome.services.blitz.impl.AdminI.getGroup_async(AdminI.java:216)
at omero.api._IAdminTie.getGroup_async(_IAdminTie.java:204)
at omero.api._IAdminDisp._getGroup(_IAdminDisp.java:431)
at omero.api._IAdminDisp.
dispatch(_IAdminDisp.java:1309)
at IceInternal?.Incoming.invoke(Incoming.java:166)
at Ice.ConnectionI.invokeAll(ConnectionI.java:2045)
at Ice.ConnectionI.message(ConnectionI.java:977)
at IceInternal?.ThreadPool?.run(ThreadPool?.java:575)
at IceInternal?.ThreadPool?.access$100(ThreadPool?.java:12)
at IceInternal?.ThreadPool?$EventHandlerThread?.run(ThreadPool?.java:951)

serverExceptionClass = ome.conditions.ApiUsageException?
message = No such group: 5

}

Change History (0)

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

We're Hiring!