Error in drag and drop, was: a tutorial on a custom image format file reader / writer
Posted by Bertram Manz on Apr 17, 2008; 5:55am
URL: http://imagej.273.s1.nabble.com/a-tutorial-on-a-custom-image-format-file-reader-writer-tp3696492p3696500.html
> Now that you mention... I sometimes lose the ability to drag and drop in the
> IJ window. I am afraid that I do not know what triggers this and that is why
> I haven't reported it so far.
> This has been going on for sometime now (i.e. it is not a new "feature").
> Has anybody else seen this? (IJ under linux).
>
Same with me. If I start ImageJ from a console window, I get the following error
messages:
java.lang.NegativeArraySizeException
at ij.plugin.DicomDecoder.getString(DICOM.java:249)
at ij.plugin.DicomDecoder.getHeaderInfo(DICOM.java:664)
at ij.plugin.DicomDecoder.addInfo(DICOM.java:603)
at ij.plugin.DicomDecoder.getFileInfo(DICOM.java:425)
at ij.plugin.DICOM.run(DICOM.java:82)
at ij.IJ.runPlugIn(IJ.java:131)
at ij.IJ.runPlugIn(IJ.java:113)
at ij.io.Opener.openImage(Opener.java:199)
at ij.io.Opener.openImage(Opener.java:249)
at ij.io.Opener.open(Opener.java:116)
at ij.io.Opener.openAndAddToRecent(Opener.java:176)
at ij.plugin.DragAndDrop.openFile(DragAndDrop.java:96)
at ij.plugin.DragAndDrop.run(DragAndDrop.java:83)
at java.lang.Thread.run(Unknown Source)
It seems like ImageJ tries to open the file as DICOM?
Cheers,
Bertram