NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 770 - can't open images (either by DND or by File>open)
can't open images (either by DND or by File>open)
Product: Fiji
Classification: Unclassified
Component: Plugins
PC Linux
: P4 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Reported: 2014-06-11 02:36 CDT by Benoit Aigouy
Modified: 2014-06-11 11:51 CDT
2 users (show)

See Also:

Description Benoit Aigouy 2014-06-11 02:36:08 CDT
here is the exception log:

File>open returns:

(Fiji Is Just) ImageJ 2.0.0-rc-4/1.49b; Java 1.6.0_24 [64-bit]; Linux 3.13.0-29-generic; 21MB of 10465MB (<1%)
java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
	at org.slf4j.impl.Log4jLoggerAdapter.debug(
	at loci.common.NIOByteBufferProvider.<clinit>(
	at loci.common.NIOFileHandle.<init>(
	at loci.common.NIOFileHandle.<init>(
	at loci.common.NIOFileHandle.<init>(
	at loci.common.Location.getHandle(
	at loci.common.Location.getHandle(
	at loci.common.Location.getHandle(
	at loci.common.RandomAccessInputStream.<init>(
	at loci.formats.FormatReader.isThisType(
	at loci.formats.ImageReader.isThisType(
	at net.imagej.DefaultDatasetService.canOpen(
	at net.imagej.legacy.DefaultLegacyHooks.interceptFileOpen(
	at net.imagej.legacy.DefaultLegacyHooks.interceptRunPlugIn(
	at ij.IJ.runPlugIn(
	at ij.Executer.runCommand(

Information about your version of Java:

  os.arch => amd64 => Linux
  os.version => 3.13.0-29-generic
  java.version => 1.6.0_24
  java.vendor => Sun Microsystems Inc. => Java(TM) SE Runtime Environment
  java.runtime.version => 1.6.0_24-b07 => Java HotSpot(TM) 64-Bit Server VM
  java.vm.version => 19.1-b02
  java.vm.vendor => Sun Microsystems Inc. => mixed mode
  java.awt.graphicsenv => sun.awt.X11GraphicsEnvironment => Java Platform API Specification
  java.specification.version => 1.6
  sun.cpu.endian => little
  sun.desktop => gnome
  file.separator => /

The up-to-date check says: REMIND_LATER

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to: /home/benoit/
  imagej.dir => /home/benoit/

Information about the version of each plugin:

Activated update sites:
ImageJ: (last check:20140610234546)
Fiji: (last check:20140611000938)
IBMP-CNRS: (last check:20140526164644)
ScientiFig: (last check:20140516135525)

Files not up-to-date:
  a5d02cb7 (LOCAL_ONLY) 20131005162326 plugins/Kymo_graph1001.jar
  94ff9125 (LOCAL_ONLY) 20140126165236 plugins/Mosaic_ToolSuite/Mosaic_ToolSuite.jar
  740a32b3 (LOCAL_ONLY) 20140109112924 plugins/SplittedChannelsMerger_.class
  d31ed141 (LOCAL_ONLY) 20131016094131 plugins/Stack_Focuser_.class
  7c7e7d01 (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/TA_additions/TA_plugins/Cortex.jar
  49e32d9c (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/TA_additions/TA_plugins/FlowPlugin.jar
  4646ca0d (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/TA_additions/TA_plugins/OptimizedZProjectionPlugin.jar
  dac37879 (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/TA_additions/TA_plugins/QiyanPlugin.jar
  a75d5aea (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/TA_additions/TA_plugins/additionalCloneTools.jar
  efd76f39 (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/TA_additions/TA_plugins/cloneRoughness.jar
  85d4afa6 (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/Tissue_Analyzer.jar
  5dd9ab4f (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/changes.txt
  6341eb6e (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/compilationDate.txt
  7d5d1123 (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/launcher.jar
  bdddbf0c (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/lib/IJ.jar
  6f3fdc0d (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/lib/Icons.jar
  21b4168a (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/lib/IconsPA.jar
  c3cdf2d0 (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/lib/REngine.jar
  6ba3fcd5 (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/lib/Rserve.jar
  269cc20e (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/lib/Rsession.jar
  9b7b3d20 (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/lib/batik-all-1.7.jar
  694bbee3 (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/lib/sqlite-jdbc-3.7.2.jar
  e822575d (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/lib/xml-apis-ext.jar
  3887dab6 (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/license.txt
  397bab67 (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/otherLicenses/licenseIcons.txt
  0f96dbd0 (LOCAL_ONLY) 20140610105127 plugins/Tissue_Analyzer/otherLicenses/licenseRsession.txt
  5f60d96e (LOCAL_ONLY) 20140306085844 plugins/Watershed_.jar
  764c419f (LOCAL_ONLY) 20140610104350 plugins/projection_/Projection_.jar
  7872d78f (LOCAL_ONLY) 20140610104350 plugins/projection_/lib/AbsoluteLayout.jar
  e71fc299 (LOCAL_ONLY) 20140610104350 plugins/projection_/lib/Common.jar
  bdddbf0c (LOCAL_ONLY) 20140610104350 plugins/projection_/lib/IJ.jar
  6f3fdc0d (LOCAL_ONLY) 20140610104350 plugins/projection_/lib/Icons.jar
  c3cdf2d0 (LOCAL_ONLY) 20140610104350 plugins/projection_/lib/REngine.jar
  6ba3fcd5 (LOCAL_ONLY) 20140610104350 plugins/projection_/lib/Rserve.jar
  269cc20e (LOCAL_ONLY) 20140610104350 plugins/projection_/lib/Rsession.jar
  902be7d2 (LOCAL_ONLY) 20140610104350 plugins/projection_/lib/ScientiFig_.jar
  9b7b3d20 (LOCAL_ONLY) 20140610104350 plugins/projection_/lib/batik-all-1.7.jar
  e822575d (LOCAL_ONLY) 20140610104350 plugins/projection_/lib/xml-apis-ext.jar
Comment 1 Mark Hiner 2014-06-11 08:07:17 CDT
Hi Benoit,

 Looking at the error method, I suspect there is some version skew where the wrong slf4j jar is being used.

 I can not reproduce this on my end with the update sites you have enabled. I see that you have a significant number of local .jars installed, so I assume that one of them is pulling in a conflicting slf4j dependency. The first thing I would want you to try is removing the local-only jars and seeing if you still have problems with File > Open...

If not, add your local jars back (e.g. via binary search: to determine which is (or are) the offender(s).

Also, as a hunch I would try eliminating the Mosaic_ToolSuite.jar first, as it has shown to conflict with parts of core Fiji (﷒0﷓,﷒1﷓)
Comment 2 Benoit Aigouy 2014-06-11 11:51:19 CDT
Hi Mark,

thanks for your comments and help. You were right, removing the mosaic tool suite folder did the job. Just as a comment, FIJI used to warn me before when I had duplicated classes (and I even think it was deleting one the duplicated jar) is it not the case any longer ?