Error starting homebanking Applet

Bug #157721 reported by Nikolaj Sheller
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Iced Tea
Fix Released
Medium
icedtea-java7 (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Hardy by David Filiatrault
Nominated for Intrepid by Nikolaj Sheller

Bug Description

Description:
I have just upgraded from Ubuntu 7.04 to 7.10 on a 64 bit machine.
I have added the "http://people.ubuntu.com/~doko/ubuntu/ gutsy/" repository to solve bug #154540.
Java tests indicate my Java-vm is working (e.g. http://www.java.com/en/download/help/testvm.xml).
My homebanking applet (https://www.netbank.nordea.dk/netbank/) does not start.

Starting firefox in a console, gives me the following error:
Caused by: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.DefaultSSLContextImpl)

To reproduce:
Browse to https://www.netbank.nordea.dk/netbank/, see that the applet does not start, and read console output.
Anybody should be able to load this applet, as it should present a login prompt.

It seems there is some incompatibility or missing implementation from earlier versions of the Java-vm.

Tags: 8.10 intrepid
Revision history for this message
Nikolaj Sheller (nikolajsheller) wrote :

I forgot to mention:
The java test http://www.java.com/en/download/installed.jsp states my vm-version is 1.7.0.
Synaptic states the icedtea-java7-plugin version is "7~b22-1.5~20071018-0ubuntu1".

Revision history for this message
Koen (koen-beek) wrote :

Hi,

the site does work with the sun-java6-plugin

main error message output :
GCJ PLUGIN: thread 0x805e528: plugin_in_pipe_callback: setting status load: class com.ibm.cbt.thinclient.netbank.LogonApplet.class not found.
load: class com.ibm.cbt.thinclient.netbank.LogonApplet.class not found.

see full output in attached file

  Koen

Changed in icedtea-java7:
status: New → Confirmed
Revision history for this message
Nikolaj Sheller (nikolajsheller) wrote :

The site works with the sun-java6-plugin for 32 bit. SUN has not released at 64 bit version of the plugin yet.
I have still to figure out how to get my browser to run in 32 bit mode, so I can use SUN's plugin.

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

It's true, sun-java6-plugin is only available for 32 bit, but icedtea-java7 provides a browser plugin for 64bit, so it should basically work, but there are still some compatibly problems.

You can't get a browser, which is compiled for 64bit, to run in 32bit mode. You can either download a 32bit-version and set it up with lib32 (like it is done with Adobe Reader from the mediabuntu rep.), or you set up a 32bit chroot and run it there.

Revision history for this message
Nikolaj Sheller (nikolajsheller) wrote :

This is valuable information Thank you.
I am trying to point out what I consider serious compatibility problems with the Icedtea plugin, that keep it from being able to replace sun's plugin on my machine.
I would really like to see IcedTea gain the maturity it needs to compete, and to have Ubuntu "just work".

This has been the biggest problem for me on 7.10. So far I'm loving the rest of the 7.10 release.

-Nikolaj

Revision history for this message
In , Mark J. Wielaard (3y9m2vcw-ll9d-fkzsxrqg) wrote :

http://chat.paintchat.jp/~aotama/paintchat01/paintchat.html:

GCJ PLUGIN: thread 0x7615e0: plugin_in_pipe_callback: setting status
HTML parsing: incorrect value for width/height attribute
HTML parsing: incorrect value for width/height attribute
java.lang.NumberFormatException: For input string: "100%"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:66)
        at java.lang.Integer.parseInt(Integer.java:485) PIPE: plugin
read: status HTML parsing: incorrect value for width/height attribute
GCJ PLUGIN: thread 0x7615e0: plugin_in_pipe_callback return

        at java.lang.Integer.valueOf(Integer.java:576)
        at sun.applet.AppletViewerPanel.getWidth(AppletViewerPanel.java:134)
        at sun.applet.AppletPanel.init(AppletPanel.java:216)
        at sun.applet.PluginAppletViewer.<init>(PluginAppletViewer.java:109)
        at sun.applet.PluginAppletViewerFactory.createAppletViewer(PluginAppletViewer.java:56)
        at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:808)
        at sun.applet.PluginAppletViewer.parse(PluginAppletViewer.java:744)
        at sun.applet.PluginMain.start(PluginMain.java:193)
        at sun.applet.PluginMain.main(PluginMain.java:73)
  PIPE: appletviewer wrote: status starting applet...GCJ PLUGIN:
