Task #2877 (closed)
BUG: Cannot delete more then one objects int he same time
Reported by: | atarkowska | Owned by: | jburel |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.2.1 |
Component: | Services | Version: | n.a. |
Keywords: | n.a. | Cc: | jamoore, jburel |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2010-09-09 (16) |
Description
I was trying to put more then one DeleteCommand? in queueDelete and it failed:
Traceback (most recent call last): File "test/callback_test.py", line 18, in ? handle = conn.getDeleteService().queueDelete([dc1, dc2]) File "/Users/ola/Dev/omero/dist/lib/python/omero_api_IDelete_ice.py", line 270, in queueDelete return _M_omero.api.IDelete._op_queueDelete.invoke(self, ((commands, ), _ctx)) omero.InternalException: exception ::omero::InternalException { serverStackTrace = java.lang.IllegalStateException: Currently initialized!: BaseDeleteSpec [/Image, id=37, superspec=] at ome.services.delete.BaseDeleteSpec.initialize(BaseDeleteSpec.java:144) at ome.services.blitz.impl.DeleteHandleI.<init>(DeleteHandleI.java:172) at ome.services.blitz.impl.DeleteI.makeAndLaunchHandle(DeleteI.java:157) at ome.services.blitz.impl.DeleteI$5.call(DeleteI.java:147) at ome.services.blitz.impl.DeleteI$5.call(DeleteI.java:145) at ome.services.throttling.Callback2.run(Callback2.java:49) at ome.services.throttling.InThreadThrottlingStrategy.safeRunnableCall(InThreadThrottlingStrategy.java:80) at ome.services.blitz.impl.AbstractAmdServant.safeRunnableCall(AbstractAmdServant.java:152) at ome.services.blitz.impl.DeleteI.queueDelete_async(DeleteI.java:144) at omero.api._IDeleteTie.queueDelete_async(_IDeleteTie.java:123) at omero.api._IDeleteDisp.___queueDelete(_IDeleteDisp.java:307) at omero.api._IDeleteDisp.__dispatch(_IDeleteDisp.java:389) 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.lang.IllegalStateException message = Currently initialized!: BaseDeleteSpec [/Image, id=37, superspec=] }
Change History (11)
comment:1 Changed 14 years ago by atarkowska
comment:2 Changed 14 years ago by jburel
comment:3 Changed 14 years ago by jburel
comment:4 Changed 14 years ago by jburel
This is due to the fact that the DeleteSpec? is shared between command see DeleteSpecFactory
comment:5 Changed 14 years ago by jburel
comment:6 Changed 14 years ago by jburel
comment:7 Changed 14 years ago by jburel
- Status changed from new to assigned
comment:8 Changed 14 years ago by jburel
- Owner jmoore deleted
- Status changed from assigned to new
comment:9 Changed 14 years ago by jburel
- Cc jmoore added
- Owner set to jburel
- Status changed from new to assigned
comment:10 Changed 14 years ago by jburel
- Remaining Time set to 0
- Resolution set to fixed
- Status changed from assigned to closed
comment:11 Changed 14 years ago by jmoore
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [8049]) test, see #2877