<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr">
<div>
<div>Hi Felix<br>
<br>
</div>
That looks like a bug. Does "omero sessions who" work for you?<br>
<br>
</div>
Simon<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 27 February 2018 at 16:03, MEYENHOFER Felix <span dir="ltr">
<<a href="mailto:felix.meyenhofer@unifr.ch" target="_blank">felix.meyenhofer@unifr.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
Short error report:<br>
Since the update to 5.4.3 I get the following error when trying to list the active sessions with 'omero admin sessionlist'<br>
<br>
<br>
Using session ca3b4b1b-92ba-4427-a458-<wbr>5e0f6178887e (felix.meyenhofer@unifr.ch@<wbr>localhost:4064). Idle timeout: 10 min. Current group: Histologie<br>
Traceback (most recent call last):<br>
  File "/home/omero/apps/OMERO/OMERO.<wbr>server/bin/omero", line 125, in <module><br>
    rv = omero.cli.argv()<br>
  File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero/cli.<wbr>py", line 1615, in argv<br>
    cli.invoke(args[1:])<br>
  File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero/cli.<wbr>py", line 1090, in invoke<br>
    stop = self.onecmd(line, previous_args)<br>
  File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero/cli.<wbr>py", line 1167, in onecmd<br>
    self.execute(line, previous_args)<br>
  File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero/cli.<wbr>py", line 1249, in execute<br>
    args.func(args)<br>
  File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero/<wbr>plugins/admin.py", line 1739, in sessionlist<br>
    results = service.findAllByQuery(query, params)<br>
  File "/home/omero/apps/OMERO/OMERO.<wbr>server/lib/python/omero_api_<wbr>IQuery_ice.py", line 710, in findAllByQuery<br>
    return _M_omero.api.IQuery._op_<wbr>findAllByQuery.invoke(self, ((query, params), _ctx))<br>