thread 0x7615e0: plugin_in_pipe_callback
GCJ PLUGIN: thread 0x7615e0: plugin_in_pipe_callback: setting status
starting applet...
  PIPE: plugin read: status starting applet...
GCJ PLUGIN: thread 0x7615e0: plugin_in_pipe_callback return

Revision history for this message
exactt (giesbert) wrote :
Download full text (12.9 KiB)

another site not working not working with firefox, icedtea plugin and AMD64 arch:

https://www.elsteronline.de/eportal/eop/auth/AuthentisierungDispatcher.tax?sicherheitsverfahren=0

console output:
GCJ PLUGIN: thread 0x6195c0: NP_Initialize
GCJ PLUGIN: thread 0x6195c0: plugin_test_appletviewer
GCJ PLUGIN: thread 0x6195c0: plugin_test_appletviewer return
GCJ PLUGIN: thread 0x6195c0: NP_Initialize: using /usr/lib/jvm/java-7-icedtea/jre/lib/amd64/../../bin/pluginappletviewer
GCJ PLUGIN: thread 0x6195c0: NP_Initialize return
GCJ PLUGIN: thread 0x6195c0: GCJ_New
GCJ PLUGIN: thread 0x6195c0: plugin_data_new
GCJ PLUGIN: thread 0x6195c0: plugin_data_new return
GCJ PLUGIN: thread 0x6195c0: plugin_get_documentbase
GCJ PLUGIN: thread 0x6195c0: plugin_get_documentbase return
GCJ PLUGIN: thread 0x6195c0: GCJ_New: creating input fifo: /home/max/.gcjwebplugin/gcj-instance-10462-0-appletviewer-to-plugin
GCJ PLUGIN: thread 0x6195c0: GCJ_New: created input fifo: /home/max/.gcjwebplugin/gcj-instance-10462-0-appletviewer-to-plugin
GCJ PLUGIN: thread 0x6195c0: GCJ_New: creating output fifo: /home/max/.gcjwebplugin/gcj-instance-10462-0-plugin-to-appletviewer
GCJ PLUGIN: thread 0x6195c0: GCJ_New: created output fifo: /home/max/.gcjwebplugin/gcj-instance-10462-0-plugin-to-appletviewer
GCJ PLUGIN: thread 0x6195c0: plugin_start_appletviewer
GCJ PLUGIN: thread 0x6195c0: plugin_start_appletviewer return
GCJ PLUGIN: thread 0x6195c0: GCJ_New: got confirmation that appletviewer is running.
GCJ PLUGIN: thread 0x6195c0: plugin_create_applet_tag
GCJ PLUGIN: thread 0x6195c0: plugin_create_applet_tag return
GCJ PLUGIN: thread 0x6195c0: plugin_send_message_to_appletviewer
  PIPE: plugin wrote: instance-10462-0
GCJ PLUGIN: thread 0x6195c0: plugin_send_message_to_appletviewer return
GCJ PLUGIN: thread 0x6195c0: plugin_send_message_to_appletviewer
  PIPE: plugin wrote: tag https://www.elsteronline.de/eportal/KonfigurationsAssistentSwitch.tax?RequestKeys.KONFIGURATIONS_ASSISTENT_WORKFLOW=Y9jwqYDWdCr3YdU&schritt=2&javascript=1&jre=1.1&jre=1.1.1&jre=1.1.2&jre=1.1.3&jre=1.2&jre=1.2.1&jre=1.2.2&jre=1.3&jre=1.3.1&jre=1.4&jre=1.4.1&jre=1.4.2&jre=1.5&jre=1.6&jre=1.7&jre=1.7.0_00 <EMBED CODE="de.elster.portal.applet.ElsterAppletAnalyze.class" CODEBASE="/eportal/applet" ARCHIVE="ElsterAppletAnalyze.jar" HEIGHT="0" WIDTH="0" ><PARAM NAME="type" VALUE="application/x-java-applet;version=1.3"><PARAM NAME="name" VALUE="elsteranalyze"><PARAM NAME="scriptable" VALUE="false"><PARAM NAME="sessionid" VALUE="c0a8041630e1ba796df200f546629139d17dbfafb8a3.e3qKa3eKbNuLe3aKa3uSah4Nay0"><PARAM NAME="clientredirect" VALUE="/eportal/KonfigurationsAssistent.tax"><PARAM NAME="modus" VALUE="normal"><PARAM NAME="workflow" VALUE="Y9jwqYDWdCr3YdU"><PARAM NAME="portalauspraegung" VALUE="eop"><PARAM NAME="clientlog" VALUE="aus"><PARAM NAME="cookiesenabled" VALUE="an"></EMBED>
