[Bug 1171506] Re: Unable to run java test applet in chromium, some applets not working in firefox

Jamie Strandboge jamie at ubuntu.com
Mon Apr 22 21:49:22 UTC 2013


On firefox i386, if I go to the bank url, it takes a few seconds to
load, and then I get a 'Security Approval Required' dialog. If I click
'Run' (and uncheck 'Always trust content from this publisher'), then it
starts to load and after a few seconds a second 'Security Approval
Required' dialog is presented. If I click 'Run' again (and uncheck
'Always trust content from this publisher'), I see what appears to be a
login screen. Note, I had to use
https://www2.bancobrasil.com.br/aapf/login.jsp because the one specified
seemed to be associated with your account (it told me it could not
recognize the computer). This is with the icedtea6-plugin
(6b21.2.3-0ubuntu0.12.04.1).

If I install the icedtea-7-plugin, it says: 'Start:applet not initialized' if I go to the original bank URL. If I launch this from a terminal, I see:
$ cat /tmp/foo 
java version "1.7.0_15"
OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.04.1)
OpenJDK Client VM (build 23.7-b01, mixed mode, sharing)
Unable to find class net.sourceforge.jnlp.security.VariableX509TrustManagerJDK7
JAR https://www2.bancobrasil.com.br/aapf/idh/GbAs.jar not found. Continuing.
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet. 
	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:735)
	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:676)
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:886)
Caused by: java.lang.ClassNotFoundException: br.com.gas.mid.GbAs
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1404)
	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:725)
	... 2 more
Caused by: 
java.lang.ClassNotFoundException: br.com.gas.mid.GbAs
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1404)
	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:725)
	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:676)
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:886)
java.lang.NullPointerException
	at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:149)
	at sun.applet.AppletPanel.run(AppletPanel.java:380)
	at java.lang.Thread.run(Thread.java:722)
java.lang.NullPointerException
	at sun.applet.AppletPanel.run(AppletPanel.java:430)
	at java.lang.Thread.run(Thread.java:722)

This seems to be the problem:
Unable to find class net.sourceforge.jnlp.security.VariableX509TrustManagerJDK7


The debian/changelog has:
 * Common:                                                                    
    - PR1161: X509VariableTrustManager does not work correctly with OpenJDK7

This is http://icedtea.classpath.org/hg/release/icedtea-web-1.2/raw-
rev/c74251bbaffd. I'll try reverting it and report back. The workaround
appears to be to use icedtea6-plugin on 12.04 for now.

** Summary changed:

- Unable to run java test applet in chromium, some applets not working in firefox
+ Unable to find class net.sourceforge.jnlp.security.VariableX509TrustManagerJDK7 with icedtea-7-plugin on 12.04

** Changed in: icedtea-web (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to icedtea-web in Ubuntu.
https://bugs.launchpad.net/bugs/1171506

Title:
  Unable to find class
  net.sourceforge.jnlp.security.VariableX509TrustManagerJDK7 with
  icedtea-7-plugin on 12.04

Status in “icedtea-web” package in Ubuntu:
  Confirmed

Bug description:
  Since Friday, when I updated to the latest icedtea-web package, Java
  applets are not working properly for me. This happens in both
  browsers, but they behave slightly differently. Here are two
  scenarios:

  1. Chromium loading http://www.java.com/pt_BR/download/testjava.jsp

  Using a temporary profile chromium never is able to load the testjava
  applet. The question bar appears asking whether to run java, but when
  I click always run on this site the box where the plugin output
  appears doesn't run. Strangely, reloading the page later fails with a
  "This webpage is not available" message.

  2. Chromium loading
  https://www2.bancobrasil.com.br/aapf/login.jsp?aapf.IDH=sim&perfil=1

  Similar symptoms occur here -- the instructions "Aguarde, iniciando o
  acesso..." appear at the top of the page, but the login page which
  should come after never loads.

  In Firefox, I am able to load testjava.jsp, but the banking site,
  which is what I really want to get to, never loads. I'll attach an
  iIcedtea debug log.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/icedtea-web/+bug/1171506/+subscriptions




More information about the foundations-bugs mailing list