Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8013798

Applet does not pop up - IllegalArgumentException (...different GraphicsDevice)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 7u17
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:

      Description

      FULL PRODUCT VERSION :
      both: Java 1.7.0_17, Java 1.7.0_21

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 Enterprise, 64 Bit

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Two screens connected.

      A DESCRIPTION OF THE PROBLEM :
      Problems while opening an applet.

      Two Screens connected.

      Most of our users report:

      If starting the applet on a browser in the main monitor, the applet opens without a problem in the same monitor.

      If starting the applet on a browser in the second monitor, the applet fails to open in the main monitor.

      java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice
      at java.awt.Component.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.addImpl(Unknown Source)
      at java.awt.Container.add(Unknown Source)

      We have users reporting that the applet fails to open on both screens.

      Related problem was reported in the internet:
      http://bugs.sun.com/view_bug.do?bug_id=8003398

      REGRESSION. Last worked in version 6u45

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      found in internet:
      https://netbeans.org/bugzilla/show_bug.cgi?id=222051


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice
      at java.awt.Component.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.checkGD(Unknown Source)
      at java.awt.Container.addImpl(Unknown Source)
      at java.awt.Container.add(Unknown Source)


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      For most users: opening window in main monitor.
      We have users reporting problems on both screens.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ddehaven David Dehaven (Inactive)
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: