Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105073 - Java Applets don't load with Firefox 1.0.6
Summary: Java Applets don't load with Firefox 1.0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-06 15:11 UTC by Wolfgang Illmeyer
Modified: 2005-09-08 11:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Illmeyer 2005-09-06 15:11:45 UTC
Firefox refuses to load any applets using sun jre. instead, java throws an
exception. Reverting back to Firefox 1.0.3 solves that problem, I'm not sure
about the versions in between though.

see http://forums.gentoo.org/viewtopic-t-366722-highlight-.html for a detailed
description

Reproducible: Always
Steps to Reproduce:
1. install firefox 1.0.6
2. install sun jre
3. open a page containing an applet with firefox

Actual Results:  
the java console shows an exception:

java.lang.ClassNotFoundException: GetHost.class <-- contains the applet
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:162)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:619)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1879)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:548)
at sun.applet.AppletPanel.run(AppletPanel.java:299)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.net.ConnectException: Invalid argument
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at sun.net.NetworkClient.doConnect(NetworkClient.java:137)
at sun.plugin.net.protocol.http.HttpClient.doConnect(HttpClient.java:106)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
at sun.plugin.net.protocol.http.HttpClient.<init>(HttpClient.java:41)
at sun.plugin.net.protocol.http.HttpClient.New(HttpClient.java:62)
at
sun.plugin.net.protocol.http.HttpURLConnection.createConnection(HttpURLConnection.java:101)
at
sun.plugin.net.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:158)
at
sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:393)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272)
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:263)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
... 9 more 

Expected Results:  
It should have loaded and run the applet
Comment 1 Kim Pedersen 2005-09-08 02:20:47 UTC
I cannot comfirm this bug.
I use Firefox version 1.0.6-r5 and have created a symlink to my jre as the
official SUN guide suggests: 

http://java.sun.com/j2se/1.4.2/manual_install_linux.html

Regards Kim
Comment 2 Wolfgang Illmeyer 2005-09-08 11:44:03 UTC
The last version I could confirm the bug with was 1.0.6-r2, an update to
1.0.6-r5 solved the problem for me.