GCJ PLUGIN: thread 0x6195c0: plugin_send_message_to_appletviewer return
GCJ PLUGIN: thread 0x6195c0: GCJ_New return
GCJ PLUGIN: thread 0x6195c0: NP_GetValue
GCJ PLUGIN: thread 0x6195c0: NP_GetValue: returning plugin description.
GCJ PLUGIN: thread 0x6195c0: NP_GetValue return
GCJ PLUGIN: thread 0x6195c0: GCJ_GetValue
GCJ PLUGIN: thread 0x6195c0:...

Revision history for this message
exactt (giesbert) wrote :
Download full text (16.4 KiB)

as well as:
http://www.ingrammicro.de/ec/imorder/

gives output:
GCJ PLUGIN: thread 0x6195c0: GCJ_Destroy
GCJ PLUGIN: thread 0x6195c0: plugin_send_message_to_appletviewer
GCJ PLUGIN: thread 0x6195c0: plugin_send_message_to_appletviewer return
GCJ PLUGIN: thread 0x6195c0: plugin_stop_appletviewer
GCJ PLUGIN: thread 0x6195c0: plugin_stop_appletviewer return
GCJ PLUGIN: thread 0x6195c0: plugin_data_destroy
GCJ PLUGIN: thread 0x6195c0: GCJ_New: deleting output fifo: /home/max/.gcjwebplugin/gcj-instance-10462-0-plugin-to-appletviewer
GCJ PLUGIN: thread 0x6195c0: GCJ_New: deleted output fifo: /home/max/.gcjwebplugin/gcj-instance-10462-0-plugin-to-appletviewer
GCJ PLUGIN: thread 0x6195c0: GCJ_New: deleting input fifo: /home/max/.gcjwebplugin/gcj-instance-10462-0-appletviewer-to-plugin
GCJ PLUGIN: thread 0x6195c0: GCJ_New: deleted input fifo: /home/max/.gcjwebplugin/gcj-instance-10462-0-appletviewer-to-plugin
GCJ PLUGIN: thread 0x6195c0: plugin_data_destroy return
GCJ PLUGIN: thread 0x6195c0: GCJ_Destroy return
GCJ PLUGIN: thread 0x6195c0: NP_Shutdown
GCJ PLUGIN: thread 0x6195c0: NP_Shutdown return
GCJ PLUGIN: thread 0x6195c0: NP_Initialize
GCJ PLUGIN: thread 0x6195c0: plugin_test_appletviewer
GCJ PLUGIN: thread 0x6195c0: plugin_test_appletviewer return
GCJ PLUGIN: thread 0x6195c0: NP_Initialize: using /usr/lib/jvm/java-7-icedtea/jre/lib/amd64/../../bin/pluginappletviewer
GCJ PLUGIN: thread 0x6195c0: NP_Initialize return
GCJ PLUGIN: thread 0x6195c0: GCJ_New
GCJ PLUGIN: thread 0x6195c0: plugin_data_new
GCJ PLUGIN: thread 0x6195c0: plugin_data_new return
GCJ PLUGIN: thread 0x6195c0: plugin_get_documentbase
GCJ PLUGIN: thread 0x6195c0: plugin_get_documentbase return
GCJ PLUGIN: thread 0x6195c0: GCJ_New: creating input fifo: /home/max/.gcjwebplugin/gcj-instance-10462-1-appletviewer-to-plugin
GCJ PLUGIN: thread 0x6195c0: GCJ_New: created input fifo: /home/max/.gcjwebplugin/gcj-instance-10462-1-appletviewer-to-plugin
GCJ PLUGIN: thread 0x6195c0: GCJ_New: creating output fifo: /home/max/.gcjwebplugin/gcj-instance-10462-1-plugin-to-appletviewer
GCJ PLUGIN: thread 0x6195c0: GCJ_New: created output fifo: /home/max/.gcjwebplugin/gcj-instance-10462-1-plugin-to-appletviewer
GCJ PLUGIN: thread 0x6195c0: plugin_start_appletviewer
GCJ PLUGIN: thread 0x6195c0: plugin_start_appletviewer return
GCJ PLUGIN: thread 0x6195c0: GCJ_New: got confirmation that appletviewer is running.
  PIPE: appletviewer wrote: runningGCJ PLUGIN: thread 0x6195c0: plugin_create_applet_tag

