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 #5253 (closed)

Opened 13 years ago

Closed 13 years ago

Bug: insight tab closure doesn't stop processing.

Reported by: jamoore Owned by: jburel
Priority: major Milestone: OMERO-Beta4.3
Component: Insight Version: n.a.
Keywords: n.a. Cc: saloynton
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2011-06-02 (13)

Description (last modified by jmoore)

After creating #5252, I tried closing the tab that was "analyzing" to see if that was the intended way to cancel all on a tab (2.). That, however, left processing running in the background (see stack trace below) and my tab #3 in state "pending" with no clear idea of what was going on. If stopping the action is not possible, then it should not be possible to close the tab.

I also tried clicking on "close". The dialog "do you want to cancel all imports" was asked, I said yes, but the same thread is still running in the background.

I then tried closing the application, which was successful, but I got no warning that a background process was active.

Change History (4)

comment:1 Changed 13 years ago by jmoore

"Thread-56" prio=6 tid=104320000 nid=0x121fb2000 runnable [121fb0000]
   java.lang.Thread.State: RUNNABLE
	at loci.formats.codec.HuffmanCodec$Decoder.createDecoder(HuffmanCodec.java:138)
	at loci.formats.codec.HuffmanCodec$Decoder.createDecoder(HuffmanCodec.java:152)
	at loci.formats.codec.HuffmanCodec$Decoder.createDecoder(HuffmanCodec.java:138)
	at loci.formats.codec.HuffmanCodec$Decoder.createDecoder(HuffmanCodec.java:153)
	at loci.formats.codec.HuffmanCodec$Decoder.<init>(HuffmanCodec.java:133)
	at loci.formats.codec.HuffmanCodec.getSample(HuffmanCodec.java:111)
	at loci.formats.codec.NikonCodec.decompress(NikonCodec.java:207)
	at loci.formats.codec.BaseCodec.decompress(BaseCodec.java:170)
	at loci.formats.in.NikonReader.openBytes(NikonReader.java:189)
	at loci.formats.ImageReader.openBytes(ImageReader.java:394)
	at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:183)
	at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:175)
	at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:180)
	at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:304)
	at loci.formats.MinMaxCalculator.openBytes(MinMaxCalculator.java:260)
	at ome.formats.importer.ImportLibrary.writeDataTileBased(ImportLibrary.java:847)
	at ome.formats.importer.ImportLibrary.importData(ImportLibrary.java:772)
	at ome.formats.importer.ImportLibrary.importImage(ImportLibrary.java:579)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.importImage(OMEROGateway.java:6132)
	at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.importCandidates(OmeroImageServiceImpl.java:171)
	at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.importFile(OmeroImageServiceImpl.java:1167)
	at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter.importFile(ImagesImporter.java:84)
	at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter.access$000(ImagesImporter.java:55)
	at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter$1.doCall(ImagesImporter.java:105)
	at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
	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:680)

comment:2 Changed 13 years ago by jmoore

  • Description modified (diff)
  • Priority changed from minor to major

comment:3 Changed 13 years ago by jburel

That's a bug, you should not be able to close the tab.

comment:4 Changed 13 years ago by jburel

  • Component changed from General to Insight
  • Resolution set to fixed
  • Sprint set to 2011-06-02 (13)
  • Status changed from new to closed

This has been fixed as part of the "cancel" review. See #5441

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

We're Hiring!