[ome-users] MINC (.mnc) MRI image files: error message when importing

K F emxpert at yahoo.com
Tue Jul 9 22:04:50 BST 2013


I was trying to use the Bio-Formats MINC (.mnc) file import via the ImageJ (Fiji) plugin to read the sample files at:
https://bigbrain.loris.ca/

Every single MINC file I tested failed, and gave a similar error as noted below.

Note that the NIfTI (.nii) versions of the same datasets worked perfectly fine (after manually extracting from the .gz file).

You should be able to sign up for access to the above website, and get plenty of test images and metadata.

Tested:
LOCI Plugins for ImageJ, revision 34f3393, built 7 May 2013 Release: 4.4.9-DEV
as well as:
(trunk) LOCI Plugins for ImageJ, revision 34aa07c, built 9 July 2013 Release: 4.5-DEV


Both versions gave almost identical error result.  The following is pasted from the 4.5 revision 34aa07c trunk build:

(Fiji Is Just) ImageJ 1.47v; Java 1.6.0_24 [64-bit]; Windows 7 6.1; 38MB of 2989MB (1%)
 
java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at ij.Command.runPlugIn(Command.java:148)
    at ij.Command.runCommand(Command.java:97)
    at ij.Executer.run(Executer.java:64)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
    at loci.formats.services.NetCDFServiceImpl.getArray(NetCDFServiceImpl.java:174)
    at loci.formats.services.NetCDFServiceImpl.getVariableValue(NetCDFServiceImpl.java:156)
    at loci.formats.in.MINCReader.initFile(MINCReader.java:161)
    at loci.formats.FormatReader.setId(FormatReader.java:1183)
    at loci.plugins.in.ImportProcess.initializeFile(ImportProcess.java:482)
    at loci.plugins.in.ImportProcess.execute(ImportProcess.java:146)
    at loci.plugins.in.Importer.showDialogs(Importer.java:141)
    at loci.plugins.in.Importer.run(Importer.java:79)
    at loci.plugins.LociImporter.run(LociImporter.java:81)
    at ij.IJ.runUserPlugIn(IJ.java:195)
    at ij.IJ.runPlugIn(IJ.java:160)
    ... 7 more
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20130709/97b2a2c4/attachment.html>


More information about the ome-users mailing list