oracle / visualvm

VisualVM is an All-in-One Java Troubleshooting Tool
https://visualvm.github.io/
Other
2.87k stars 300 forks source link

VisualVM insta-crashes on Windows 11 pro #591

Closed rlesac closed 2 months ago

rlesac commented 2 months ago

Trying to start the app it crashes ~500ms after showing the splash screen. If i start it from the console, I get no useful info. There are no entries in windows logs. I restarted windows, looked into temp dir, tried running as an admin.

This is all the info I get when ran from the console: The launcher has determined that the parent process has a console and will reuse it for its own console output. Closing the console will result in termination of the running program. Use '--console suppress' to suppress console output. Use '--console new' to create a separate console window. WARNING: package com.sun.java.swing.plaf.gtk not in java.desktop WARNING: package sun.awt.X11 not in java.desktop To Reproduce Steps to reproduce the behavior:

  1. double click or type the name in the console

Expected behavior It should open the app.

VisualVM log Can't get any logs, as the app crashes before it creates logs.

Desktop (please complete the following information):

Additional context It was working fine a day ago.

mastercho commented 2 months ago

Same here with JDK version 22

thurka commented 2 months ago

Please run VisualVM from command-line using -J-Dnetbeans.logger.console=true option:

visualvm.exe -J-Dnetbeans.logger.console=true

and post the output. Thanks.

rlesac commented 2 months ago

Please run VisualVM from command-line using -J-Dnetbeans.logger.console=true option:

visualvm.exe -J-Dnetbeans.logger.console=true

and post the output. Thanks. `T:\visualvm_219\bin>

The launcher has determined that the parent process has a console and will reuse it for its own console output. Closing the console will result in termination of the running program. Use '--console suppress' to suppress console output. Use '--console new' to create a separate console window. WARNING: package com.sun.java.swing.plaf.gtk not in java.desktop WARNING: package sun.awt.X11 not in java.desktop

Log Session: Monday, July 29, 2024, 12:43:05?PM Central European Summer Time System Info: Product Version = VisualVM 2.1.9 Operating System = Windows 11 version 10.0 running on amd64 Java; VM; Vendor = 22.0.2; Java HotSpot(TM) 64-Bit Server VM 22.0.2+9-70; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 22.0.2+9-70 Java Home = C:\Program Files\Java\jdk-22 System Locale; Encoding = en_US (visualvm); UTF-8 Home Directory = C:\Users\user Current Directory = T:\visualvm_219\bin User Directory = C:\Users\user\AppData\Roaming\VisualVM\2.1.9 Cache Directory = C:\Users\user\AppData\Local\VisualVM\Cache\2.1.9 Installation = T:\visualvm_219\visualvm T:\visualvm_219\platform Boot & Ext. Classpath = Application Classpath = T:\visualvm_219\platform\lib\boot.jar;T:\visualvm_219\platform\lib\org-openide-modules.jar;T:\visualvm_219\platform\lib\org-openide-util-lookup.jar;T:\visualvm_219\platform\lib\org-openide-util-ui.jar;T:\visualvm_219\platform\lib\org-openide-util.jar Startup Classpath = T:\visualvm_219\platform\core\asm-9.5.jar;T:\visualvm_219\platform\core\asm-commons-9.5.jar;T:\visualvm_219\platform\core\asm-tree-9.5.jar;T:\visualvm_219\platform\core\core-base.jar;T:\visualvm_219\platform\core\core.jar;T:\visualvm_219\platform\core\org-netbeans-libs-asm.jar;T:\visualvm_219\platform\core\org-openide-filesystems.jar;T:\visualvm_219\visualvm\core\org-graalvm-visualvm-modules-startup.jar;T:\visualvm_219\visualvm\core\locale\core_visualvm.jar

INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-host-remote.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-options-api.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-pluginimporter.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-spi-quicksearch.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-heapdump.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-autoupdate-ui.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-lib-common.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-threaddump.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-sampler-truffle.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-libs-flatlaf.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-masterfs-linux.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-lib-profiler-snaptracer.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-attach.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-openide-explorer.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-core-ui.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-masterfs-macosx.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-autoupdate-services.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-openide-filesystems-nb.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-keyring.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-swing-laf-flatlaf.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-heapviewer-console.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-openide-dialogs.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-tools.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-lib-profiler-api.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-heapviewer-truffle.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-swing-laf-dark.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-core-nativeaccess.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-settings.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-applemenu.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-api-scripting.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-swing-tabcontrol.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-javahelp.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-swing-plaf.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-host-views.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-openide-execution.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-graalvm.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-openide-windows.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-api-caching.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-sampler.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-lib-profiler-heapwalker.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-openide-nodes.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-openide-io.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-lib-profiler-utilities.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-lib-ui.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-options-keymap.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-queries.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-masterfs-ui.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-core-multiview.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-gotosource.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-lib-charts.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-jfr.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-api-search.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-core-windows.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-autoupdate-cli.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-modules-nashorn-jdk15.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-core-io-ui.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-api-intent.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-api-progress-nb.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-coredump.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-heapviewer.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-charts.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-host.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-core.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-core-multitabs.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-api-annotations-common.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-jmx.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-libs-jna-platform.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-keyring-fallback.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-swing-outline.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-application.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-lib-profiler-attach.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-lib-jfluid-heap.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-progress-ui.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-jvmstat.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-jvm.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-masterfs-windows.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-api-templates.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-application-views.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-modules-appui.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-api-io.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-api-progress.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-jfr-generic.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-core-execution.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-sendopts.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-core.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-profiler.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-editor-mimelookup-impl.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-masterfs-nio2.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-openide-actions.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-openide-loaders.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-lib-jfluid.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-jfr-jdk11.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-profiling.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-editor-mimelookup.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-lib-profiler-oql.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-keyring-impl.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-sampler.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-lib-profiler.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-core-network.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-sa.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-openide-awt.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-openide-text.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-modules-masterfs.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-graalvm-visualvm-uisupport.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Warning: the module T:\visualvm_219\bin\modules\org-netbeans-libs-jna.jar could not be found, ignoring... INFO [org.netbeans.core.startup.NbEvents]: Turning on modules: org.openide.util.lookup [8.55 20231030-ba85468772] org.openide.util [9.29 20231030-ba85468772] org.openide.util.ui [9.30 20231030-ba85468772] org.openide.modules [7.69 20231030-ba85468772] org.openide.filesystems [9.34 20231030-ba85468772] org.netbeans.libs.asm [5.24 20231030-ba85468772] org.netbeans.core.startup.base [1.83.0.1 1 20231030-ba85468772] org.netbeans.bootstrap/1 [2.100 20231030-ba85468772] org.netbeans.core.startup/1 [1.84.0.1 20231030-ba85468772] org.graalvm.visualvm.modules.startup/2 [2.1 240708]`

rlesac commented 2 months ago

After looking at the debug output I tried moving the "missing" files from visualvm/modules to bin/modules, same errors.

thurka commented 2 months ago

The log shows that the installation of the VisualVM is somehow messed up. What is T: disk?

rlesac commented 2 months ago

The log shows that the installation of the VisualVM is somehow messed up.

I just unpacked the archive. It was working, at least once, I managed to get a stack dump.

All the files it's complaining about are there the org-netbeans* in platform/modules, org-graalvm in visualvm/modules.

What is T: disk? As stated, I'm on windows, it's a hard drive letter. I have a dozen hard drives attached.

Going by the debug: Installation = T:\visualvm_219\visualvm T:\visualvm_219\platform It knows where the files it looking for are.

tianqiqiu commented 2 months ago

I also has the same issue. When i click menu -> window -> applications. visualvm is freeze, not any response.