GCJ PLUGIN: thread 0x6195c0: plugin_create_applet_tag return
GCJ PLUGIN: thread 0x6195c0: plugin_send_message_to_appletviewer
  PIPE: plugin wrote: instance-10462-1
GCJ PLUGIN: thread 0x6195c0: plugin_send_message_to_appletviewer return
GCJ PLUGIN: thread 0x6195c0: plugin_send_message_to_appletviewer
  PIPE: plugin wrote: tag http://www.ingrammicro.de/ec/imorder/ <EMBED CODE="App_IMOrder.class" ARCHIVE="http://ec.ingrammicro.de/java/obs/app_imorder.jar" HEIGHT="276" WIDTH="468" ><PARAM NAME="LogoText" VALUE="INGRAM MICRO GERMANY IM.ORDER 2005"><PARAM NAME="Company" VALUE="DE"><PARAM NAME="BranchNr" VALUE="44"><PARAM NAME="UserID" VALUE="000"><PARAM NAME="Language" VALUE="DE"><PARAM NAME="TabPanel" VALUE="0...

Revision history for this message
Tommy Vestermark (tov) wrote :

I agree with Nikolaj, that this bug is not a duplicate of #152362 as stated in https://bugs.launchpad.net/ubuntu/+source/icedtea-java7/+bug/152362/comments/15. In Nikolajs first comments to this bug he explicitly states, that he uses the updated b22, which solves bug #152362 and enables him to pass the java test at http://www.java.com/en/download/installed.jsp.

I can also confirm that I could not use my homebanking application either (allthough a different bank, it seemed to be fairly similar failure output).

Revision history for this message
bludhound (mms-bludhound) wrote :

I have installed and used icedtea-java7 for the first time today, and it seemed to run fine with most applets I have encountered, until I tried logging in to my banking application. I got an identical error message.

Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

I think the latest source code in the hg should contain a fix for the SSL/Crypto problem. I'm having problems compiling the iced-tea from the latest version on the repository.

http://icedtea.classpath.berkeleysignal.com/wiki/Main_Page

Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

This bug seems to exists because by default the ca-bundle is searched from directory which doesn't exists by default , /etc/pki/tls/certs/ca-bundle.crt.

To get a little further I simply copied existing CA certs from /etc/ssl/certs/ca-certificates.crt to /etc/pki/tls/certs/ca-bundle.crt.

I think it should be possible to give a path to (via java system property) ca directory, but didn't want to search for the proper property name ;)

Next, you'll most likely hit this http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=76 bug . Which is caused by the inability to find out how much 100% is in pixels in browser window. Some integration stuff seems to be missing.

Revision history for this message
In , Jarkko Lietolahti (jarkko-jab) wrote :

If one looks at the code from sun.applet.AppletViewerPanel.getWidth(AppletViewerPanel.java:134) it looks like this:
Which suggest that the browser(? or something else other than the appletviewer) has to modify the <param name="width" value="100%" /> and replace 100% with the current value of "100%".

E.g. <param name="width" value="100%" /> becomes (on the browser)
<param name="width" value="923" /> which is what the appletviewer receives.

So this seems to be some kind of integration problem.

/**
     * Get the width.
     */
    public int getWidth() {
        String w = getParameter("width");
        if (w != null) {
            return Integer.valueOf(w).intValue();
        }
        return 0;
    }

Revision history for this message
In , Jarkko Lietolahti (jarkko-jab) wrote :

In gcjwebplugin.cc there's a code block that could be suitable for doing the transformation from 100% --> real value.

It seems to have all the required information present.

gcjwebplugin.cc
  // The last plugin window width sent to us by the browser.
  guint32 window_width;
  // The last plugin window height sent to us by the browser.
  guint32 window_height;

