chrome plugin crashes when calling javascript function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Iced Tea |
Invalid
|
Medium
|
|||
chromium-browser (Ubuntu) |
Invalid
|
Undecided
|
Gregory Berkley | ||
icedtea-web (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: icedtea6-plugin
Working with chrome on ubuntu, have a basic java applet and javascript interaction. The javascript to java goes fine, but when I try having the java fire a javascript method, the chrome java plugin crashes. This all works fine in Fire Fox.
The Error:
The following plug-in has crashed: icedTea NPR Web Broweser Plugin (using IcedTea6 1.9.7 (6b20-1.
The HTML:
<object height='300' id='thisappleta
<param name='classid' value='
<param name='codebase' value='/java/'>
</object>
The Javascript:
function updateWebPage(){
alert("java is touching me");
}
The Java:
import java.applet.*;
import java.awt.*;
import netscape.
import javax.swing.*;
public class JSHelloWorld extends JApplet {
JTextArea txt = new JTextArea(100,100);
public void init(){
JSObject jso = JSObject.
try {
jso.
}
catch (Exception ex) {
}
}
public JSHelloWorld() {
}
public void setText(String s)
{
}
The problem looks like it was with OpenJDK.
sudo aptitude remove icedtea6-plugin
sudo aptitude install sun-java6-plugin
Fixed the problem.
Changed in icedtea: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in chromium-browser (Ubuntu): | |
assignee: | nobody → Gregory Berkley (berkley-greg) |
Changed in icedtea: | |
status: | Confirmed → Invalid |
Changed in chromium-browser (Ubuntu): | |
status: | Incomplete → Invalid |
Status changed to 'Confirmed' because the bug affects multiple users.