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"

Task #3007 (closed)

Opened 14 years ago

Closed 13 years ago

Test 4.2.0 / 4.2.1 client/server interoperablity

Reported by: jamoore Owned by:
Priority: blocker Milestone: OMERO-Beta4.2.1
Component: API Version: n.a.
Keywords: n.a. Cc: jburel, atarkowska, cxallan, jrswedlow
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2010-11-25 (20)

Description (last modified by jburel)

With the addition of a new API (IDelete.queueDelete) 4.2.1 clients will not be able to run fully against 4.2.0 servers. What happens in the case of 4.2.0 clients with 4.2.1 servers?

test notification

Change History (7)

comment:1 Changed 14 years ago by jburel

  • Description modified (diff)

comment:2 Changed 14 years ago by wmoore

Tried deleting an Image on latest server with 4.2.0 released Insight.

java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. 
Cannot delete the image: omero.rtypes$RLongI@ef5
	at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:729)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.checkImage(OMEROGateway.java:5393)
	at org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.delete(OmeroDataServiceImpl.java:189)
	at org.openmicroscopy.shoola.env.data.OmeroDataServiceImpl.delete(OmeroDataServiceImpl.java:1239)
	at org.openmicroscopy.shoola.env.data.views.calls.DataObjectRemover$1.doCall(DataObjectRemover.java:102)
	at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:145)
	at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
	at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:274)
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
	at java.lang.Thread.run(Thread.java:637)
Caused by: omero.InternalException
    serverStackTrace = "java.util.NoSuchElementException
                        	at java.util.LinkedList.remove(LinkedList.java:644)
                        	at java.util.LinkedList.removeLast(LinkedList.java:144)
                        	at ome.security.basic.CurrentDetails.logout(CurrentDetails.java:178)
                        	at ome.security.basic.BasicSecurityWiring.logout(BasicSecurityWiring.java:110)
                        	at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:85)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:40)
                        	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
                        	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
                        	at $Proxy58.checkImageDelete(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:592)
                        	at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179)
                        	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:136)
                        	at ome.services.blitz.impl.DeleteI.checkImageDelete_async(DeleteI.java:79)
                        	at omero.api._IDeleteTie.checkImageDelete_async(_IDeleteTie.java:71)
                        	at omero.api._IDeleteDisp.___checkImageDelete(_IDeleteDisp.java:159)
                        	at omero.api._IDeleteDisp.__dispatch(_IDeleteDisp.java:374)
                        	at IceInternal.Incoming.invoke(Incoming.java:159)
                        	at Ice.ConnectionI.invokeAll(ConnectionI.java:2037)
                        	at Ice.ConnectionI.message(ConnectionI.java:972)
                        	at IceInternal.ThreadPool.run(ThreadPool.java:577)
                        	at IceInternal.ThreadPool.access$100(ThreadPool.java:12)
                        	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971)
                        "
    serverExceptionClass = "java.util.NoSuchElementException"
    message = ""
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at IceInternal.BasicStream$DynamicUserExceptionFactory.createAndThrow(BasicStream.java:2243)
	at IceInternal.BasicStream.throwException(BasicStream.java:1632)
	at IceInternal.Outgoing.throwUserException(Outgoing.java:442)
	at omero.api._IDeleteDelM.checkImageDelete(_IDeleteDelM.java:41)
	at omero.api.IDeletePrxHelper.checkImageDelete(IDeletePrxHelper.java:48)
	at omero.api.IDeletePrxHelper.checkImageDelete(IDeletePrxHelper.java:20)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.checkImage(OMEROGateway.java:5391)
	... 10 more

	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.showErrorDialog(UserNotifierImpl.java:158)
	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:245)
	at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:217)
	at org.openmicroscopy.shoola.agents.treeviewer.DataTreeViewerLoader.handleException(DataTreeViewerLoader.java:170)
	at org.openmicroscopy.shoola.env.data.events.DSCallAdapter.eventFired(DSCallAdapter.java:84)
	at org.openmicroscopy.shoola.env.data.views.BatchCallMonitor$1.run(BatchCallMonitor.java:124)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

comment:3 Changed 14 years ago by wmoore

Deleting a dataset without deleting contents seems to work OK. Deleting dataset with contents gives the same error as above.

comment:4 Changed 14 years ago by jburel

  • Sprint changed from 2010-09-30 (17) to 2010-10-28 (18)

Moved from sprint 2010-09-30 (17)

comment:5 Changed 14 years ago by jburel

  • Sprint changed from 2010-10-28 (18) to 2010-11-11 (19)

Referencing ticket #3168 has changed sprint.

comment:6 Changed 13 years ago by jburel

  • Sprint changed from 2010-11-11 (19) to 2020-11-25 (20)

Moved from sprint 2010-11-11 (19)

comment:7 Changed 13 years ago by jmoore

  • Resolution set to fixed
  • Status changed from new to closed

Basic interoperability seems to be in place. Certain functionality will definitely throw (change password, delete, etc. -- anything with a new method), but for this release will deal with the bug reports on a case by case basis.

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

We're Hiring!