// Build up the applet tag string that we'll send to the applet
// viewer.
static gchar*
plugin_create_applet_tag (int16 argc, char* argn[], char* argv[])
{

...

   else if (!g_ascii_strcasecmp (argn[i], "width"))
        {
          gchar* width = g_strdup_printf ("WIDTH=\"%s\" ", argv[i]);
          applet_tag = g_strconcat (applet_tag, width, NULL);
          g_free (width);
          width = NULL;
        }

Just check if argv[i] ends in % and do little calculation and voila.
And same thing for the height.

Revision history for this message
In , Langel (langel) wrote :

Fixed.

Christian Reis (kiko)
Changed in icedtea:
importance: Undecided → Unknown
status: New → Unknown
Changed in icedtea:
status: Unknown → Fix Released
Revision history for this message
Nikolaj Sheller (nikolajsheller) wrote :

I disagree with the assignment of this bug to Iced Tea Bugzilla #76.
Iced Tea Bugzilla #76 involves a "java.lang.NumberFormatException", Bug #157721 does not. Bug #157721 describes missing SSL/Crypto functionality required for home banking.
The fix released to Iced Tea Bugzilla #76 will not fix the missing SSL/Crypto functionality.

-Nikolaj

Revision history for this message
David Filiatrault (david-filiatrault) wrote :

I get this same error trying to run "java -cp Desktop/GoogleVideoUploader.jar com.google.uploader.Uploader" from the command line. This jar file is available at https://upload.video.google.com/GoogleVideoUploader.jar

I'm running kubuntu Hardy Alpha 3
java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b24)
IcedTea Client VM (build 1.7.0-b24, mixed mode, sharing)

Revision history for this message
Soren Hansen (soren) wrote :

I can confirm that openjdk looks for the ca bundle in /etc/pki/tls/certs/ca-bundle.crt (see patches/icedtea-certbundle.patch). It should look in /etc/ssl/certs/ca-certificates.crt instead, I believe. Mind you, it doesn't fix this bug, but we seem to get a bit further. With my bank (Sparnord) I get some java.security.AccessControlException that prevent me from getting any further. I'm sure I could policytool my way out of it, but I've no clue how to drive that thing. Shouldn't it be showing me a helpful dialog window asking if I'm cool with it reading my files?

Revision history for this message
Soren Hansen (soren) wrote :

Adding AllPermission to the default grants in java.policy made my netbank work, but as that's clearly a suboptimal permanent situation, it would be nice if there was an easy way to add the required permissions.

Revision history for this message
Bellani (ebellani) wrote :

Hey guys.
Adding AllPermission to the default grants in java.policy didn't worked out here. I'm running a 64 bit 7.10 ubuntu on a AMD 64 bit(hp pavilion dv2000 series) and trying to access any applet that require permissions, like the already mentioned https://www.netbank.nordea.dk/netbank/ results in the attached file

Revision history for this message
Craig (candrews-integralblue) wrote :

This bug sounds related to Bug #224455. I believe that bug's fix will also make the much referred to netbank application work.

Revision history for this message
exactt (giesbert) wrote :

i just gave http://imorder.de another try with the https://launchpad.net/~openjdk/+archive version. here on hardy amd64.

now i get (applet still not showing up):
PIPE: appletviewer wrote: status Ausnahme: access denied (java.net.SocketPermission ec.ingrammicro.de connect,accept,resolve)
java.security.AccessControlException: access denied (java.net.SocketPermission ec.ingrammicro.de connect,accept,resolve)
 at java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
 at java.security.AccessController.checkPermission(AccessController.java:553)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
 at java.net.URLClassLoader$4.run(URLClassLoader.java:515)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.getPermissions(URLClassLoader.java:513)
 at sun.applet.AppletClassLoader.getPermissions(AppletClassLoader.java:225)
 at java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:210)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
 at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
 at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:173)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
 at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:145)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
 at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:636)
 at sun.applet.AppletPanel.createApplet(AppletPanel.java:798)
 at sun.applet.AppletPanel.runLoader(AppletPanel.java:727)
 at sun.applet.AppletPanel.run(AppletPanel.java:380)
 at java.lang.Thread.run(Thread.java:636)
