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

There is NullPointerException when remove "Animated GIF" icon and "Transparent animated GIF" icon.

XMLWordPrintable

    • x86
    • linux

      Testsuite name: Awt manual
      Test name(s): AWT_SystemTray/Manual/MultipleIcons
      Product(s) tested: JDK 10.0.2 b05(64bit)
      OS/architecture: oel7.4-uek-x64/tonga-4.0.2-rc2.jar

      Actual results:
      1.
      1)Select "Animated GIF"(or "Transparent animated GIF") from the 'Select Image' Choice and click the 'AddIcon' button three times.

      The location of the system tray icons display is different previous oel6.4,please refer to MultipleIcons_oel6.4.jpg.

      The icon is displayed in the upper left corner and three black icons in the lower left corner,please refer to MultipleIcons_add.jpg.

      2)Click the 'RemoveIcon' button to remove the icon,one of the black icon is removed and it throw NullPointerException,please refer to MultipleIcons_removed.jpg and out.log;

      2.There is no such issue when to add and remove "GIF Image","PNG Image","JPG Image","BMP Image" or "Transparent GIF".

        1. Icon-fail-oel7.6.png
          270 kB
          Tina Meng
        2. MultipleIcons_add.jpg
          66 kB
          Paul Wu
        3. MultipleIcons_oel6.4.jpg
          20 kB
          Paul Wu
        4. MultipleIcons_remove.jpg
          83 kB
          Paul Wu
        5. out.log
          2 kB
          Paul Wu

            Unassigned Unassigned
            pwu Paul Wu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: