Ticket #851 (closed defect: duplicate)
Opened 2011-10-31T14:25:48-05:00
Last modified 2012-05-18T12:24:19-05:00
Drag and Drop unsupported image file results in exception
Reported by: | bdezonia | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | I/O | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
Drag and drop has been implemented which allows one to drop a file from Finder onto the status area or toolbar area which will then be opened by IJ2.
(note this bug might have a duplicate ticket - I thought for sure I had reported it)
DnD works fairly well but if you drag some unsupported type (such as a PDF) you get an exception in the console window:
Caused by: loci.formats.UnknownFormatException: Unknown file format: /Users/bdezonia/Desktop/pay-employee-withholding.pdf
at loci.formats.ImageReader.getReader(ImageReader.java:179)
at loci.formats.ImageReader.setId(ImageReader.java:677)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:488)
at loci.formats.ChannelFiller.setId(ChannelFiller.java:249)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:488)
at loci.formats.ChannelSeparator.setId(ChannelSeparator.java:257)
at loci.formats.ReaderWrapper.setId(ReaderWrapper.java:488)
at net.imglib2.io.ImgOpener.createReader(ImgOpener.java:436)
at net.imglib2.io.ImgOpener.initializeReader(ImgOpener.java:494)
at net.imglib2.io.ImgOpener.openImg(ImgOpener.java:183)
Change History
comment:1 Changed 2011-11-02T12:43:36-05:00 by bdezonia
comment:2 Changed 2011-11-02T12:45:12-05:00 by bdezonia
- Milestone changed from imagej-2.0-beta1 to imagej-2.0-beta2
comment:3 Changed 2012-02-26T21:54:51-06:00 by curtis
- Status changed from new to closed
- Resolution set to duplicate
Duplicate of #846.
comment:4 Changed 2012-05-18T12:24:19-05:00 by bdezonia
- Milestone changed from imagej-2.0.0-beta3 to imagej-2.0.0-beta2
This bug should be addressed when ticket #860 is resolved. Suspending until then.