GCJ PLUGIN: thread 0x622910: plugin_in_pipe_callback
GCJ PLUGIN: thread 0x622910: plugin_in_pipe_callback: setting status Ausnahme: access denied (java.net.SocketPermission ec.ingrammicro.de connect,accept,resolve)
  PIPE: plugin read: status Ausnahme: access denied (java.net.SocketPermission ec.ingrammicro.de connect,accept,resolve)
GCJ PLUGIN: thread 0x622910: plugin_in_pipe_callback return
  PIPE: appletviewer wrote: status Initialisierung: Applet nicht geladen
  PIPE: appletviewer wrote: status Start: Applet nicht initialisiert
GCJ PLUGIN: thread 0x622910: plugin_in_pipe_callback
GCJ PLUGIN: thread 0x622910: plugin_in_pipe_callback: setting status Initialisierung: Applet nicht geladen
  PIPE: plugin read: status Initialisierung: Applet nicht geladen
GCJ PLUGIN: thread 0x622910: plugin_in_pipe_callback return
GCJ PLUGIN: thread 0x622910: plugin_in_pipe_callback
GCJ PLUGIN: thread 0x622910: plugin_in_pipe_callback: setting status Start: Applet nicht initialisiert
  PIPE: plugin read: status Start: Applet nicht initialisiert
GCJ PLUGIN: thread 0x622910: plugin_in_pipe_callback return

Revision history for this message
exactt (giesbert) wrote :

about my last comment: not even http://www.java.com/en/download/help/testvm.xml is running right now. so maybe something else is going on...

Revision history for this message
Jesper Nielsen (5-launchpad-net-lyager-antichef-com) wrote :

Knowing that this bug is regarded to IcedTea I just wanted to add that my HomeBanking and the Danish Digital Signature worked after removing IcedTea and installing Sun's own sun-java6-plugin.

Revision history for this message
Nikolaj Sheller (nikolajsheller) wrote :

Are you running on a 32-bit machine?
I'm pretty sure there is no 64bit sun-java6-plugin?

Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

Yes, there is a java plugin for 64bit.

Revision history for this message
robogeek (david-herron-sun) wrote :

As of today the only 64bit plugin is the one derived from the gcjwebplugin. I would expect this to change during 2009 or very late 2008.

Revision history for this message
Jesper Nielsen (5-launchpad-net-lyager-antichef-com) wrote :

I'm running on a Intel Quad Q6600, but might be my java is only 32bit..

Revision history for this message
exactt (giesbert) wrote :

have you rechecked using the latest opnejdk available in hardy-proposed (or maybe backports). it is

java version "1.6.0_0"
OpenJDK Runtime Environment (build 1.6.0_0-b11)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)

and

GCJ Web Browser Plugin (using IcedTea) 1.0

    Dateiname: gcjwebplugin.so
    The GCJ Web Browser Plugin (using IcedTea) executes Java applets.

with this i get at least one of my two critical applets running on AMD64 version.

give it a try!

Revision history for this message
Nikolaj Sheller (nikolajsheller) wrote :

Thank you for your suggestion!

I Added "Pre-release updates" an saw that a newer version of "icedtea-gcjwebplugin" was available.
I installed the new version "1.0-0ubuntu7" on 8.04 and attempted to start the homebanking applet at: https://www.netbank.nordea.dk/netbank/

The applet did not start, giving the following error:

  PIPE: appletviewer wrote: status Applet loaded.
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback: setting status exception: java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read).
  PIPE: plugin read: status exception: java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read).
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback return
  PIPE: appletviewer wrote: status exception: java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read).
java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
 at java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
 at java.security.AccessController.checkPermission(AccessController.java:553)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
 at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1302)
 at java.lang.System.getProperty(System.java:669)
 at com.ibm.cbt.config.CbtConfigGlobal.<init>(CbtConfigGlobal.java)
 at com.ibm.cbt.config.CbtConfiguration.newInstance(CbtConfiguration.java)
 at com.ibm.cbt.thinclient.CbtApplet.readAppletConfiguration(CbtApplet.java:158)
 at com.ibm.cbt.thinclient.netbank.LogonApplet.initAddOn(LogonApplet.java:363)
 at com.ibm.cbt.thinclient.netbank.LogonApplet.init(LogonApplet.java:306)
 at sun.applet.AppletPanel.run(AppletPanel.java:436)
 at java.lang.Thread.run(Thread.java:636)
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback: setting status Start: applet not initialized.
  PIPE: plugin read: status Start: applet not initialized.
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback return
  PIPE: appletviewer wrote: status Start: applet not initialized.

