[ome-users] MasOSMenuHandler.class not found in omero_client.jar

Josh Moore josh at glencoesoftware.com
Mon Aug 29 07:34:32 BST 2011


On Aug 29, 2011, at 6:55 AM, Sindhu Emilda wrote:

> Hi All,

Hi,

> I downloaded the Omero client version 4.3.1.

Which link did you use to download the clients?

> I run the client as a Java webstart. I get the following exception when I
> run.

Which client were you starting? What do you mean you started it as a Java webstart? We don't provide webstart (yet); is someone else hosting it?

> I decompiled GuiImporter. I think the exception is caused by the call to
> macMenuFix() which calls MasOSMenuHandler.
> 
> This class is not found in the omero_client.jar

No, the MacOSMenuHandler class should either be in the insight jar for insight:

~/git/components/insight/build $ jar tvf ../OUT/dist/omero.insight.jar  | grep MacOS
  1467 Mon Aug 29 08:28:44 CEST 2011 org/openmicroscopy/shoola/util/ui/MacOSMenuHandler.class
  1467 Mon Aug 29 08:28:46 CEST 2011 util/org/openmicroscopy/shoola/util/ui/MacOSMenuHandler.class

or for the importer in the the omero-clients-util jar:

~/git/components $ cd ..
~/git $ jar tvf lib/repository/omero-clients-util-r7223-b1483.jar  | grep Mac
  1467 Wed Apr 21 09:23:46 CEST 2010 org/openmicroscopy/shoola/util/ui/MacOSMenuHandler.class

Cheers,
~Josh

> Is this a bug or am I missing something here. I really appreciate if some
> one can point me in the right direction.
> 
> Exception appended below.
> 
> Thank,
> Emilda
> 
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.sun.javaws.Launcher.executeApplication(Launcher.java:1914)
> at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1847)
> at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1609)
> at com.sun.javaws.Launcher.run(Launcher.java:138)
> at java.lang.Thread.run(Thread.java:680)
> Caused by: java.lang.NoClassDefFoundError:
> org/openmicroscopy/shoola/util/ui/MacOSMenuHandler
> at ome.formats.importer.Main.main(Main.java:34)
> ... 9 more
> Caused by: java.lang.ClassNotFoundException:
> org.openmicroscopy.shoola.util.ui.MacOSMenuHandler
> 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 com.sun.jnlp.JNLPClassLoader.findClass(JNLPClassLoader.java:332)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> 
> 
> Regards,
> Sindhu Emilda

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 243 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20110829/74f833b5/attachment.sig>


More information about the ome-users mailing list