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

TrayIcon/SecurityCheck/FunctionalityCheck: Unable to find the icon location!

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Microsoft Windows [Version 10.0.16299.371]

      Sierra
      Darwin unit 12.6.0 Darwin Kernel Version 12.6.0: Wed Mar 18 16:23:48 PDT 2015; root:xnu-2050.48.19~1/RELEASE_X86_64 x86_64

      A DESCRIPTION OF THE PROBLEM :
      The test java/awt/TrayIcon/SecurityCheck/FunctionalityCheck/FunctionalityCheck.java fails on Windows and MacOS Sierra with the message "java.lang.RuntimeException: Unable to find the icon location!"
      Sometimes it produces the message "java.lang.RuntimeException: FAIL: ActionEvent not triggered when TrayIcon is double clicked!"

      The issue was not observed on Linux, MacOS HighSierra

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      $ jtreg -testjdk:/cygdrive/c/Program\ Files/Java/jdk-10.0.1 -javaoptions:"-Djava.awt.headless=false" -timeoutFactor:2 test/java/awt/TrayIcon/SecurityCheck/FunctionalityCheck/FunctionalityCheck.java

      >java -jar jtreg-4.2-b12\lib\jtreg.jar -testjdk:"C:\Program Files\Java\jdk-10.0.1" -javaoptions:"-Djava.awt.headless=false" test\java\awt\TrayIcon\SecurityCheck\FunctionalityCheck\FunctionalityCheck.java


      ACTUAL -
      #section:main
      ----------messages:(5/388)----------
      command: main -Djava.security.manager FunctionalityCheck
      reason: User specified action: run main/othervm/policy=tray.policy -Djava.security.manager FunctionalityCheck
      Mode: othervm [/othervm specified, test or library overrides a system module]
      Additional options from @modules: --add-modules java.desktop --add-opens java.desktop/java.awt=ALL-UNNAMED
      elapsed time (seconds): 7.105
      ----------configuration:(5/254)*----------
      Boot Layer
        add modules: java.desktop
        add opens: java.desktop/java.awt ALL-UNNAMED
        patch: java.desktop C:\\cygwin64\\home\\vprovodin\\workspace\\github\\jdk8u\\jdk\\JTwork\\classes\\java\\awt\\patchlib\\java.desktop

      ----------System.out:(0/0)----------
      ----------System.err:(14/924)----------
      java.lang.RuntimeException: Unable to find the icon location!
      at FunctionalityCheck.doTest(FunctionalityCheck.java:195)
      at FunctionalityCheck.main(FunctionalityCheck.java:77)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Unable to find the icon location!
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unable to find the icon location!

      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              sveerabhadra Shashidhara Veerabhadraiah (Inactive)
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: