[ome-users] omero admin sessionlist
MEYENHOFER Felix
felix.meyenhofer at unifr.ch
Thu Mar 1 14:44:00 GMT 2018
Hi Simon
yes "omero sessions who" works.
I will use that from now on.
Best,
Felix
> On 27 Feb 2018, at 18:52, Simon Li <spli at dundee.ac.uk> wrote:
>
> Hi Felix
>
> That looks like a bug. Does "omero sessions who" work for you?
>
> Simon
>
> On 27 February 2018 at 16:03, MEYENHOFER Felix <felix.meyenhofer at unifr.ch> wrote:
> Hi
>
> Short error report:
> Since the update to 5.4.3 I get the following error when trying to list the active sessions with 'omero admin sessionlist'
>
>
> Using session ca3b4b1b-92ba-4427-a458-5e0f6178887e (felix.meyenhofer at unifr.ch@localhost:4064). Idle timeout: 10 min. Current group: Histologie
> Traceback (most recent call last):
> File "/home/omero/apps/OMERO/OMERO.server/bin/omero", line 125, in <module>
> rv = omero.cli.argv()
> File "/home/omero/apps/OMERO/OMERO.server/lib/python/omero/cli.py", line 1615, in argv
> cli.invoke(args[1:])
> File "/home/omero/apps/OMERO/OMERO.server/lib/python/omero/cli.py", line 1090, in invoke
> stop = self.onecmd(line, previous_args)
> File "/home/omero/apps/OMERO/OMERO.server/lib/python/omero/cli.py", line 1167, in onecmd
> self.execute(line, previous_args)
> File "/home/omero/apps/OMERO/OMERO.server/lib/python/omero/cli.py", line 1249, in execute
> args.func(args)
> File "/home/omero/apps/OMERO/OMERO.server/lib/python/omero/plugins/admin.py", line 1739, in sessionlist
> results = service.findAllByQuery(query, params)
> File "/home/omero/apps/OMERO/OMERO.server/lib/python/omero_api_IQuery_ice.py", line 710, in findAllByQuery
> return _M_omero.api.IQuery._op_findAllByQuery.invoke(self, ((query, params), _ctx))
> omero.InternalException: exception ::omero::InternalException
> {
> serverStackTrace = ome.conditions.InternalException: Wrapped Exception: (java.lang.NullPointerException):
> null
> at ome.security.basic.BasicACLVoter.allowLoad(BasicACLVoter.java:223)
> at ome.security.CompositeACLVoter.allowLoad(CompositeACLVoter.java:72)
> at ome.security.ACLEventListener.onPostLoad(ACLEventListener.java:101)
> at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:250)
> at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:898)
> at org.hibernate.loader.Loader.doQuery(Loader.java:773)
> at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
> at org.hibernate.loader.Loader.doList(Loader.java:2449)
> at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2192)
> at org.hibernate.loader.Loader.list(Loader.java:2187)
> at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452)
> at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
> at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
> at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1260)
> at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
> at ome.services.query.Query.doInHibernate(Query.java:248)
> 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:142)
> at ome.logic.QueryImpl.findAllByQuery(QueryImpl.java:371)
> at sun.reflect.GeneratedMethodAccessor700.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> 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.EventHandler.invoke(EventHandler.java:153)
> 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:249)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
> at com.sun.proxy.$Proxy93.findAllByQuery(Unknown Source)
> at sun.reflect.GeneratedMethodAccessor700.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> 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:93)
> 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 com.sun.proxy.$Proxy93.findAllByQuery(Unknown Source)
> at sun.reflect.GeneratedMethodAccessor1053.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:172)
> 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:140)
> at ome.services.blitz.impl.QueryI.findAllByQuery_async(QueryI.java:64)
> at sun.reflect.GeneratedMethodAccessor1052.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> 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:78)
> at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
> at com.sun.proxy.$Proxy94.findAllByQuery_async(Unknown Source)
> at omero.api._IQueryTie.findAllByQuery_async(_IQueryTie.java:90)
> at omero.api._IQueryDisp.___findAllByQuery(_IQueryDisp.java:588)
> at omero.api._IQueryDisp.__dispatch(_IQueryDisp.java:727)
> at IceInternal.Incoming.invoke(Incoming.java:221)
> at Ice.ConnectionI.invokeAll(ConnectionI.java:2536)
> at Ice.ConnectionI.dispatch(ConnectionI.java:1145)
> at Ice.ConnectionI.message(ConnectionI.java:1056)
> at IceInternal.ThreadPool.run(ThreadPool.java:395)
> at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
> at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:832)
> at java.lang.Thread.run(Thread.java:748)
>
> serverExceptionClass = ome.conditions.InternalException
> message = Wrapped Exception: (java.lang.NullPointerException):
> null
> }
>
> Best regards,
>
> Felix
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>
>
> The University of Dundee is a registered Scottish Charity, No: SC015096
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
More information about the ome-users
mailing list