I've created a patch that fixes this issue. Tested against a site which
would previously fail due to no CODE attribute:

http://www.jeacle.ie/mortgage/ca/

GCJ PLUGIN: thread 0x6229b0: plugin_in_pipe_callback return
  PIPE: appletviewer wrote: status starting applet...
  PIPE: appletviewer read: instance-15261-5
  PIPE: appletviewer read: width 625
  PIPE: appletviewer read: instance-15261-5
  PIPE: appletviewer read: height 875
Jar string: mortgage-en.jar
jars length: 1
initializing JNLPRuntime...
  PIPE: appletviewer wrote: status Applet loaded.


Timothy's reported applets on jigzone,com still fail since they don't have a 
WIDTH or HEIGHT attribute specified.

GCJ PLUGIN: thread 0x6229b0: GCJ_SetWindow return
Warning: <embed> tag requires width attribute.


The Bus route planning applets reported by HappySpaceInvader still fail, but 
not because of the tag. They fail due to Javascript support exceptions:

** ACIS Live v2.1 - jBusMapEngine v4.3
**
** Author: Robert Tinsley
** Email:  [EMAIL PROTECTED]

  PIPE: appletviewer wrote: status error: java.lang.NoClassDefFoundError: 
netscape/javascript/JSObject.
java.lang.NoClassDefFoundError: netscape/javascript/JSObject
        at BusMap.init(BusMap.java:76)
        at sun.applet.AppletPanel.run(AppletPanel.java:436)
        at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.ClassNotFoundException: netscape.javascript.JSObject
        at 
net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:700)
        at 
net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:657)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
        ... 3 more
  PIPE: appletviewer wrote: status Start: applet not initialized.

-- 
applet fails to load with nullpointerexception
https://bugs.launchpad.net/bugs/199732
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to