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

Right click on the icon added to the system tray for the first time, java.lang.IllegalArgumentException thrown.

    XMLWordPrintable

Details

    • b112
    • x86
    • linux_oracle_5.6

    Backports

      Description

        Testsuite name: AWT function
        JDK/JRE tested: JDK7u45b07(32bit)
        OS/architecture: oel5.6-redhat-x86
        Reproducible: Always
        Reproducible on machine: oel5.6-redhat-x86
        Regression: yes (since 7u40b33 inclusive - fail. b32 - passes)
        Test run result location:http://jsqalab.us.oracle.com/results/Evergreen/7u45/b07/awt/oel5.6-redhat-x86/results-fun1/ResultDir/TrayIconPopup/

        Steps to reproduce:
        1. Install test bundle JDK7u45b07 (download from http://jre.us.oracle.com/java/re/jdk/7u45/promoted/fcs/b07/bundles/linux-i586/jdk-7u45-linux-i586.tar.gz) under /awt/jdk1.7.0_45_b07
        2. Install base bundleJDK7u45b06 (download from http://jre.us.oracle.com/java/re/jdk/7u45/promoted/fcs/b06/bundles/linux-i586/jdk-7u45-linux-i586.tar.gz) under /awt/ jdk1.7.0_45_b06
        3. Install stablejdk 7u25b15
        4. Clone the awt functional workspace
        4a.hg clone http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/7 /awt/
        4b.cd 7
        4c.hg clone http://sqe-hg.us.oracle.com/hg/index.cgi/testbase/javase/functional/7/awt
        5.Install ute from attachment to /awt
        6.add attachment testlist.fail to /awt
        7.Create results at /awt
        8.Modify the test_awt.sh as:
        /awt/ute/ute run -harness tonga -testlist "/awt/testlist.fail" -env TONGA_JAR=/awt/ute/tool/tonga/tonga-3.0.jar -env BASEBUILD=/awt/jdk1.7.0_45_b06 -env KEYWORDS=manual -env STABLE_JAVA_HOME="/awt/jdk1.7.0_25" -component awt -jdk "/awt/jdk1.7.0_45_b07" -testbase /awt/7_awt/awt -results /awt/results
        9. Go to /awt/ and run the command : bash test_awt.sh
        10.Run the test case: AWT_SystemTray/Manual/TrayIconPopup

        Case Instruction:
         Incase of Assertion failure user can enter any remarks by pressing 'Assertion Fail Remarks'.
        Right click on the icon added to the system tray.Check if a popup menu is displayed properly.
        If popup menu is shown, assertion passed, else failed.Any messages for the tester will display here.

        Actual behavior:
        1)First right clicked on the icon ,it will throw an exception : java.lang.IllegalArgumentException: null source
        2)we tried to right click on the icon again, a popup menu can be displayed without exception.

        Validation:
        1)7u45b07(32bit) on solaris10-sparc: it's failed as the same issue
        2)we double check:
        7u45b04(32bit) on win7-sp1-x86 :It's passed.
        7u45b05(32bit) on solaris11-x86: it's failed as the same issue.
        7u45b06(64bit) on oel6.2-redhat-x64: it's failed as the same issue.
        7u45b06(64bit) on solaris10-x64: it's failed as the same issue.
        7u45b06(64bit) on solaris11-sparc: it's failed as the same issue.

        Attachments

          1. testlist.fail
            0.1 kB
          2. ute.zip
            3.06 MB

          Issue Links

            Activity

              People

                leonidr Leonid Romanov (Inactive)
                tolli Tony Li (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: