ide
ide copied to clipboard
GCViewer is not working properly on MacOSX
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)
- Run devon gcviewer
Comments/Hints:
Affected version:
- OS: MacOSX Catalina
- devonfw-ide: 2023.04.001-SNAPSHOT
Did you try to downgrade java
before calling GCViewer?
Maybe GCViewer does not work with recent Java (see #1178).