← Back to team overview

openjdk team mailing list archive

Bug#668371: icedtea-7-plugin: java.security.AccessControlException java.net.SocketPermission when trying to use a proxy

 

Package: icedtea-7-plugin
Version: 1.2-2
Severity: normal

If I follow the steps in

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655936

using 1.2-2 I get a new backtrace:

$ iceweasel -ProfileManager -no-remote http://www.ida.liu.se/~her/npp/demo.html
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "gail-gnome"
GConf Error: Configuration server couldn't be contacted: D-BUS error: Method "GetDefaultDatabase" with signature "" on interface "org.gnome.GConf.Server" doesn't exist

Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "gail-gnome"
GConf Error: Configuration server couldn't be contacted: D-BUS error: Method "GetDefaultDatabase" with signature "" on interface "org.gnome.GConf.Server" doesn't exist

java version "1.7.0_03-icedtea"
OpenJDK Runtime Environment (IcedTea7 2.1) (7~u3-2.1-4)
OpenJDK Server VM (build 22.0-b10, mixed mode)
Gtk-Message: Failed to load module "gail"
Gtk-Message: Failed to load module "atk-bridge"
Gtk-Message: Failed to load module "gail-gnome"
java.security.AccessControlException: access denied ("java.net.SocketPermission" "proxy.lan" "resolve")
				      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:366)
				      at java.security.AccessController.checkPermission(AccessController.java:555)
				      at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
				      at net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(JNLPSecurityManager.java:284)
				      at java.lang.SecurityManager.checkConnect(SecurityManager.java:1048)
				      at java.net.InetAddress.getAllByName0(InetAddress.java:1203)
				      at java.net.InetAddress.getAllByName(InetAddress.java:1127)
				      at java.net.InetAddress.getAllByName(InetAddress.java:1063)
				      at java.net.InetAddress.getByName(InetAddress.java:1013)
				      at java.net.InetSocketAddress.<init>(InetSocketAddress.java:142)
				      at sun.applet.PluginProxySelector.getFromBrowser(PluginProxySelector.java:94)
				      at net.sourceforge.jnlp.runtime.JNLPProxySelector.select(JNLPProxySelector.java:208)
				      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:922)
				      at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:846)
				      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1296)
				      at java.net.URL.openStream(URL.java:1035)
				      at sun.applet.AppletAudioClip.<init>(AppletAudioClip.java:65)
				      at sun.applet.PluginAppletViewer.getAudioClip(PluginAppletViewer.java:793)
				      at java.applet.Applet.getAudioClip(Applet.java:327)
				      at java.applet.Applet.getAudioClip(Applet.java:347)
				      at java.applet.Applet.play(Applet.java:433)
				      at NuclearPlant.crashSound(NuclearPlant.java:281)
				      at Pump.blow(NuclearPlant.java:1031)
				      at LocalSimulator.timeStep(NuclearPlant.java:1380)
				      at NuclearPlant.timeStep(NuclearPlant.java:261)
				      at Seq_1_Button.run(NuclearPlant.java:391)
				      at java.lang.Thread.run(Thread.java:722)


This does not occur if I move my machine to a network where I don't
need to use a proxy.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages icedtea-7-plugin depends on:
ii  icedtea-netx        1.2-2
ii  libatk1.0-0         2.4.0-2
ii  libc6               2.13-27
ii  libcairo2           1.12.0-2
ii  libfontconfig1      2.8.0-3.1
ii  libfreetype6        2.4.9-1
ii  libgcc1             1:4.7.0-3
ii  libgdk-pixbuf2.0-0  2.26.0-2
ii  libglib2.0-0        2.32.0-4
ii  libgtk2.0-0         2.24.10-1
ii  libpango1.0-0       1.30.0-1
ii  libstdc++6          4.7.0-3
ii  openjdk-7-jre       7~u3-2.1-4

icedtea-7-plugin recommends no packages.

icedtea-7-plugin suggests no packages.

-- no debconf information