We're Hiring!

Null pointer exception with VSI

Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats
Please note:
Historical discussions about the Bio-Formats library. Please look for and ask new questions at https://forum.image.sc/tags/bio-formats

If you are having trouble with image files, there is information about reporting bugs in the Bio-Formats documentation. Please send us the data and let us know what version of Bio-Formats you are using. For issues with your code, please provide a link to a public repository, ideally GitHub.

Null pointer exception with VSI

Postby rmschur » 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)
rmschur
 
Posts: 1
Joined: Wed Jan 14, 2015 5:57 pm

Re: Null pointer exception with VSI

Postby mlinkert » Fri Jan 16, 2015 6:39 pm

Hi Becky,

Thank you very much for reporting this problem. We expect this to be fixed in the upcoming 5.1.0 release of Bio-Formats.

-Melissa
User avatar
mlinkert
Team Member
 
Posts: 353
Joined: Fri May 29, 2009 2:12 pm
Location: Southwest Wisconsin


Return to User Discussion [Legacy]

Who is online

Users browsing this forum: No registered users and 1 guest