← Back to team overview

vopdcteam team mailing list archive

[Bug 532188] Re: 1.5rc2 applet fails to launch when running in Safari

 

Just for the information: I got this from Java console at Andy
Lawrence's Mac when testing http://ocl.sai.msu.ru/catalog with his
laptop (the applet did not work):


MRJ Plugin for Mac OS X v1.0.1
[starting up Java Applet Security @ Mon May 17 17:53:01 PDT 2010]
java.lang.UnsupportedClassVersionError: Bad version number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:173)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:145)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:659)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:723)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1873)
        at jep.AppletFramePanel.createApplet(Unknown Source)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:652)
        at sun.applet.AppletPanel.run(AppletPanel.java:326)
        at jep.AppletFramePanel.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:613)

-- 
1.5rc2 applet fails to launch when running in Safari
https://bugs.launchpad.net/bugs/532188
You received this bug notification because you are a member of VO-PDC
Team, which is subscribed to WebSampConnector.

Status in VO-PDC WebSampConnector: New

Bug description:
I've integrated WebSampConnector with my website (http://astrogrid.roe.ac.uk/ravioli/). I'm using the latest 1.5rc2 version (as the documentation seems to be referring to this).

After unzipping the distro, if I open the 'demo.html' from from disk with firefox, then the demo works find, and I can connect to a hub.

However, if I do the same with Safari, the demo fails. In particular, the 'applet launch' dialogue does not appear. But, if I do the same with the 1.5 distro(downloaded from the voparis website, not launchpad), this launches the applet and connects to the hub fine.





References