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

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

BUG:Dicom Positive integer

Reported by: omero-qa Owned by: mlinkert
Priority: minor Milestone: 5.1.0-m2
Component: Bio-Formats Version: 5.0.2
Keywords: n.a. Cc: odebeir@…, mlinkert, khgillen
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description

https://www.openmicroscopy.org/qa2/qa2/qa/feedback/9283/

Comment: Problem when importing DICOM sample image from Osirix

java.lang.IllegalArgumentException: 0 must not be null and positive.
	at ome.xml.model.primitives.PositiveInteger.<init>(PositiveInteger.java:56)
	at loci.formats.MetadataTools.populatePixelsOnly(MetadataTools.java:275)
	at loci.formats.MetadataTools.populateMetadata(MetadataTools.java:236)
	at loci.formats.MetadataTools.populatePixels(MetadataTools.java:138)
	at loci.formats.MetadataTools.populatePixels(MetadataTools.java:101)
	at loci.formats.in.DicomReader.initFile(DicomReader.java:706)
	at loci.formats.FormatReader.setId(FormatReader.java:1319)
	at loci.formats.ImageReader.setId(ImageReader.java:757)
	at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:573)
	at loci.formats.ChannelFiller.setId(ChannelFiller.java:263)
	at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:573)
	at loci.formats.ChannelSeparator.setId(ChannelSeparator.java:274)
	at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:573)
	at loci.formats.Memoizer.setId(Memoizer.java:471)
	at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:573)
	at ome.formats.importer.ImportCandidates.singleFile(ImportCandidates.java:414)
	at ome.formats.importer.ImportCandidates.handleFile(ImportCandidates.java:595)
	at ome.formats.importer.ImportCandidates.execute(ImportCandidates.java:371)
	at ome.formats.importer.ImportCandidates.<init>(ImportCandidates.java:229)
	at ome.formats.importer.ImportCandidates.<init>(ImportCandidates.java:180)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.getImportCandidates(OMEROGateway.java:6384)
	at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.importFile(OmeroImageServiceImpl.java:1199)
	at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter.importFile(ImagesImporter.java:77)
	at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter.access$000(ImagesImporter.java:53)
	at org.openmicroscopy.shoola.env.data.views.calls.ImagesImporter$1.doCall(ImagesImporter.java:102)
	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:276)
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
	at java.lang.Thread.run(Thread.java:701)

Change History (12)

comment:1 Changed 5 years ago by jburel

  • Cc mlinkert-x added
  • Component changed from from QA to Bio-Formats
  • Milestone changed from Unscheduled to 5.0.3
  • Owner changed from mlinkert-x to rleigh

comment:2 Changed 5 years ago by jburel

File already submitted. Roger could you have a look at it? If you can hand is better of course.

comment:3 Changed 5 years ago by mlinkert

  • Cc mlinkert added; mlinkert-x removed

comment:4 Changed 5 years ago by rleigh

No longer reproducible on either current dev_5_0 or develop. Tested with current Insight for both branches, and both import and view without problems. Tested with showinf on dev_5_0 and with the tagged 5.0.[012] releases and no problems found using the sample IM-0001-0001.dcm.

Note that in the original QA upload, there was a version discrepancy betweeen client (5.0.0) and server (5.0.1). I would suggest to odebeir that it would be worth checking the current server version and ensuring that the client version matches since I can't reproduce the original problem.

I'm closing the ticket, but if after checking the client version you still have this problem, please do let me know with some more details about how you triggered the problem.

Regards,
Roger

comment:5 Changed 5 years ago by rleigh

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

comment:6 Changed 5 years ago by khgillen

I have example Dicom which crashes with this exception in 5.0.4 release OMERO. (It uploaded fine in an older version of OMERO, I don't remember which version)

This was just raised on the ome-users list, http://lists.openmicroscopy.org.uk/pipermail/ome-users/2014-September/004782.html, so I'm re-opening.

comment:7 Changed 5 years ago by khgillen

  • Milestone changed from 5.0.3 to 5.1.0-m1
  • Resolution worksforme deleted
  • Status changed from closed to reopened

comment:8 Changed 5 years ago by mlinkert

  • Milestone changed from 5.1.0-m1 to 5.1.0-m2

Corresponding QA is 9553. This is likely a bit different from the original problem reported in this ticket due to the slight difference in stack trace. rleigh, feel free to re-assign if you don't have the time to work on this.

comment:9 Changed 5 years ago by mlinkert

  • Cc khgillen added
  • Owner changed from rleigh to mlinkert
  • Status changed from reopened to accepted

I still can't reproduce with either QA fileset, using 5.0.4 and current develop. We don't have confirmation of which version produced a stack trace with QA 9553, and there has been no follow-up to confirm whether upgrading to 5.0.4 solved the problem.

Kenny, are you still seeing this with your files? If so, would you be willing to discuss briefly, so that we can at least figure out how to reproduce the problem?

comment:10 Changed 5 years ago by khgillen

@mlinkert, yes, I am still seeing this with 5.1 and 5.0.5.

FWIW it's imported in the past (on an analysis OMERO instance, in Sep 2013 - not sure what our version was at that time).

More than happy to discuss / assist in testing.

Best,

Kenny

comment:11 Changed 5 years ago by mlinkert

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

comment:12 Changed 5 years ago by Melissa Linkert <melissa@…>

  • Remaining Time set to 0

(In [6ef4691dd7264276ef44437d892f357d57569d81/bioformats.git] on branch develop) DICOM: fix dimension population for multi-series filesets

Fixes #12369

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

We're Hiring!