Page 1 of 1

Unforsseen Error Omero.insight_64 5.2.0 Windows 7

PostPosted: Thu Jul 14, 2016 4:39 pm
by jsluka
My previous version of Omero.insight (5.1.2) worked fine on my Windows 7 system. Our server recently migrated and I need 5.2.0. Downloaded the 5.2.0 distribution and when I launch OMERO.insight_64.exe (or the 32 bit version) it crashes with an "An unforseen error occured, the application will exit. ..." message.

error.log has:
Abnormal termination due to an uncaught exception.
java.lang.NoClassDefFoundError: ome/model/ModelBased
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.openmicroscopy.shoola.util.ui.login.ServerEditor.initComponents(ServerEditor.java:230)
at org.openmicroscopy.shoola.util.ui.login.ServerEditor.<init>(ServerEditor.java:432)
at org.openmicroscopy.shoola.util.ui.login.ServerEditor.<init>(ServerEditor.java:400)
at org.openmicroscopy.shoola.util.ui.login.ScreenLogin.<init>(ScreenLogin.java:1045)
at org.openmicroscopy.shoola.env.ui.SplashScreenManager.initializedView(SplashScreenManager.java:199)
at org.openmicroscopy.shoola.env.ui.SplashScreenManager.<init>(SplashScreenManager.java:263)
at org.openmicroscopy.shoola.env.ui.SplashScreenProxy.<init>(SplashScreenProxy.java:123)
at org.openmicroscopy.shoola.env.ui.UIFactory.makeSplashScreen(UIFactory.java:59)
at org.openmicroscopy.shoola.env.init.SplashScreenInit.execute(SplashScreenInit.java:98)
at org.openmicroscopy.shoola.env.init.Initializer.doInit(Initializer.java:276)
at org.openmicroscopy.shoola.env.Container.runStartupProcedure(Container.java:124)
at org.openmicroscopy.shoola.env.Container.access$000(Container.java:74)
at org.openmicroscopy.shoola.env.Container$1.run(Container.java:170)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: ome.model.ModelBased
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 26 more
Abnormal termination due to an uncaught exception.
java.lang.NoClassDefFoundError: ome/model/ModelBased
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.openmicroscopy.shoola.util.ui.login.ServerEditor.initComponents(ServerEditor.java:230)
at org.openmicroscopy.shoola.util.ui.login.ServerEditor.<init>(ServerEditor.java:432)
at org.openmicroscopy.shoola.util.ui.login.ServerEditor.<init>(ServerEditor.java:400)
at org.openmicroscopy.shoola.util.ui.login.ScreenLogin.<init>(ScreenLogin.java:1045)
at org.openmicroscopy.shoola.env.ui.SplashScreenManager.initializedView(SplashScreenManager.java:199)
at org.openmicroscopy.shoola.env.ui.SplashScreenManager.<init>(SplashScreenManager.java:263)
at org.openmicroscopy.shoola.env.ui.SplashScreenProxy.<init>(SplashScreenProxy.java:123)
at org.openmicroscopy.shoola.env.ui.UIFactory.makeSplashScreen(UIFactory.java:59)
at org.openmicroscopy.shoola.env.init.SplashScreenInit.execute(SplashScreenInit.java:98)
at org.openmicroscopy.shoola.env.init.Initializer.doInit(Initializer.java:276)
at org.openmicroscopy.shoola.env.Container.runStartupProcedure(Container.java:124)
at org.openmicroscopy.shoola.env.Container.access$000(Container.java:74)
at org.openmicroscopy.shoola.env.Container$1.run(Container.java:170)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: ome.model.ModelBased
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 26 more
Exception in thread "Initializer"

Re: Unforsseen Error Omero.insight_64 5.2.0 Windows 7

PostPosted: Fri Jul 15, 2016 9:28 am
by Dominik
It seems that Insight is missing an essential library. Maybe the file is damaged. Can you download and extract it again? I'd recommend that you use the latest version (5.2.4), this will work with any 5.2.x server.
Which Java version do you use by the way?

Regards,
Dominik

Re: Unforsseen Error Omero.insight_64 5.2.0 Windows 7

PostPosted: Mon Jul 18, 2016 7:05 pm
by jsluka
The 5.2.4 version appears to work. I'm using Java 8.91, or perhaps several Java's since various packages tend to download their own :(

Re: Unforsseen Error Omero.insight_64 5.2.0 Windows 7

PostPosted: Tue Jul 19, 2016 8:08 am
by Dominik
That's good to hear, thanks for your feedback. I still suppose that there went something wrong with the download/extraction process before. But it's better to use the latest version anyway :)

Regards,
Dominik