Skip to content

GCViewer is not working properly on MacOSX #1227

Open

Description

@jan-vcapgemini

Expected behavior

As a devonfw-ide MacOSX user I want to install GCViewer, so that I can use it for my projects.

Actual behavior

installation worked but terminal is reporting tons of exceptions after the application was started.

com.tagtraum.perf.gcviewer.view.util.OSXAdapter setHandler
[SCHWERWIEGEND Mac OS X Adapter could not talk to EAWT:
java.lang.IllegalAccessException: class com.tagtraum.perf.gcviewer.util.OSXAdapter cannot access class com.apple.eawt.Application (in module java.desktop) because module java.desktop does not export com.apple.eawt to unnamed module @4ca1042e
...
com.tagtraum.perf.gcviewer.view.util.OSXAdapter setAboutHandler
[SCHWERWIEGEND OSXAdapter could not access the About Menu
java.lang.NullpointerException: cannot invoke "Object.getClass()" because "com.tagtraum.perf.gcviewer.view.util.OSXAdapter.macOSXApplication" is null
...
com.tagtraum.perf.gcviewer.view.util.OSXSupport getOSXApplication
[SCHWERWIEGEND getOSXApplication() failed
java.com.IllegalAccessException: class com.tagtraum.perf.gcviewer.util.OSXSUpport cannot access class com.apple.eawt.Application (in module java.desktop) because module java.desktop does not export com.apple.eawt to unnamed module @4ca1042e
...
com.tagtraum.perf.gcviewer.view.util.OSXSupport initializeMacOSX
[SCHWERWIEGEND failed to perform OS X initialization
java.com.NullpointerException: cannot invoke "Object.getClass()" because "application" is null

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. Run devon gcviewer

Comments/Hints:

Affected version:

  • OS: MacOSX Catalina
  • devonfw-ide: 2023.04.001-SNAPSHOT

Activity

  1. hohwille commented on Jul 3, 2023

    @hohwille
    Member

    Did you try to downgrade java before calling GCViewer?
    Maybe GCViewer does not work with recent Java (see #1178).

  2. self-assigned this
    on Jul 17, 2023
  3. removed their assignment
    on Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions