Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-7238

'Could not initialize class java.awt.Toolkit' on Adopt OpenJDK 8u232

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 4.8.0
    • Runtime platform
    • None

    Description

      Environment:

      • Fisheye 4.8.0 windows installer
      • Windows 10
      • AdoptOpenJDK version jdk8u232-b09 hotspot
        (OpenJDK8U-jdk_x64_windows_hotspot_8u232b09.msi)

      Steps to reproduce:

      • Install AdoptOpenJDK
      • Install Fisheye, create user account
      • Log into Fisheye using this user

      Result

      • avatar in top menu does not render
      • all graphics (e.g. repository charts) do not render
      • exception in the log file:
      2019-10-29 02:00:00,251 WARN  [main ] fisheye Run-setLibraryProperties - Problem initing graphics environment, images may not render2019-10-29 02:00:00,251 
      WARN  [main ] fisheye Run-setLibraryProperties - Problem initing graphics environment, images may not renderjava.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit
       at com.cenqua.fisheye.ctl.Run.setLibraryProperties(Run.java:421) [fisheye.jar:?]
       at com.cenqua.fisheye.ctl.BaseCommand.handleCommonArguments(BaseCommand.java:166) [fisheye.jar:?]
       at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:74) [fisheye.jar:?]
       at com.cenqua.fisheye.ctl.Run.main(Run.java:55) [fisheye.jar:?]
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_232]
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_232]
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_232] at java.lang.reflect.Method.invoke(Method.java:498) [?:1.8.0_232]
       at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:101) [fisheyeboot.jar:?]
       at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:44) [fisheyeboot.jar:?]
      

      Notes

      • this does not happen when Oracle JDK is used (tested on jdk8u202)
      • this does not happen on AdoptOpenJDK update 202 (OpenJDK8U-jdk_x64_windows_hotspot_8u202b08)

      Workaround

      Install Adopt OpenJDK in a different version than 8u232

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mparfianowicz Marek Parfianowicz
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: