Latest BioFormats doesn't open Olympus oib files

When I attempt to open an Olympus oib file with the latest update of BioFormats, the oib is not opened and I get the following message in the console window:
There was a problem with the class java.nio.ByteBuffer which can be found here:
/C:/Users/Mary%20Brown/Desktop/Fiji.app/java/win64/jdk1.8.0_172/jre/lib/rt.jar
java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at loci.common.NIOFileHandle.buffer(NIOFileHandle.java:650)
at loci.common.NIOFileHandle.(NIOFileHandle.java:133)
at loci.common.NIOFileHandle.(NIOFileHandle.java:151)
at loci.common.NIOFileHandle.(NIOFileHandle.java:165)
at loci.common.Location.getHandle(Location.java:522)
at loci.common.Location.getHandle(Location.java:462)
at loci.common.Location.getHandle(Location.java:443)
at loci.common.Location.getHandle(Location.java:426)
at loci.common.Location.checkValidId(Location.java:551)
at loci.formats.ImageReader.getReader(ImageReader.java:182)
at loci.plugins.in.ImportProcess.createBaseReader(ImportProcess.java:627)
at loci.plugins.in.ImportProcess.initializeReader(ImportProcess.java:485)
at loci.plugins.in.ImportProcess.execute(ImportProcess.java:138)
at loci.plugins.in.Importer.showDialogs(Importer.java:140)
at loci.plugins.in.Importer.run(Importer.java:76)
at loci.plugins.LociImporter.run(LociImporter.java:78)
at ij.IJ.runUserPlugIn(IJ.java:230)
at ij.IJ.runPlugIn(IJ.java:193)
at ij.IJ.runPlugIn(IJ.java:182)
at HandleExtraFileTypes.openImage(HandleExtraFileTypes.java:499)
at HandleExtraFileTypes.run(HandleExtraFileTypes.java:72)
at ij.IJ.runUserPlugIn(IJ.java:230)
at ij.IJ.runPlugIn(IJ.java:193)
at ij.IJ.runPlugIn(IJ.java:182)
at ij.io.Opener.openWithHandleExtraFileTypes(Opener.java:516)
at ij.io.Opener.openImage(Opener.java:370)
at ij.io.Opener.openImage(Opener.java:242)
at ij.io.Opener.open(Opener.java:109)
at ij.io.Opener.openAndAddToRecent(Opener.java:291)
at ij.plugin.DragAndDrop.openFile(DragAndDrop.java:192)
at ij.plugin.DragAndDrop.run(DragAndDrop.java:159)
at java.lang.Thread.run(Thread.java:748)

[ERROR] java.lang.NoSuchMethodException: Could not find method java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
There was a problem with the class java.nio.ByteBuffer which can be found here:
/C:/Users/Mary%20Brown/Desktop/Fiji.app/java/win64/jdk1.8.0_172/jre/lib/rt.jar
java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at loci.common.NIOFileHandle.buffer(NIOFileHandle.java:650)
at loci.common.NIOFileHandle.(NIOFileHandle.java:133)
at loci.common.NIOFileHandle.(NIOFileHandle.java:151)
at loci.common.NIOFileHandle.(NIOFileHandle.java:165)
at loci.common.Location.getHandle(Location.java:522)
at loci.common.Location.getHandle(Location.java:462)
at loci.common.Location.getHandle(Location.java:443)
at loci.common.Location.getHandle(Location.java:426)
at loci.common.Location.checkValidId(Location.java:551)
at loci.formats.ImageReader.getReader(ImageReader.java:182)
at loci.plugins.in.ImportProcess.createBaseReader(ImportProcess.java:627)
at loci.plugins.in.ImportProcess.initializeReader(ImportProcess.java:485)
at loci.plugins.in.ImportProcess.execute(ImportProcess.java:138)
at loci.plugins.in.Importer.showDialogs(Importer.java:140)
at loci.plugins.in.Importer.run(Importer.java:76)
at loci.plugins.LociImporter.run(LociImporter.java:78)
at ij.IJ.runUserPlugIn(IJ.java:230)
at ij.IJ.runPlugIn(IJ.java:193)
at ij.IJ.runPlugIn(IJ.java:182)
at HandleExtraFileTypes.openImage(HandleExtraFileTypes.java:499)
at HandleExtraFileTypes.run(HandleExtraFileTypes.java:72)
at ij.IJ.runUserPlugIn(IJ.java:230)
at ij.IJ.runPlugIn(IJ.java:193)
at ij.IJ.runPlugIn(IJ.java:182)
at ij.io.Opener.openWithHandleExtraFileTypes(Opener.java:516)
at ij.io.Opener.openImage(Opener.java:370)
at ij.io.Opener.openImage(Opener.java:242)
at ij.io.Opener.open(Opener.java:109)
at ij.io.Opener.openAndAddToRecent(Opener.java:291)
at ij.plugin.DragAndDrop.openFile(DragAndDrop.java:192)
at ij.plugin.DragAndDrop.run(DragAndDrop.java:159)
at java.lang.Thread.run(Thread.java:748)

at loci.common.NIOFileHandle.buffer(NIOFileHandle.java:650)
at loci.common.NIOFileHandle.<init>(NIOFileHandle.java:133)
at loci.common.NIOFileHandle.<init>(NIOFileHandle.java:151)
at loci.common.NIOFileHandle.<init>(NIOFileHandle.java:165)
at loci.common.Location.getHandle(Location.java:522)
at loci.common.Location.getHandle(Location.java:462)
at loci.common.Location.getHandle(Location.java:443)
at loci.common.Location.getHandle(Location.java:426)
at loci.common.Location.checkValidId(Location.java:551)
at loci.formats.ImageReader.getReader(ImageReader.java:182)
at loci.plugins.in.ImportProcess.createBaseReader(ImportProcess.java:627)
at loci.plugins.in.ImportProcess.initializeReader(ImportProcess.java:485)
at loci.plugins.in.ImportProcess.execute(ImportProcess.java:138)
at loci.plugins.in.Importer.showDialogs(Importer.java:140)
at loci.plugins.in.Importer.run(Importer.java:76)
at loci.plugins.LociImporter.run(LociImporter.java:78)
at ij.IJ.runUserPlugIn(IJ.java:230)
at ij.IJ.runPlugIn(IJ.java:193)
at ij.IJ.runPlugIn(IJ.java:182)
at HandleExtraFileTypes.openImage(HandleExtraFileTypes.java:499)
at HandleExtraFileTypes.run(HandleExtraFileTypes.java:72)
at ij.IJ.runUserPlugIn(IJ.java:230)
at ij.IJ.runPlugIn(IJ.java:193)
at ij.IJ.runPlugIn(IJ.java:182)
at ij.io.Opener.openWithHandleExtraFileTypes(Opener.java:516)
at ij.io.Opener.openImage(Opener.java:370)
at ij.io.Opener.openImage(Opener.java:242)
at ij.io.Opener.open(Opener.java:109)
at ij.io.Opener.openAndAddToRecent(Opener.java:291)
at ij.plugin.DragAndDrop.openFile(DragAndDrop.java:192)
at ij.plugin.DragAndDrop.run(DragAndDrop.java:159)
at java.lang.Thread.run(Thread.java:748)

There was a problem with the class java.nio.ByteBuffer which can be found here:
/C:/Users/Mary%20Brown/Desktop/Fiji.app/java/win64/jdk1.8.0_172/jre/lib/rt.jar
java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at loci.common.NIOFileHandle.buffer(NIOFileHandle.java:650)
at loci.common.NIOFileHandle.(NIOFileHandle.java:133)
at loci.common.NIOFileHandle.(NIOFileHandle.java:151)
at loci.common.NIOFileHandle.(NIOFileHandle.java:165)
at loci.common.Location.getHandle(Location.java:522)
at loci.common.Location.getHandle(Location.java:462)
at loci.common.Location.getHandle(Location.java:443)
at loci.common.Location.getHandle(Location.java:426)
at loci.common.Location.checkValidId(Location.java:551)
at loci.formats.ImageReader.getReader(ImageReader.java:182)
at loci.plugins.in.ImportProcess.createBaseReader(ImportProcess.java:627)
at loci.plugins.in.ImportProcess.initializeReader(ImportProcess.java:485)
at loci.plugins.in.ImportProcess.execute(ImportProcess.java:138)
at loci.plugins.in.Importer.showDialogs(Importer.java:140)
at loci.plugins.in.Importer.run(Importer.java:76)
at loci.plugins.LociImporter.run(LociImporter.java:78)
at ij.IJ.runUserPlugIn(IJ.java:230)
at ij.IJ.runPlugIn(IJ.java:193)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:748)

[ERROR] java.lang.NoSuchMethodException: Could not find method java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
There was a problem with the class java.nio.ByteBuffer which can be found here:
/C:/Users/Mary%20Brown/Desktop/Fiji.app/java/win64/jdk1.8.0_172/jre/lib/rt.jar
java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at loci.common.NIOFileHandle.buffer(NIOFileHandle.java:650)
at loci.common.NIOFileHandle.(NIOFileHandle.java:133)
at loci.common.NIOFileHandle.(NIOFileHandle.java:151)
at loci.common.NIOFileHandle.(NIOFileHandle.java:165)
at loci.common.Location.getHandle(Location.java:522)
at loci.common.Location.getHandle(Location.java:462)
at loci.common.Location.getHandle(Location.java:443)
at loci.common.Location.getHandle(Location.java:426)
at loci.common.Location.checkValidId(Location.java:551)
at loci.formats.ImageReader.getReader(ImageReader.java:182)
at loci.plugins.in.ImportProcess.createBaseReader(ImportProcess.java:627)
at loci.plugins.in.ImportProcess.initializeReader(ImportProcess.java:485)
at loci.plugins.in.ImportProcess.execute(ImportProcess.java:138)
at loci.plugins.in.Importer.showDialogs(Importer.java:140)
at loci.plugins.in.Importer.run(Importer.java:76)
at loci.plugins.LociImporter.run(LociImporter.java:78)
at ij.IJ.runUserPlugIn(IJ.java:230)
at ij.IJ.runPlugIn(IJ.java:193)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:748)

at loci.common.NIOFileHandle.buffer(NIOFileHandle.java:650)
at loci.common.NIOFileHandle.<init>(NIOFileHandle.java:133)
at loci.common.NIOFileHandle.<init>(NIOFileHandle.java:151)
at loci.common.NIOFileHandle.<init>(NIOFileHandle.java:165)
at loci.common.Location.getHandle(Location.java:522)
at loci.common.Location.getHandle(Location.java:462)
at loci.common.Location.getHandle(Location.java:443)
at loci.common.Location.getHandle(Location.java:426)
at loci.common.Location.checkValidId(Location.java:551)
at loci.formats.ImageReader.getReader(ImageReader.java:182)
at loci.plugins.in.ImportProcess.createBaseReader(ImportProcess.java:627)
at loci.plugins.in.ImportProcess.initializeReader(ImportProcess.java:485)
at loci.plugins.in.ImportProcess.execute(ImportProcess.java:138)
at loci.plugins.in.Importer.showDialogs(Importer.java:140)
at loci.plugins.in.Importer.run(Importer.java:76)
at loci.plugins.LociImporter.run(LociImporter.java:78)
at ij.IJ.runUserPlugIn(IJ.java:230)
at ij.IJ.runPlugIn(IJ.java:193)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:748)

