You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When SCIFIO's JAIIIOServiceImpl is loaded (because an ImageJ2 context is created) at startup of Fiji, I sometimes get this:
[WARNING] Invalid service: io.scif.services.JAIIIOServiceImpl
java.lang.NoClassDefFoundError: io/scif/media/imageioimpl/plugins/jpeg2000/J2KImageReaderSpi
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at org.scijava.service.ServiceHelper.createService(ServiceHelper.java:213)
at org.scijava.service.ServiceHelper.createExactService(ServiceHelper.java:181)
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:156)
at org.scijava.service.ServiceHelper.loadServices(ServiceHelper.java:127)
at org.scijava.Context.<init>(Context.java:162)
at org.scijava.Context.<init>(Context.java:120)
at org.scijava.Context.<init>(Context.java:81)
at org.scijava.Context.<init>(Context.java:71)
at ij.IJ.getContext(IJ.java)
at ij.IJ.runPlugIn(IJ.java)
at fiji.Main$1.run(Main.java:116)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.ClassNotFoundException: io.scif.media.imageioimpl.plugins.jpeg2000.J2KImageReaderSpi
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 30 more
My suspicion is that two of the following files in the class path are the culprit:
jai-codec-1.1.3.jar
jai-core-1.1.3.jar
jai_imageio-1.0.1.jar
jai_codec.jar
jai_core.jar
The text was updated successfully, but these errors were encountered:
When SCIFIO's JAIIIOServiceImpl is loaded (because an ImageJ2 context is created) at startup of Fiji, I sometimes get this:
My suspicion is that two of the following files in the class path are the culprit:
The text was updated successfully, but these errors were encountered: