[ome-users] OMERO error from sessionlist command

Martin Wlotzka martin.wlotzka at uni-heidelberg.de
Tue Mar 27 12:36:25 BST 2018


Dear OMERO People,

after upgrading to v5.4.4, I get the following error message from the
sessionlist command. Do you have any idea what could be the cause of the
error, and what I could do to fix it?

Thanks a lot,
Martin

########

$> ./bin/omero admin sessionlist
Previous session expired for root on localhost:4064
Server: [localhost:4064]
Username: [root]
Password:
Created session 151f595d-44e7-475d-80d2-5ad4d5d7eb33
(root at localhost:4064). Idle timeout: 10 min. Current group: system
Traceback (most recent call last):
  File "./bin/omero", line 125, in <module>
    rv = omero.cli.argv()
  File
"/home/omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/cli.py", line
1620, in argv
    cli.invoke(args[1:])
  File
"/home/omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/cli.py", line
1095, in invoke
    stop = self.onecmd(line, previous_args)
  File
"/home/omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/cli.py", line
1172, in onecmd
    self.execute(line, previous_args)
  File
"/home/omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/cli.py", line
1254, in execute
    args.func(args)
  File
"/home/omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/plugins/admin.py",
line 1791, in sessionlist
    results = service.findAllByQuery(query, params)
  File
"/home/omero/OMERO.server-5.4.4-ice36-b82/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.GeneratedMethodAccessor734.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.$Proxy80.findAllByQuery(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor734.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.$Proxy80.findAllByQuery(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor988.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.GeneratedMethodAccessor987.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.$Proxy81.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
}
!! 03/27/18 13:13:29.213 error: communicator not destroyed during global
destruction.

########

I am running OMERO v5.4.4-ice36-b82 on Ubuntu 16.04 kernel
4.4.0-116-generic with OpenJDK 1.8.0, python 2.7.12, icegridnode 3.6.4,
icegridadmin 3.6.4, psql 9.5.12. The "communicator not destroyed during
global destruction" error appears also with other commands.

-- 
Dr. Martin WLOTZKA

Email: martin.wlotzka at uni-heidelberg.de
Phone: +49 6221 54 20024

Future IT - Research and Education
Computing Center, Heidelberg University
Im Neuenheimer Feld 293, 69120 Heidelberg



More information about the ome-users mailing list