← Back to team overview

openjdk team mailing list archive

Bug#795427: icedtea-7-plugin: Startup warning/error dialogs are easily lost

 

Package: icedtea-7-plugin
Version: 1.5-2+deb8u1
Severity: normal

After telling firefox to go ahead and allow the applet on
<http://javatester.org/version.html> to run, I got the following dialog
box:

PNG image

Which would have been fine, except that it somehow ended up behind my
other windows. Which should have been fine too, *EXCEPT* that neither
Alt-Tab nor the task list showed any sign of it, which is probably
related to the window manager hints (as reported by xwininfo):

  Window manager hints:
      Client accepts input or input focus: No
      Displayed on desktop 0
      Window type:
          Dialog
      Window state:
          Skip Taskbar
      Process id: 10540 on host Sam-laptop
      Frame extents: 6, 6, 27, 6

After I closed that dialog, I got an error message where the applet
would have been if I'd permitted it, with a "click here for details"
link allowing me to open another dialog with the same problem (and some
tracebacks; see below), from which I could also open a console with that
problem.

After spending an inordinate amount of time poking around, I'm
concluding that the problem is probably that most of the relevant
dialogs are being created without passing in an owner frame; I suspect
the proper one to use might be the PluginAppletViewer?

Here are the tracebacks from the second dialog, in case you care

,----
| The folloing exception has occured. For more information, try to launch the browser from the command line and examine the output.
| For even more information you can visit http://icedtea.classpath.org/wiki/IcedTea-Web and follow the steps described there on how to obtain necessary information to file bug
| Additional information may be available in the console or logs. Even more information is available if debugging is enabled.
| 
| Another available info:
| IcedTea-Web Plugin version: 1.5 (1.5-2+deb8u1)
|  8/13/15 1:44 PM 
| Exception was: 
| net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet. For more information click "more information button".
| 	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:746)
| 	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:675)
| 	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:908)
| Caused by: net.sourceforge.jnlp.LaunchException: Your Extended applets security is at 'high' and this application is missing the 'permissions' attribute in manifest. And you have refused to run it.
| 	at net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkPermissionsAttribute(ManifestAttributesChecker.java:186)
| 	at net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkAll(ManifestAttributesChecker.java:79)
| 	at net.sourceforge.jnlp.runtime.JNLPClassLoader. (JNLPClassLoader.java:288)
| 	at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:351)
| 	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:418)
| 	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:394)
| 	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:711)
| 	... 2 more
| This is the list of exceptions that occurred launching your applet. Please note, those exceptions can originate from multiple applets. For a helpful bug report, be sure to run only one applet. 
| 1) at 8/13/15 1:43 PM
| net.sourceforge.jnlp.LaunchException: Your Extended applets security is at 'high' and this application is missing the 'permissions' attribute in manifest. And you have refused to run it.
| 	at net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkPermissionsAttribute(ManifestAttributesChecker.java:186)
| 	at net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkAll(ManifestAttributesChecker.java:79)
| 	at net.sourceforge.jnlp.runtime.JNLPClassLoader. (JNLPClassLoader.java:288)
| 	at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:351)
| 	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:418)
| 	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:394)
| 	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:711)
| 	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:675)
| 	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:908)
| 2) at 8/13/15 1:43 PM
| net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet. For more information click "more information button".
| 	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:746)
| 	at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:675)
| 	at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:908)
| Caused by: net.sourceforge.jnlp.LaunchException: Your Extended applets security is at 'high' and this application is missing the 'permissions' attribute in manifest. And you have refused to run it.
| 	at net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkPermissionsAttribute(ManifestAttributesChecker.java:186)
| 	at net.sourceforge.jnlp.runtime.ManifestAttributesChecker.checkAll(ManifestAttributesChecker.java:79)
| 	at net.sourceforge.jnlp.runtime.JNLPClassLoader. (JNLPClassLoader.java:288)
| 	at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:351)
| 	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:418)
| 	at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:394)
| 	at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:711)
| 	... 2 more
`----

-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages icedtea-7-plugin depends on:
ii  icedtea-netx   1.5-2+deb8u1
ii  libc6          2.19-18
ii  libgcc1        1:4.9.2-10
ii  libglib2.0-0   2.42.1-1
ii  libstdc++6     4.9.2-10
ii  openjdk-7-jre  7u79-2.5.6-1~deb8u1

icedtea-7-plugin recommends no packages.

icedtea-7-plugin suggests no packages.

-- no debconf information