Closed Bug 383200 Opened 17 years ago Closed 14 years ago

Calling methods in Java applet results in error part of the time

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows Server 2003
defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: pcloches, Unassigned)

Details

(Whiteboard: [CLOSEME 5-15-2010])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

I am hosting an Applet in a page which uses reflection to call Javascript on my page, and I call methods in the Applet using the document.appletid.method() strategy.

The first time the applet is run, everything is fine. However, on subsequent reloads of the page, the call which worked before results in the following js error:

uncaught exception: internal error: Can't get Java class name usingjava.lang.Class.getName()

I have to leave Firefox and restart it for the applet to work again.

The only results I could find Googling for this error was the following page:
http://developer.mozilla.org/en/docs/Talk:Core_JavaScript_1.5_Guide:LiveConnect_Overview:JavaScript_to_Java_Communication

I am marking this as Major because I believe that this is a serious bug for pages which use Javascript<->Java Applet interaction.

Reproducible: Sometimes

Steps to Reproduce:
I am working to produce a public page where this can be demonstrated. At the present time the site the applet is hosted on is a very confidential project. I will update the bug when I finish the page.
Actual Results:  
Internal error message:

uncaught exception: internal error: Can't get Java class name usingjava.lang.Class.getName()

Expected Results:  
The applet should continue to be usable on reloading.
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 5-15-2010]
Version: unspecified → 2.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.x or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.