Closed nicholasjhenry closed 10 years ago
Trying ocrevalUAtion-1.2.0-jar-with-dependencies.jar doesn't start up at all. Throws this exception:
Exception in thread "main" sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageOutputStreamSpi: Provider com.sun.media.imageioimpl.stream.ChannelImageOutputStreamSpi could not be instantiated: java.lang.IllegalArgumentException: vendorName == null!
at sun.misc.Service.fail(Service.java:120)
at sun.misc.Service.access$200(Service.java:111)
at sun.misc.Service$LazyIterator.next(Service.java:284)
at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry.java:190)
at javax.imageio.spi.IIORegistry.<init>(IIORegistry.java:121)
at javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:142)
at apple.awt.CToolkit.registerDefaultServices(CToolkit.java:1340)
at apple.awt.CToolkit.<init>(CToolkit.java:148)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:357)
at java.lang.Class.newInstance(Class.java:310)
at java.awt.Toolkit$2.run(Toolkit.java:859)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)
at java.awt.Window.getToolkit(Window.java:1177)
at java.awt.Window.init(Window.java:397)
at java.awt.Window.<init>(Window.java:433)
at java.awt.Frame.<init>(Frame.java:403)
at java.awt.Frame.<init>(Frame.java:368)
at javax.swing.JFrame.<init>(JFrame.java:158)
at eu.digitisation.MainGUI.<init>(MainGUI.java:41)
at eu.digitisation.MainGUI.main(MainGUI.java:135)
Caused by: java.lang.IllegalArgumentException: vendorName == null!
at javax.imageio.spi.IIOServiceProvider.<init>(IIOServiceProvider.java:59)
at javax.imageio.spi.ImageOutputStreamSpi.<init>(ImageOutputStreamSpi.java:74)
at com.sun.media.imageioimpl.stream.ChannelImageOutputStreamSpi.<init>(ChannelImageOutputStreamSpi.java:64)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:357)
at java.lang.Class.newInstance(Class.java:310)
at sun.misc.Service$LazyIterator.next(Service.java:282)
... 22 more
Upgrading to Java 7 (not enabled by default by Apple) resolved the problem.
It seems that Java 6 does not define two Unicode character classes used by the program. We must look for the best option to allow execution under Java 6 without loosing this feature. I open an issue
This looks like an awesome tool and would love to get it running, but throws an exception when trying to generate a report. Please let me know if you require any more information or suggest how I can debug this issue. Unfortunately I'm not a Java developer, otherwise I would be digging into this myself.
Platform
Mac OSX 10.9 ocrevalUAtion 1.2.0
Exception