← Back to team overview

openjdk team mailing list archive

Bug#693623: icedtea-netx-common: netx.jar does not contain VariableX509TrustManagerJDK7 leaving PR1161 unsolved

 

Package: icedtea-netx-common
Version: 1.3.1-1
Justification: renders package unusable
Severity: grave
Tags: patch

Dear Maintainer,

Since icedtea-web is built with Java 6, VariableX509TrustManagerJDK7.class is
not built and shipped with the icedtea-netx-common package.

This makes several Java applications using Java Web Start unusable like
https://ibank.cib.hu/ throwing the following exception:

OpenJDK Runtime Environment (IcedTea7 2.1.3) (7u3-2.1.3-1)
OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)
Unable to find class net.sourceforge.jnlp.security.VariableX509TrustManagerJDK7
JAR https://ibank.cib.hu/cibib.jar not found. Continuing.
netx: Initialization Error: Could not initialize applet.
(ebank.applet.MainApplet)
netx: Initialization Error: Could not initialize applet.
(ebank.applet.MainApplet)
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error:
Could not initialize applet.
	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:754)
	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:687)
	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:905)
Caused by: java.lang.ClassNotFoundException: ebank.applet.MainApplet
	at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1609)
	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:744)
	... 2 more
java.lang.NullPointerException
	at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:154)

I'm submitting this bug with grave severity because in the support cycle of
Wheezy most users are expected to upgrade to Java 7 and Java Web Start will stop
working for them.

I have built icedtea-web 1.3.1-1 using Java 7 using the following little patch
and it solved the problem:

diff -Nru icedtea-web-1.3.1/debian/rules icedtea-web-1.3.1/debian/rules
--- icedtea-web-1.3.1/debian/rules	2012-09-06 23:06:17.000000000 +0200
+++ icedtea-web-1.3.1/debian/rules	2012-11-18 12:20:57.000000000 +0100
@@ -47,7 +47,7 @@
 archdir	  := $(strip $(patsubst $(DEB_HOST_ARCH)=%, %, \
 			   $(filter $(DEB_HOST_ARCH)=%, $(archdir_map))))

-ifneq (,$(filter $(distrel),hardy intrepid jaunty karmic lucid
maverick natty oneiric precise lenny etch squeeze wheezy sid))
+ifneq (,$(filter $(distrel),hardy intrepid jaunty karmic lucid
maverick natty oneiric precise lenny etch squeeze))
   is7_default = no
   default_version = 6
 else


Cheers,
Balint


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (650, 'unstable'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information