Closed Bug 383302 Opened 19 years ago Closed 13 years ago

Exception in LiveConnect breaks Java Plugin

Categories

(Core Graveyard :: Java: OJI, defect)

1.8 Branch
x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: pb, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 I tried to call a Method from Java via LiveConnect with a bogus Parameter, expecting an excpetion to occur. The exception had been raised successfuly but when i tried to run the page a second time i got a strange error message in my firebug window "uncaught exception: internal error: Can't get Java class name usingjava.lang.Class.getName()" This occurs as long as you dont't restart firfox. If you did everything works fine until you repeat the step above. I tried to google if there was an solution for this error but i didn't find one. I run JRE 1.6 Reproducible: Always Steps to Reproduce: 1. Download Firefox 2.0.0.4 2. Download JRE 1.6 3. Install Firebug extension 4. Set up a simple html page with following script code try{ // run this method with a wrong type java.lang.Integer.parseInt("Hello"); } catch(e){ console.log(e); } 5. Look at the output in firebug <no output> 6. Run the Page a second time 7. Look at the output in firebug Actual Results: "uncaught exception: internal error: Can't get Java class name usingjava.lang.Class.getName()"
Version: unspecified → 2.0 Branch
"internal error" is a javaism it isn't part of our code. report the problem to your java vendor. if they have a problem, let them complain to us, otherwise, we assume it's their fault (as the error is theirs and only they can explain it).
Component: General → Java: OJI
Product: Firefox → Core
QA Contact: general → java.oji
Summary: Exception in LiveConnect crashes Java Plugin → Exception in LiveConnect breaks Java Plugin
Version: 2.0 Branch → 1.8 Branch
Product: Core → Core Graveyard
Mass-closing bugs in the "OJI" component: OJI plugin integration was replaced with npruntime long ago, and these bugs appear to be irrelevant now. If there is in fact a real bug that remains, please file it new in the "Core" product, component "Plug-ins".
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.