omero.InternalException: exception ::omero::InternalException<br>
{<br>
    serverStackTrace = ome.conditions.<wbr>InternalException:  Wrapped Exception: (java.lang.<wbr>NullPointerException):<br>
null<br>
        at ome.security.basic.<wbr>BasicACLVoter.allowLoad(<wbr>BasicACLVoter.java:223)<br>
        at ome.security.<wbr>CompositeACLVoter.allowLoad(<wbr>CompositeACLVoter.java:72)<br>
        at ome.security.ACLEventListener.<wbr>onPostLoad(ACLEventListener.<wbr>java:101)<br>
        at org.hibernate.engine.<wbr>TwoPhaseLoad.initializeEntity(<wbr>TwoPhaseLoad.java:250)<br>
        at org.hibernate.loader.Loader.<wbr>initializeEntitiesAndCollectio<wbr>ns(Loader.java:898)<br>
        at org.hibernate.loader.Loader.<wbr>doQuery(Loader.java:773)<br>
        at org.hibernate.loader.Loader.<wbr>doQueryAndInitializeNonLazyCol<wbr>lections(Loader.java:270)<br>
        at org.hibernate.loader.Loader.<wbr>doList(Loader.java:2449)<br>
        at org.hibernate.loader.Loader.<wbr>listIgnoreQueryCache(Loader.<wbr>java:2192)<br>
        at org.hibernate.loader.Loader.<wbr>list(Loader.java:2187)<br>
        at org.hibernate.loader.hql.<wbr>QueryLoader.list(QueryLoader.<wbr>java:452)<br>
        at org.hibernate.hql.ast.<wbr>QueryTranslatorImpl.list(<wbr>QueryTranslatorImpl.java:363)<br>
        at org.hibernate.engine.query.<wbr>HQLQueryPlan.performList(<wbr>HQLQueryPlan.java:196)<br>
        at org.hibernate.impl.<wbr>SessionImpl.list(SessionImpl.<wbr>java:1260)<br>
        at org.hibernate.impl.QueryImpl.<wbr>list(QueryImpl.java:102)<br>
        at ome.services.query.Query.<wbr>doInHibernate(Query.java:248)<br>
        at org.springframework.orm.<wbr>hibernate3.HibernateTemplate.<wbr>doExecute(HibernateTemplate.<wbr>java:406)<br>
        at org.springframework.orm.<wbr>hibernate3.HibernateTemplate.<wbr>execute(HibernateTemplate.<wbr>java:339)<br>
        at ome.logic.QueryImpl.execute(<wbr>QueryImpl.java:142)<br>
        at ome.logic.QueryImpl.<wbr>findAllByQuery(QueryImpl.java:<wbr>371)<br>
        at sun.reflect.<wbr>GeneratedMethodAccessor700.<wbr>invoke(Unknown Source)<br>
        at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43)<br>
        at java.lang.reflect.Method.<wbr>invoke(Method.java:498)<br>
        at org.springframework.aop.<wbr>support.AopUtils.<wbr>invokeJoinpointUsingReflection<wbr>(AopUtils.java:307)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>invokeJoinpoint(<wbr>ReflectiveMethodInvocation.<wbr>java:183)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:150)<br>
        at ome.security.basic.<wbr>EventHandler.invoke(<wbr>EventHandler.java:153)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)<br>
        at org.springframework.orm.<wbr>hibernate3.<wbr>HibernateInterceptor.invoke(<wbr>HibernateInterceptor.java:111)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)<br>
        at org.springframework.<wbr>transaction.interceptor.<wbr>TransactionInterceptor.invoke(<wbr>TransactionInterceptor.java:<wbr>108)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)<br>
        at ome.tools.hibernate.<wbr>ProxyCleanupFilter$<wbr>Interceptor.invoke(<wbr>ProxyCleanupFilter.java:249)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)<br>
        at ome.services.util.<wbr>ServiceHandler.invoke(<wbr>ServiceHandler.java:121)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)<br>
        at org.springframework.aop.<wbr>framework.JdkDynamicAopProxy.<wbr>invoke(JdkDynamicAopProxy.<wbr>java:202)<br>
        at com.sun.proxy.$Proxy93.<wbr>findAllByQuery(Unknown Source)<br>
        at sun.reflect.<wbr>GeneratedMethodAccessor700.<wbr>invoke(Unknown Source)<br>
        at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43)<br>
        at java.lang.reflect.Method.<wbr>invoke(Method.java:498)<br>
        at org.springframework.aop.<wbr>support.AopUtils.<wbr>invokeJoinpointUsingReflection<wbr>(AopUtils.java:307)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>invokeJoinpoint(<wbr>ReflectiveMethodInvocation.<wbr>java:183)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:150)<br>
        at ome.security.basic.<wbr>BasicSecurityWiring.invoke(<wbr>BasicSecurityWiring.java:93)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)<br>
        at ome.services.blitz.fire.<wbr>AopContextInitializer.invoke(<wbr>AopContextInitializer.java:43)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)<br>
        at org.springframework.aop.<wbr>framework.JdkDynamicAopProxy.<wbr>invoke(JdkDynamicAopProxy.<wbr>java:202)<br>
        at com.sun.proxy.$Proxy93.<wbr>findAllByQuery(Unknown Source)<br>
        at sun.reflect.<wbr>GeneratedMethodAccessor1053.<wbr>invoke(Unknown Source)<br>
        at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43)<br>
        at java.lang.reflect.Method.<wbr>invoke(Method.java:498)<br>
        at ome.services.blitz.util.<wbr>IceMethodInvoker.invoke(<wbr>IceMethodInvoker.java:172)<br>
        at ome.services.throttling.<wbr>Callback.run(Callback.java:56)<br>
        at ome.services.throttling.<wbr>InThreadThrottlingStrategy.<wbr>callInvokerOnRawArgs(<wbr>InThreadThrottlingStrategy.<wbr>java:56)<br>
        at ome.services.blitz.impl.<wbr>AbstractAmdServant.<wbr>callInvokerOnRawArgs(<wbr>AbstractAmdServant.java:140)<br>
        at ome.services.blitz.impl.<wbr>QueryI.findAllByQuery_async(<wbr>QueryI.java:64)<br>
        at sun.reflect.<wbr>GeneratedMethodAccessor1052.<wbr>invoke(Unknown Source)<br>
        at sun.reflect.<wbr>DelegatingMethodAccessorImpl.<wbr>invoke(<wbr>DelegatingMethodAccessorImpl.<wbr>java:43)<br>
        at java.lang.reflect.Method.<wbr>invoke(Method.java:498)<br>
        at org.springframework.aop.<wbr>support.AopUtils.<wbr>invokeJoinpointUsingReflection<wbr>(AopUtils.java:307)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>invokeJoinpoint(<wbr>ReflectiveMethodInvocation.<wbr>java:183)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:150)<br>
        at omero.cmd.CallContext.invoke(<wbr>CallContext.java:78)<br>
        at org.springframework.aop.<wbr>framework.<wbr>ReflectiveMethodInvocation.<wbr>proceed(<wbr>ReflectiveMethodInvocation.<wbr>java:172)<br>
        at org.springframework.aop.<wbr>framework.JdkDynamicAopProxy.<wbr>invoke(JdkDynamicAopProxy.<wbr>java:202)<br>
        at com.sun.proxy.$Proxy94.<wbr>findAllByQuery_async(Unknown Source)<br>
        at omero.api._IQueryTie.<wbr>findAllByQuery_async(_<wbr>IQueryTie.java:90)<br>
        at omero.api._IQueryDisp.___<wbr>findAllByQuery(_IQueryDisp.<wbr>java:588)<br>
        at omero.api._IQueryDisp.__<wbr>dispatch(_IQueryDisp.java:727)<br>
        at IceInternal.Incoming.invoke(<wbr>Incoming.java:221)<br>
        at Ice.ConnectionI.invokeAll(<wbr>ConnectionI.java:2536)<br>
        at Ice.ConnectionI.dispatch(<wbr>ConnectionI.java:1145)<br>
        at Ice.ConnectionI.message(<wbr>ConnectionI.java:1056)<br>
        at IceInternal.ThreadPool.run(<wbr>ThreadPool.java:395)<br>
        at IceInternal.ThreadPool.access$<wbr>300(ThreadPool.java:12)<br>
        at IceInternal.ThreadPool$<wbr>EventHandlerThread.run(<wbr>ThreadPool.java:832)<br>
        at java.lang.Thread.run(Thread.<wbr>java:748)<br>
<br>
    serverExceptionClass = ome.conditions.<wbr>InternalException<br>
    message =  Wrapped Exception: (java.lang.<wbr>NullPointerException):<br>
null<br>
}<br>
<br>
Best regards,<br>
<br>
Felix<br>
______________________________<wbr>_________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.<wbr>openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" rel="noreferrer" target="_blank">http://lists.openmicroscopy.<wbr>org.uk/mailman/listinfo/ome-<wbr>users</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>