Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCViewer is not working properly on MacOSX #1227

Open
jan-vcapgemini opened this issue Jul 3, 2023 · 1 comment
Open

GCViewer is not working properly on MacOSX #1227

jan-vcapgemini opened this issue Jul 3, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@jan-vcapgemini
Copy link
Contributor

jan-vcapgemini commented Jul 3, 2023

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
@jan-vcapgemini jan-vcapgemini added the bug Something isn't working label Jul 3, 2023
@hohwille
Copy link
Member

hohwille commented Jul 3, 2023

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

@CREITZ25 CREITZ25 self-assigned this Jul 17, 2023
@CREITZ25 CREITZ25 removed their assignment Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants