Open Bug 452212 Opened 16 years ago Updated 2 years ago

"TypeError: invalid 'instanceof' operand java.net.URLClassLoader" after installing jdk-6u10-rc-bin-b28-windows-i586-p-21_jul_2008.exe

Categories

(Firefox :: General, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: ignisvulpis, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1

I maintain the Firefox extension "openinfocard" http://code.google.com/p/openinfocard/downloads/list
Since Firefox3 users experience an error message "ReferenceError: java is not defined". Today I tried whether this error still occurs with jdk-6u10-rc-bin-b28-windows-i586-p-21_jul_2008.exe and ran into the error message.
"TypeError: invalid 'instanceof' operand java.net.URLClassLoader" here:
http://code.google.com/p/openinfocard/source/browse/trunk/firefox/components/TokenComponent.js#272
This works with previous version of java.

Reproducible: Always

Steps to Reproduce:
1. Install the Firefox extension into FF3. Save to disk, then install.
2. navigate to a site that uses Information Cards e.g. https://wag.bandit-project.org/BanditIdP/index.jsp
3. Click on the Information Card icon
Actual Results:  
An alert dialog opens with the error message "TypeError: invalid 'instanceof' operand java.net.URLClassLoader

Expected Results:  
No alert but the identity card selector window opens and you can create an information card (self-issued) that you can then use to provide your claims about yourself.
This is a mass search for bugs which are in the Firefox General component, are
UNCO, have not been changed for 500 days and have an unspecified version. 

Reporter, can you please update to Firefox 3.6.10 or later, create a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles, and test again. If you still see the issue, please update this bug. If the issue is gone, please set the status to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
Still does not work in 3.6.8.
Your user agent is: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10

I found a simpler test:
- open the console and enter
  "alert(window instanceof java.net.URLClassLoader)"
- Fehler: invalid 'instanceof' operand java.net.URLClassLoader
Quelldatei: javascript:%20alert(window%20instanceof%20java.net.URLClassLoader)
Zeile: 1
Whiteboard: [CLOSEME 2010-11-01]
Version: unspecified → 3.6 Branch
When I try 
 alert(window instanceof java.net.URLClassLoader)
on Minefield I get the message "java is not defined" although the java console starts.

Mozilla/5.0 (Windows; Windows NT 6.1; rv:2.0b3pre) Gecko/20100730 Minefield/4.0b3pre

The java version is 1.6_u18.
Retried this 
 alert(window instanceof java.net.URLClassLoader)
in 
 Mozilla/5.0 (Windows NT 5.1; rv:2.0b13pre) Gecko/20110223 Firefox/4.0b13pre

The java console shows and in the error console of Minefield I get:
Error: java is not defined
Source File: javascript:%20alert(window%20instanceof%20java.net.URLClassLoader)
Line: 1
Reporter -> Are you still experiencing this issue with the latest version of Firefox 5? Does the issue occur with the latest nightly? http://nightly.mozilla.org/
When I enter "alert(window instanceof java.net.URLClassLoader)" in the console's code field in Aurora 6.0a2 (2011-0621)
I get:
 Error: invalid 'instanceof' operand java.net.URLClassLoader
 Source File: javascript:%20alert(window%20instanceof%20java.net.URLClassLoader)
 Line: 1

Did you try this one-line test on your platform and it worked? If not please set the status to confirmed.
The outcome stays the same in Aurora 6.0a2 (2011-06-27)

Error: invalid 'instanceof' operand java.net.URLClassLoader
Source File: javascript:%20alert(window%20instanceof%20java.net.URLClassLoader)
Line: 1
The same for nightly. 7.0a1 build July 1st

Error: invalid 'instanceof' operand java.net.URLClassLoader
Source File: javascript:%20alert(window%20instanceof%20java.net.URLClassLoader)
Line: 1

JRE-Version 1.6.0_26-b03 Java HotSpot(TM) Client VM
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: 3.6 Branch → Trunk
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.