There was a problem with the class java.nio.ByteBuffer which can be found here:
/C:/Users/Mary%20Brown/Desktop/Fiji.app/java/win64/jdk1.8.0_172/jre/lib/rt.jar
java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at loci.common.NIOFileHandle.buffer(NIOFileHandle.java:650)
at loci.common.NIOFileHandle.(NIOFileHandle.java:133)
at loci.common.NIOFileHandle.(NIOFileHandle.java:151)
at loci.common.NIOFileHandle.(NIOFileHandle.java:165)
at loci.common.Location.getHandle(Location.java:522)
at loci.common.Location.getHandle(Location.java:462)
at loci.common.Location.getHandle(Location.java:443)
at loci.common.Location.getHandle(Location.java:426)
at loci.common.Location.checkValidId(Location.java:551)
at loci.formats.ImageReader.getReader(ImageReader.java:182)
at loci.plugins.in.ImportProcess.createBaseReader(ImportProcess.java:627)
at loci.plugins.in.ImportProcess.initializeReader(ImportProcess.java:485)
at loci.plugins.in.ImportProcess.execute(ImportProcess.java:138)
at loci.plugins.in.Importer.showDialogs(Importer.java:140)
at loci.plugins.in.Importer.run(Importer.java:76)
at loci.plugins.LociImporter.run(LociImporter.java:78)
at ij.IJ.runUserPlugIn(IJ.java:230)
at ij.IJ.runPlugIn(IJ.java:193)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:748)

[ERROR] java.lang.NoSuchMethodException: Could not find method java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
There was a problem with the class java.nio.ByteBuffer which can be found here:
/C:/Users/Mary%20Brown/Desktop/Fiji.app/java/win64/jdk1.8.0_172/jre/lib/rt.jar
java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at loci.common.NIOFileHandle.buffer(NIOFileHandle.java:650)
at loci.common.NIOFileHandle.(NIOFileHandle.java:133)
at loci.common.NIOFileHandle.(NIOFileHandle.java:151)
at loci.common.NIOFileHandle.(NIOFileHandle.java:165)
at loci.common.Location.getHandle(Location.java:522)
at loci.common.Location.getHandle(Location.java:462)
at loci.common.Location.getHandle(Location.java:443)
at loci.common.Location.getHandle(Location.java:426)
at loci.common.Location.checkValidId(Location.java:551)
at loci.formats.ImageReader.getReader(ImageReader.java:182)
at loci.plugins.in.ImportProcess.createBaseReader(ImportProcess.java:627)
at loci.plugins.in.ImportProcess.initializeReader(ImportProcess.java:485)
at loci.plugins.in.ImportProcess.execute(ImportProcess.java:138)
at loci.plugins.in.Importer.showDialogs(Importer.java:140)
at loci.plugins.in.Importer.run(Importer.java:76)
at loci.plugins.LociImporter.run(LociImporter.java:78)
at ij.IJ.runUserPlugIn(IJ.java:230)
at ij.IJ.runPlugIn(IJ.java:193)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:748)

at loci.common.NIOFileHandle.buffer(NIOFileHandle.java:650)
at loci.common.NIOFileHandle.<init>(NIOFileHandle.java:133)
at loci.common.NIOFileHandle.<init>(NIOFileHandle.java:151)
at loci.common.NIOFileHandle.<init>(NIOFileHandle.java:165)
at loci.common.Location.getHandle(Location.java:522)
at loci.common.Location.getHandle(Location.java:462)
at loci.common.Location.getHandle(Location.java:443)
at loci.common.Location.getHandle(Location.java:426)
at loci.common.Location.checkValidId(Location.java:551)
at loci.formats.ImageReader.getReader(ImageReader.java:182)
at loci.plugins.in.ImportProcess.createBaseReader(ImportProcess.java:627)
at loci.plugins.in.ImportProcess.initializeReader(ImportProcess.java:485)
at loci.plugins.in.ImportProcess.execute(ImportProcess.java:138)
at loci.plugins.in.Importer.showDialogs(Importer.java:140)
at loci.plugins.in.Importer.run(Importer.java:76)
at loci.plugins.LociImporter.run(LociImporter.java:78)
at ij.IJ.runUserPlugIn(IJ.java:230)
at ij.IJ.runPlugIn(IJ.java:193)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:748)

However, I can still open oib files with earlier versions of BioFormats. Thank you for your help.

Hi @GopherConfocal, Im afraid this was caused by one of the jars (ome-common-6.0.5) uploaded to the Bio-Formats update site being built with the incorrect Java version, you can see more details at Fiji won't open CZI files after update - There was a problem with the class Java

A fix will be available from the update site shortly. Until then using the last official Bio-Formats release, available from the Java-8 update site will also resolve the problem.

2 Likes