[ome-users] OMERO Client Exception...
Gernot Stocker
gernot.stocker at tugraz.at
Thu Apr 30 02:01:41 BST 2009
Hi,
first of all congratulations for your Beta4 releases of OMERO! The installation
was almost painless and except a small issue regarding the missing sqlite2
for the webserver everything went fine. I' ve installed Version OMERO-Beta4
-4.0.2 on a Linux box with CentOS 5 and had additionally to install an external
sqlite2 package from:
ftp://fr.rpmfind.net/linux/dag/redhat/el5/en/i386/dag/RPMS/python-sqlite2-2.3.3-1.el5.rf.i386.rpm
This could be interesting for other CentOS users, too.
Currently I'm trying to get the synchronization of iLAP with for OMERO Beta4
running. During my stay in Dundee you recommended me to use the "sudo"
mechanisms for "hijacking" user sessions and synchronizing data as admin
in the user context. Basic communication with the server is working and I
could access methods of e.g. the AdminService without any problems.
I basically followed your example in omero/OmeroClients/sudo.java which
is working nicely and I get a ServiceFactoryPrx. With this factory I wanted
to initialize an OMEROMetadataStoreClient using the initialize method but
at that point I get the following exception:
ava.lang.VerifyError: (class: ome/formats/model/BlitzInstanceProvider, method: getInstance signature: (Ljava/lang/Class;)Lomero/model/IObject;) Wrong return type in function
at ome.formats.OMEROMetadataStoreClient.initializeServices(OMEROMetadataStoreClient.java:216)
at ome.formats.OMEROMetadataStoreClient.initialize(OMEROMetadataStoreClient.java:250)
at at.tugraz.genome.smile.service.dataobject.postprocessing.omero.OmeroImporter.execPostProcessing(OmeroImporter.java:491)
at at.tugraz.genome.smile.service.dataobject.postprocessing.PostProcessorRunnerServiceImpl.execPostProcessor(PostProcessorRunnerServiceImpl.java:84)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:104)
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 org.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy1.execPostProcessor(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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:70)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy1.execPostProcessor(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 org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:205)
at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38)
at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:76)
at org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:112)
at org.logicblaze.lingo.jms.JmsServiceExporterMessageListener.doInvoke(JmsServiceExporterMessageListener.java:222)
at org.logicblaze.lingo.jms.JmsServiceExporterMessageListener.onMessage(JmsServiceExporterMessageListener.java:102)
at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:854)
at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:99)
at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:166)
at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:117)
at org.apache.activemq.thread.PooledTaskRunner.access$100(PooledTaskRunner.java:26)
at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:44)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Do you have an idea what could be the reason for this signature mismatch? The critical lines in
your client code are:
private void initializeServices()
throws ServerError
{
[...]
// Client side services
enumProvider = new IQueryEnumProvider(iQuery);
instanceProvider = new BlitzInstanceProvider(enumProvider);
Thanks in advance,
Gernot
--
Gernot Stocker,
Institute for Genomics and Bioinformatics(IGB)
Petersgasse 14, 8010 Graz, Austria
Tel.: +43-316-873-5345
http://genome.tugraz.at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20090430/ce207761/attachment.asc>
More information about the ome-users
mailing list