Null pointer exception with VSI
Posted: Thu Jan 15, 2015 3:35 pm
Hi all,
I have large vsi files from our olympus system, each with three ets files associated with them. I want to use ImageJ and MATLAB to visualize and analyze the images. I installed the latest versions of bioformats for both, but when I try to open the vsi files, I get a null pointer exception. Any help opening the files would be much appreciated!
Thanks,
-Becky
MATLAB error:
Error using bfGetPlane (line 78)
Java exception occurred:
java.lang.NullPointerException
at java.lang.System.arraycopy(Native Method)
at loci.formats.in.CellSensReader.openBytes(CellSensReader.java:282)
at loci.formats.ImageReader.openBytes(ImageReader.java:431)
at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:193)
at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:185)
at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:193)
at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:155)
Error in bfopen (line 148)
arr = bfGetPlane(r, i, varargin{:});
ImageJ error:
(Fiji Is Just) ImageJ 2.0.0-rc-19/1.49m; Java 1.6.0_24 [64-bit]; Windows 7 6.1; 132MB of 5963MB (2%)
java.lang.NullPointerException
at java.lang.System.arraycopy(Native Method)
at loci.formats.in.CellSensReader.openBytes(CellSensReader.java:282)
at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:193)
at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:185)
at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:193)
at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:155)
at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:313)
at loci.formats.DimensionSwapper.openBytes(DimensionSwapper.java:243)
at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:313)
at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:313)
at loci.plugins.util.ImageProcessorReader.openProcessors(ImageProcessorReader.java:190)
at loci.plugins.in.ImagePlusReader.readProcessors(ImagePlusReader.java:416)
at loci.plugins.in.ImagePlusReader.readPlanes(ImagePlusReader.java:380)
at loci.plugins.in.ImagePlusReader.readImage(ImagePlusReader.java:277)
at loci.plugins.in.ImagePlusReader.readImages(ImagePlusReader.java:238)
at loci.plugins.in.ImagePlusReader.readImages(ImagePlusReader.java:216)
at loci.plugins.in.ImagePlusReader.openImagePlus(ImagePlusReader.java:114)
at loci.plugins.in.Importer.readPixels(Importer.java:150)
at loci.plugins.in.Importer.run(Importer.java:89)
at loci.plugins.LociImporter.run(LociImporter.java:81)
at ij.IJ.runUserPlugIn(IJ.java:202)
at ij.IJ.runPlugIn(IJ.java:166)
at ij.Executer.runCommand(Executer.java:131)
at ij.Executer.run(Executer.java:64)
at java.lang.Thread.run(Thread.java:662)
I have large vsi files from our olympus system, each with three ets files associated with them. I want to use ImageJ and MATLAB to visualize and analyze the images. I installed the latest versions of bioformats for both, but when I try to open the vsi files, I get a null pointer exception. Any help opening the files would be much appreciated!
Thanks,
-Becky
MATLAB error:
Error using bfGetPlane (line 78)
Java exception occurred:
java.lang.NullPointerException
at java.lang.System.arraycopy(Native Method)
at loci.formats.in.CellSensReader.openBytes(CellSensReader.java:282)
at loci.formats.ImageReader.openBytes(ImageReader.java:431)
at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:193)
at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:185)
at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:193)
at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:155)
Error in bfopen (line 148)
arr = bfGetPlane(r, i, varargin{:});
ImageJ error:
(Fiji Is Just) ImageJ 2.0.0-rc-19/1.49m; Java 1.6.0_24 [64-bit]; Windows 7 6.1; 132MB of 5963MB (2%)
java.lang.NullPointerException
at java.lang.System.arraycopy(Native Method)
at loci.formats.in.CellSensReader.openBytes(CellSensReader.java:282)
at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:193)
at loci.formats.ChannelFiller.openBytes(ChannelFiller.java:185)
at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:193)
at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:155)
at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:313)
at loci.formats.DimensionSwapper.openBytes(DimensionSwapper.java:243)
at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:313)
at loci.formats.ReaderWrapper.openBytes(ReaderWrapper.java:313)
at loci.plugins.util.ImageProcessorReader.openProcessors(ImageProcessorReader.java:190)
at loci.plugins.in.ImagePlusReader.readProcessors(ImagePlusReader.java:416)
at loci.plugins.in.ImagePlusReader.readPlanes(ImagePlusReader.java:380)
at loci.plugins.in.ImagePlusReader.readImage(ImagePlusReader.java:277)
at loci.plugins.in.ImagePlusReader.readImages(ImagePlusReader.java:238)
at loci.plugins.in.ImagePlusReader.readImages(ImagePlusReader.java:216)
at loci.plugins.in.ImagePlusReader.openImagePlus(ImagePlusReader.java:114)
at loci.plugins.in.Importer.readPixels(Importer.java:150)
at loci.plugins.in.Importer.run(Importer.java:89)
at loci.plugins.LociImporter.run(LociImporter.java:81)
at ij.IJ.runUserPlugIn(IJ.java:202)
at ij.IJ.runPlugIn(IJ.java:166)
at ij.Executer.runCommand(Executer.java:131)
at ij.Executer.run(Executer.java:64)
at java.lang.Thread.run(Thread.java:662)