Page 1 of 1

ImageJ plugin IS_OS_WINDOWS_7

PostPosted: Wed Jan 21, 2015 6:57 pm
by chriswood
Hi,

We are getting the following error when launching the OMERO->Connect to OMERO plugin
Code: Select all
(Fiji Is Just) ImageJ 2.0.0-rc-22/1.49m; Java 1.6.0_65 [64-bit]; Mac OS X 10.10.1; 17MB of 2535MB (<1%)

java.lang.NoSuchFieldError: IS_OS_WINDOWS_7
   at org.openmicroscopy.shoola.util.ui.UIUtilities.isWindowsOS(UIUtilities.java:2085)
   at org.openmicroscopy.shoola.util.ui.login.ScreenLogin.buildLogin(ScreenLogin.java:677)
   at org.openmicroscopy.shoola.util.ui.login.ScreenLogin.buildGUI(ScreenLogin.java:772)
   at org.openmicroscopy.shoola.util.ui.login.ScreenLogin.<init>(ScreenLogin.java:1047)
   at org.openmicroscopy.shoola.env.ui.SplashScreenManager.initializedView(SplashScreenManager.java:176)
   at org.openmicroscopy.shoola.env.ui.SplashScreenManager.<init>(SplashScreenManager.java:241)
   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:99)
   at org.openmicroscopy.shoola.env.init.Initializer.doInit(Initializer.java:276)
   at org.openmicroscopy.shoola.env.Container.startupInPluginMode(Container.java:486)
   at org.openmicroscopy.shoola.env.Container.startupInPluginMode(Container.java:429)
   at org.openmicroscopy.shoola.MainIJPlugin.run(MainIJPlugin.java:245)
   at ij.IJ.runUserPlugIn(IJ.java:202)
   at ij.IJ.runPlugIn(IJ.java:166)
   at ij.Executer.runCommand(Executer.java:131)
   at ij.Executer.run(Executer.java:64)
   at java.lang.Thread.run(Thread.java:695)


The same thing is happening on linux as well. I tried both systems with clean installs of Fiji, both with JRE and without, and still the same error. I was able to use SystemUtils.IS_OS_WINDOWS_7 in the commons-lang.jar from the plugin libs folder without error, so I am not sure what the problem is.

I tried java 1.7 on linux as well and had the same issue.

Also, in the plugin menu list, I seem to get all of the Ice jar files in the plugin menu (linux and mac both):
fiji_plugins copy.jpg
Screen shot of Ice in plugins
fiji_plugins copy.jpg (205.11 KiB) Viewed 1849 times


Thanks
Chris

Re: ImageJ plugin IS_OS_WINDOWS_7

PostPosted: Thu Jan 22, 2015 11:27 am
by jburel
Thanks for reporting the issue. I have opened a ticket see http://trac.openmicroscopy.org.uk/ome/ticket/12713
If you wish to be CC'd, let us know.

We are currently reworking the plugin for the coming 5.1 release.
Did you see the problem when using it in ImageJ instead of Fiji?

Regards

Jmarie

Re: ImageJ plugin IS_OS_WINDOWS_7

PostPosted: Thu Jan 22, 2015 3:21 pm
by chriswood
I does work in plain ImageJ, and without the Ice stuff in the menu. Please CC me on the ticket.

Chris