This is a different error than originally reported, and different from the issue seen by exactt on 2008-05-17 in this thread.
It is also different to bug 239533.

Revision history for this message
Nikolaj Sheller (nikolajsheller) wrote :

Actually adding ~.java.policy with

grant {
permission java.security.AllPermission;
};

then gives this error:

  PIPE: appletviewer wrote: status Applet loaded.
Reading applet config...
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback: setting status error: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject.
  PIPE: plugin read: status error: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject.
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback return
  PIPE: appletviewer wrote: status error: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject.
java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:637)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
 at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:196)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
 at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:145)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
 at com.ibm.cbt.thinclient.netbank.LogonView.callScript(LogonView.java:196)
 at com.ibm.cbt.thinclient.netbank.LogonView.onLoad(LogonView.java:876)
 at com.ibm.cbt.thinclient.netbank.LogonView.initialize(LogonView.java:634)
 at com.ibm.cbt.thinclient.netbank.LogonView.<init>(LogonView.java:91)
 at com.ibm.cbt.thinclient.netbank.LogonApplet.initAddOn(LogonApplet.java:368)
 at com.ibm.cbt.thinclient.netbank.LogonApplet.init(LogonApplet.java:306)
 at sun.applet.AppletPanel.run(AppletPanel.java:436)
 at java.lang.Thread.run(Thread.java:636)
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback
GCJ PLUGIN: thread 0x622930: plugin_in_pipe_callback: setting status Start: applet not initialized.
  PIPE: plugin read: status Start: applet not initialized.

Which is a duplicate of bug 239533.

Revision history for this message
Nikolaj Sheller (nikolajsheller) wrote :

Testing with Ubuntu Intrepid Ibex 8.10 I get the following error using "icedtea-gcjwebplugin" 1.0-1ubuntu3.

  PIPE: plugin read: status error: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject.
GCJ PLUGIN: thread 0x1e7c860: plugin_in_pipe_callback return
  PIPE: appletviewer wrote: status error: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject.
java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject
 at java.lang.ClassLoader.defineClass1(Native Method)

Revision history for this message
Nikolaj Sheller (nikolajsheller) wrote :

It now works on Intrepid ibex!

Happy day!

This is on:
icedtea6-plugin 6b12-0ubuntu6
2.6.27-7-generic #1 SMP Thu Oct 30 04:12:22 UTC 2008 x86_64 GNU/Linux

This issue can be closed in my opinion.

Changed in icedtea:
importance: Unknown → Medium
Revision history for this message
Jarl (jarl-dk) wrote :

This is still a problem with icedtea-7-plugin in 12.10, but since this bug is old; refering to old package names and contains other obsolete information I have created a new bug as #1081308

Revision history for this message
Jarl (jarl-dk) wrote :
Revision history for this message
In , Mercurial (mercurial) wrote :

details: http://icedtea.classpath.org//people/andrew/icedtea8?cmd=changeset;node=208a6277eb21
author: Lillian Angel <email address hidden>
date: Wed Dec 12 10:57:37 2007 -0500

 2007-12-12 Lillian Angel <email address hidden>

         Fixes Bug #76
         * gcjwebplugin.cc
         (GCJ_SetWindow): Passes width and height with handle.
         * patches/icedtea-plugin.patch
         (PluginMain.java): Fixed to accept width and height, and change size
         of plugin when required.
         (PluginAppletViewer.java): Added listeners to window, change
         attributes of applet when required.

Revision history for this message
In , Mercurial (mercurial) wrote :

details: http://icedtea.classpath.org//people/andrew/icedtea8?cmd=changeset;node=9eb354106424
author: Lillian Angel <email address hidden>
date: Wed Dec 12 10:57:37 2007 -0500

 2007-12-12 Lillian Angel <email address hidden>

         Fixes Bug #76
         * gcjwebplugin.cc
         (GCJ_SetWindow): Passes width and height with handle.
         * patches/icedtea-plugin.patch
         (PluginMain.java): Fixed to accept width and height, and change size
         of plugin when required.
         (PluginAppletViewer.java): Added listeners to window, change
         attributes of applet when required.

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.