tianqiqiu commented 2 months ago

I also has the same issue. When i click menu -> window -> applications. visualvm is freeze, not any response. the logs is: WARNING [org.openide.awt.Toolbar]: Error in AWT task java.lang.InternalError: Remote thread failed for unknown reason (101) at jdk.attach/sun.tools.attach.VirtualMachineImpl.enqueue(Native Method) at jdk.attach/sun.tools.attach.VirtualMachineImpl.execute(VirtualMachineImpl.java:107) at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:310) at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.getSystemProperties(HotSpotVirtualMachine.java:191) at org.graalvm.visualvm.attach.AttachModelImpl.getSystemProperties(AttachModelImpl.java:65) at org.graalvm.visualvm.jvm.JVMImpl.getSystemProperties(JVMImpl.java:336) at org.graalvm.visualvm.profiler.ProfilerSupport.getJVMArchitecture(ProfilerSupport.java:392) at org.graalvm.visualvm.profiler.ProfilerSupport.supportsProfiling(ProfilerSupport.java:313) at org.graalvm.visualvm.profiler.ProfileApplicationAction.isEnabled(ProfileApplicationAction.java:70) at org.graalvm.visualvm.profiler.ProfileApplicationAction.isEnabled(ProfileApplicationAction.java:42) at org.graalvm.visualvm.core.ui.actions.SingleDataSourceAction.updateState(SingleDataSourceAction.java:77) at org.graalvm.visualvm.profiler.ProfileApplicationAction.updateState(ProfileApplicationAction.java:78) at org.graalvm.visualvm.core.ui.actions.DataSourceAction.initialize(DataSourceAction.java:92) at org.graalvm.visualvm.profiler.ProfileApplicationAction.initialize(ProfileApplicationAction.java:83) at org.graalvm.visualvm.core.ui.actions.DataSourceAction.doInitialize(DataSourceAction.java:124) at org.graalvm.visualvm.core.ui.actions.DataSourceAction.isEnabled(DataSourceAction.java:101) at org.openide.awt.Actions$MenuBridge.updateState(Actions.java:1387) at org.openide.awt.Actions$Bridge.prepare(Actions.java:1029) at org.openide.awt.Actions$MenuBridge.prepare(Actions.java:1374) at org.openide.awt.Actions.connect(Actions.java:273) at org.openide.awt.Actions$MenuItem.(Actions.java:1733) at org.openide.awt.DynaMenuModel.loadSubmenu(DynaMenuModel.java:113) at org.openide.awt.MenuBar$LazyMenu$MenuFolder.createInstance(MenuBar.java:854) at org.openide.loaders.FolderInstance.defaultProcessObjectsFinal(FolderInstance.java:863) at org.openide.loaders.FolderInstance$1R.run(FolderInstance.java:705) at org.openide.util.Task.run(Task.java:233) [catch] at org.netbeans.modules.openide.loaders.AWTTask.run(AWTTask.java:54) at org.netbeans.modules.openide.loaders.AWTTask$Processor.run(AWTTask.java:147) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287) at org.netbeans.modules.openide.util.NbMutexEventProvider$Event.lambda$doEvent$0(NbMutexEventProvider.java:101) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:741) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) SEVERE [global] java.lang.InternalError: Remote thread failed for unknown reason (101) at jdk.attach/sun.tools.attach.VirtualMachineImpl.enqueue(Native Method) at jdk.attach/sun.tools.attach.VirtualMachineImpl.execute(VirtualMachineImpl.java:107) at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.executeCommand(HotSpotVirtualMachine.java:310) at jdk.attach/sun.tools.attach.HotSpotVirtualMachine.executeJCmd(HotSpotVirtualMachine.java:292) at org.graalvm.visualvm.attach.AttachModelImpl.executeJCmd(AttachModelImpl.java:213) at org.graalvm.visualvm.attach.AttachModelImpl.executeJCmd(AttachModelImpl.java:182) at org.graalvm.visualvm.jfr.model.impl.JfrModelImpl.executeJCmd(JfrModelImpl.java:216) at org.graalvm.visualvm.jfr.model.impl.JfrModelImpl.isJfrAvailable(JfrModelImpl.java:86) at org.graalvm.visualvm.jfr.model.impl.JfrModelProvider.createModelFor(JfrModelProvider.java:43) at org.graalvm.visualvm.jfr.model.impl.JfrModelProvider.createModelFor(JfrModelProvider.java:39) at org.graalvm.visualvm.core.model.ModelFactory.getModel(ModelFactory.java:105) at org.graalvm.visualvm.tools.jfr.JfrModelFactory.getJFRFor(JfrModelFactory.java:64) at org.graalvm.visualvm.jvm.JVMImpl.isJfrAvailable(JVMImpl.java:495) at org.graalvm.visualvm.jfr.JFRSnapshotSupport.supportsJfrStart(JFRSnapshotSupport.java:169) at org.graalvm.visualvm.jfr.impl.JFRStartAction.isEnabled(JFRStartAction.java:95) at org.graalvm.visualvm.core.ui.actions.MultiDataSourceAction.updateState(MultiDataSourceAction.java:76) at org.graalvm.visualvm.jfr.impl.JFRStartAction.updateState(JFRStartAction.java:117) at org.graalvm.visualvm.core.ui.actions.DataSourceAction.initialize(DataSourceAction.java:92) at org.graalvm.visualvm.core.ui.actions.DataSourceAction.doInitialize(DataSourceAction.java:124) at org.graalvm.visualvm.core.ui.actions.DataSourceAction.isEnabled(DataSourceAction.java:101) at org.graalvm.visualvm.core.explorer.ExplorerContextMenuFactory.getActions(ExplorerContextMenuFactory.java:172) at org.graalvm.visualvm.core.explorer.ExplorerContextMenuFactory.getSelectionActions(ExplorerContextMenuFactory.java:128) at org.graalvm.visualvm.core.explorer.ExplorerContextMenuFactory.getActions(ExplorerContextMenuFactory.java:122) at org.graalvm.visualvm.core.explorer.ExplorerContextMenuFactory.createPopupMenu(ExplorerContextMenuFactory.java:74) at org.graalvm.visualvm.core.explorer.ExplorerComponent.displayContextMenu(ExplorerComponent.java:204) at org.graalvm.visualvm.core.explorer.ExplorerComponent.access$800(ExplorerComponent.java:68) at org.graalvm.visualvm.core.explorer.ExplorerComponent$ExplorerTreeMouseAdapter.mouseReleased(ExplorerComponent.java:253) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6626) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3389) at org.graalvm.visualvm.core.explorer.ExplorerComponent$1.processMouseEvent(ExplorerComponent.java:110) at java.desktop/java.awt.Component.processEvent(Component.java:6391) at java.desktop/java.awt.Container.processEvent(Container.java:2266) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5001) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:746) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:744) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:743) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136) [catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

rlesac commented 2 months ago

I also has the same issue. When i click menu -> window -> applications. visualvm is freeze, not any response.

That has no similarities with mine, I don't even get a splash screen, let alone a menu I could click on. As is evidenced by the error you posted, completely different error, so please open your own issue.

thurka commented 2 months ago

Can you, please, try to delete cache directory C:\Users\user\AppData\Local\VisualVM\Cache\2.1.9 and see if it helps.

tianqiqiu commented 2 months ago

so please open your own issue

OK. i submit new one

rlesac commented 2 months ago

Can you, please, try to delete cache directory C:\Users\user\AppData\Local\VisualVM\Cache\2.1.9 and see if it helps.

Yup, that was it. Thanks! Damn. I read that I should delete another java temp folder, but it did not have any effect.

Looking back, VisualVM should have given some better error messages about what was blocking it from starting.