Error when trying to view an embedded java

Bug #374072 reported by Carlos Arnau Ros
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
icedtea-gcjwebplugin (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: firefox-3.0

I'm trying to view a web that contains java, but instead a java plugin, I can only see a grey square.
Website: http://descartes.cnice.mec.es/materiales_didacticos/trigonometria/trigo1.htm

Additional information:

carlos@carlos-desktop:~$ firefox
../IcedTeaPlugin.cc:3900: Error: Failed to create input pipe: Permission denied
../IcedTeaPlugin.cc:1662: Error: started appletviewer

(firefox:13975): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4061: Error: Failed to write bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4075: Error: Failed to flush bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4061: Error: Failed to write bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4075: Error: Failed to flush bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4061: Error: Failed to write bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4075: Error: Failed to flush bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4061: Error: Failed to write bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4075: Error: Failed to flush bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4061: Error: Failed to write bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4075: Error: Failed to flush bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4061: Error: Failed to write bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4075: Error: Failed to flush bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4061: Error: Failed to write bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4075: Error: Failed to flush bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4061: Error: Failed to write bytes to output channel

(firefox:13975): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4075: Error: Failed to flush bytes to output channel

I tried run firefox with sudo, but firefox crashes:

carlos@carlos-desktop:~$ sudo firefox
java.io.FileNotFoundException: /root/.icedteaplugin/java.stderr (No such file or directory)
 at java.io.FileOutputStream.open(Native Method)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
 at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
 at sun.applet.PluginMain.<init>(PluginMain.java:125)
 at sun.applet.PluginMain.main(PluginMain.java:111)
java.io.FileNotFoundException: /root/.icedteaplugin/icedtea-plugin-to-appletviewer (No such file or directory)
 at java.io.FileInputStream.open(Native Method)
 at java.io.FileInputStream.<init>(FileInputStream.java:137)
 at java.io.FileInputStream.<init>(FileInputStream.java:96)
 at sun.applet.PluginMain.connect(PluginMain.java:150)
 at sun.applet.PluginMain.<init>(PluginMain.java:132)
 at sun.applet.PluginMain.main(PluginMain.java:111)
java.lang.NullPointerException
 at sun.applet.PluginMain.<init>(PluginMain.java:145)
 at sun.applet.PluginMain.main(PluginMain.java:111)
Something very bad happened. I don't know what to do, so I am going to exit :(

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia ath_hal
Package: firefox-3.0 3.0.10+nobinonly-0ubuntu0.9.04.1
ProcEnviron:
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
Carlos Arnau Ros (carnau) wrote :
Revision history for this message
Carlos Arnau Ros (carnau) wrote :

I tried deleting the plugin IcedTeaPlugin and the package java-jre6-plugin but instead of going better, everything has gone worse: (

I have reinstalled firefox and the bar would not update addresses as addresses were changing (eg. showing www.google.com when i was on yahoo website and the previous page visited was google). Also buttons for previous and next page don't displayed correctly . Not to mention that bookmarks menu appeared empty.

After creating a new profile with "firefox-ProfileManager", I reinstalled the package "java-jre6-plugin" and all is working properly, including java.

I saw this 2 errors if i use the old profile:

Error: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: file:///usr/lib/firefox-3.0.10/components/nsBrowserGlue.js :: bg__initPlaces :: line 449" data: no]
Source File: file:///usr/lib/firefox-3.0.10/components/nsBrowserGlue.js
Line: 449

Error: uncaught exception: [Exception... "Component returned failure code: 0x8007000e (NS_ERROR_OUT_OF_MEMORY) [nsIDocShellHistory.useGlobalHistory]" nsresult: "0x8007000e (NS_ERROR_OUT_OF_MEMORY)" location: "JS frame :: chrome://browser/content/browser.js :: prepareForStartup :: line 764" data: no]

I kept the default profile files, if you need some to investigate, do not hesitate to ask.

Ps: Sorry for my bad english ;)

Revision history for this message
exactt (giesbert) wrote :

i have a similar error message on the console when visting http://imorder.de

here is the output (using firefox-3.5 on jaunty amd64):
../IcedTeaPlugin.cc:3858: Error: create process
../IcedTeaPlugin.cc:1666: Error: started appletviewer

(firefox-3.5:11205): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4067: Error: Failed to write bytes to output channel

(firefox-3.5:11205): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4081: Error: Failed to flush bytes to output channel

(firefox-3.5:11205): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4067: Error: Failed to write bytes to output channel

(firefox-3.5:11205): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4081: Error: Failed to flush bytes to output channel

(firefox-3.5:11205): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4067: Error: Failed to write bytes to output channel

(firefox-3.5:11205): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4081: Error: Failed to flush bytes to output channel

(firefox-3.5:11205): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4067: Error: Failed to write bytes to output channel

(firefox-3.5:11205): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
../IcedTeaPlugin.cc:4081: Error: Failed to flush bytes to output channel

affects: firefox-3.0 (Ubuntu) → icedtea-gcjwebplugin (Ubuntu)
Changed in icedtea-gcjwebplugin (Ubuntu):
status: New → Confirmed
Revision history for this message
exactt (giesbert) wrote :

ups. seems like my problem is a different one: https://bugs.launchpad.net/bugs/359407

sorry for the confusion...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.