nrwl / nx-console

Nx Console is the user interface for Nx & Lerna.
https://nx.dev
MIT License
1.31k stars 213 forks source link

Plugin makes Webstorm crash #1849

Closed LouisLecouturier closed 1 year ago

LouisLecouturier commented 1 year ago

Current Behavior

Webstorm crash (no freeze, the app quits totally) when clicking an action like so :

image

Failure Logs / Images / Videos

When I reopen the app I get an issue log Stacktrace.txt :

   #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000000000, pid=93873, tid=90371
#
# JRE version: OpenJDK Runtime Environment JBR-17.0.7+7-1000.6-jcef (17.0.7+7) (build 17.0.7+7-b1000.6)
# Java VM: OpenJDK 64-Bit Server VM JBR-17.0.7+7-1000.6-jcef (17.0.7+7-b1000.6, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# C  0x0000000000000000
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   https://youtrack.jetbrains.com/issues/JBR
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -XX:ErrorFile=/Users/louislecouturier/java_error_in_webstorm_%p.log -XX:HeapDumpPath=/Users/louislecouturier/java_error_in_webstorm.hprof -Xms128m -Xmx2048m -XX:ReservedCodeCacheSize=512m -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=50 -XX:CICompilerCount=2 -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -XX:+IgnoreUnrecognizedVMOptions -XX:CompileCommand=exclude,com/intellij/openapi/vfs/impl/FilePartNodeRoot,trieDescend -ea -Dsun.io.useCanonCaches=false -Dsun.java2d.metal=true -Djbr.catch.SIGABRT=true -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Dapple.awt.application.appearance=system -Dide.no.platform.update=true -Dtoolbox.notification.token=tpZGI0C_keiA4pNOjcbtfRYV591YrfStxtAiCjN_XpU= -Dtoolbox.notification.portFile=/Users/louislecouturier/Library/Application Support/JetBrains/Toolbox/apps/WebStorm/ch-0/232.8660.143/WebStorm.app.vmoptions.port -Didea.plugins.path=/Users/louislecouturier/Library/Application Support/JetBrains/Toolbox/apps/WebStorm/ch-0/232.8660.143/WebStorm.app.plugins -Xmx4096m -Dproject.tree.structure.show.url=false -Djb.vmOptionsFile=/Users/louislecouturier/Library/Application Support/JetBrains/Toolbox/apps/WebStorm/ch-0/232.8660.143/WebStorm.app.vmoptions --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.ref=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.vm=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.fs=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED --add-opens=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.base/sun.net.dns=ALL-UNNAMED --add-opens=java.desktop/com.apple.eawt=ALL-UNNAMED --add-opens=java.desktop/com.apple.eawt.event=ALL-UNNAMED --add-opens=java.desktop/com.apple.laf=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.desktop/java.awt.dnd.peer=ALL-UNNAMED --add-opens=java.desktop/java.awt.event=ALL-UNNAMED --add-opens=java.desktop/java.awt.image=ALL-UNNAMED --add-opens=java.desktop/java.awt.peer=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED --add-opens=java.desktop/sun.awt.datatransfer=ALL-UNNAMED --add-opens=java.desktop/sun.awt.image=ALL-UNNAMED --add-opens=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.desktop/sun.font=ALL-UNNAMED --add-opens=java.desktop/sun.java2d=ALL-UNNAMED --add-opens=java.desktop/sun.lwawt=ALL-UNNAMED --add-opens=java.desktop/sun.lwawt.macosx=ALL-UNNAMED --add-opens=java.desktop/sun.swing=ALL-UNNAMED --add-opens=java.desktop/com.sun.java.swing=ALL-UNNAMED --add-opens=jdk.attach/sun.tools.attach=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED --add-opens=jdk.jdi/com.sun.tools.jdi=ALL-UNNAMED -Djava.system.class.loader=com.intellij.util.lang.PathClassLoader -Djna.nosys=true -Dpty4j.preferred.native.folder=/Users/louislecouturier/Library/Application Support/JetBrains/Toolbox/apps/WebStorm/ch-0/232.8660.143/WebStorm.app/Contents/lib/pty4j -Djna.boot.library.path=/Users/louislecouturier/Library/Application Support/JetBrains/Toolbox/apps/WebStorm/ch-0/232.8660.143/WebStorm.app/Contents/lib/jna/aarch64 -Daether.connector.resumeDownloads=false -Djna.noclasspath=true -Didea.executable=webstorm -Dsplash=true -Didea.platform.prefix=WebStorm -Didea.home.path=/Users/louislecouturier/Library/Application Support/JetBrains/Toolbox/apps/WebStorm/ch-0/232.8660.143/WebStorm.app/Contents -Didea.paths.selector=WebStorm2023.2 -Didea.vendor.name=JetBrains 

Host: "MacBookPro18,3" arm64, 8 cores, 16G, Darwin 22.3.0, macOS 13.2.1 (22D68)
Time: Sun Jul 30 11:55:19 2023 CEST elapsed time: 39.242170 seconds (0d 0h 0m 39s)

---------------  T H R E A D  ---------------

Current thread (0x000000013e8faa00):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=90371, stack(0x00000002b3f40000,0x00000002b4143000)]

Stack: [0x00000002b3f40000,0x00000002b4143000],  sp=0x00000002b413fa20,  free space=2046k
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.cef.CefApp.N_RegisterSchemeHandlerFactory(Ljava/lang/String;Ljava/lang/String;Lorg/cef/callback/CefSchemeHandlerFactory;)Z+0 jcef
j  org.cef.CefApp.registerSchemeHandlerFactory(Ljava/lang/String;Ljava/lang/String;Lorg/cef/callback/CefSchemeHandlerFactory;)Z+4 jcef
j  dev.nx.console.generate.ui.V2NxGenerateUiFile.registerAppSchemeHandler()V+20
j  dev.nx.console.generate.ui.V2NxGenerateUiFile.createMainComponent(Lcom/intellij/openapi/project/Project;)Ljavax/swing/JComponent;+37
j  dev.nx.console.generate.ui.NxGenerateUiFileEditor.<init>(Lcom/intellij/openapi/project/Project;Ldev/nx/console/generate/ui/NxGenerateUiFile;)V+35
j  dev.nx.console.generate.ui.NxGenerateUiFileEditorProvider.createEditor(Lcom/intellij/openapi/project/Project;Lcom/intellij/openapi/vfs/VirtualFile;)Lcom/intellij/openapi/fileEditor/FileEditor;+21
j  com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.createComposite(Lcom/intellij/openapi/vfs/VirtualFile;Ljava/util/List;)Lcom/intellij/openapi/fileEditor/impl/EditorComposite;+154
j  com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$openFileInEdt$2$1.invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;+138
J 36730 c2 kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Ljava/lang/Object;)V (128 bytes) @ 0x000000011f187f4c [0x000000011f187ec0+0x000000000000008c]
J 39632 c2 kotlinx.coroutines.DispatchedTask.run()V (574 bytes) @ 0x000000011f0e9a70 [0x000000011f0e97c0+0x00000000000002b0]
J 38071 c1 com.intellij.openapi.application.impl.DispatchedRunnable.run()V (57 bytes) @ 0x000000010fc6cdb4 [0x000000010fc6c9c0+0x00000000000003f4]
J 25571 c1 com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(Ljava/lang/Runnable;)V (42 bytes) @ 0x00000001107c5afc [0x00000001107c5a40+0x00000000000000bc]
J 37889 c2 com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(Ljava/lang/Runnable;)V (58 bytes) @ 0x000000011f24f238 [0x000000011f24ef00+0x0000000000000338]
J 37679 c1 com.intellij.openapi.application.impl.ApplicationImpl$4.run()V (12 bytes) @ 0x000000010f099c84 [0x000000010f099bc0+0x00000000000000c4]
J 37678 c1 com.intellij.openapi.application.impl.FlushQueue.doRun(Lcom/intellij/openapi/application/impl/FlushQueue$RunnableInfo;)V (57 bytes) @ 0x000000010f3f197c [0x000000010f3f1780+0x00000000000001fc]
J 37677 c1 com.intellij.openapi.application.impl.FlushQueue.runNextEvent(Lcom/intellij/openapi/application/impl/FlushQueue$RunnableInfo;)V (599 bytes) @ 0x000000010f4dd338 [0x000000010f4dd240+0x00000000000000f8]
J 27981 c1 com.intellij.openapi.application.impl.FlushQueue.flushNow()V (95 bytes) @ 0x00000001102c5ebc [0x00000001102c5d80+0x000000000000013c]
J 27980 c1 com.intellij.openapi.application.impl.FlushQueue$$Lambda$690+0x0000000300880ca0.run()V (8 bytes) @ 0x00000001102c59c8 [0x00000001102c5940+0x0000000000000088]
J 33894 c1 java.awt.event.InvocationEvent.dispatch()V java.desktop (69 bytes) @ 0x000000010fc99a14 [0x000000010fc997c0+0x0000000000000254]
J 36823 c1 java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V java.desktop (136 bytes) @ 0x00000001119f8424 [0x00000001119f68c0+0x0000000000001b64]
J 36822 c1 java.awt.EventQueue$3.run()Ljava/lang/Void; java.desktop (60 bytes) @ 0x00000001119f5fd0 [0x00000001119f5e80+0x0000000000000150]
J 35803 c1 java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V java.desktop (80 bytes) @ 0x000000010ecaba40 [0x000000010ecab4c0+0x0000000000000580]
J 36830 c1 com.intellij.ide.IdeEventQueue.defaultDispatchEvent(Ljava/awt/AWTEvent;)V (145 bytes) @ 0x0000000111a01084 [0x0000000111a003c0+0x0000000000000cc4]
J 36095 c1 com.intellij.ide.IdeEventQueue$$Lambda$757+0x00000003008fe6b0.run()V (12 bytes) @ 0x000000010ee22468 [0x000000010ee21ec0+0x00000000000005a8]
J 36097 c1 com.intellij.openapi.application.impl.ApplicationImpl.runWithoutImplicitRead(Ljava/lang/Runnable;)V (28 bytes) @ 0x000000010f0ad294 [0x000000010f0accc0+0x00000000000005d4]
J 35666 c1 com.intellij.ide.IdeEventQueue._dispatchEvent(Ljava/awt/AWTEvent;)V (357 bytes) @ 0x00000001112e74c8 [0x00000001112e4300+0x00000000000031c8]
J 40687 c2 com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke()V (48 bytes) @ 0x000000011f451394 [0x000000011f451080+0x0000000000000314]
J 36813 c1 com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke()Ljava/lang/Object; (8 bytes) @ 0x00000001119ee058 [0x00000001119edfc0+0x0000000000000098]
J 40786 c2 com.intellij.ide.IdeEventQueueKt.performActivity(Ljava/awt/AWTEvent;Lkotlin/jvm/functions/Function0;)V (111 bytes) @ 0x000000011f4799fc [0x000000011f4796c0+0x000000000000033c]
J 36812 c1 com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(Lcom/intellij/ide/IdeEventQueue;Ljava/awt/AWTEvent;ZLjava/awt/AWTEvent;Lcom/intellij/diagnostic/EventWatcher;Ljava/lang/Runnable;Ljava/lang/Class;J)V (430 bytes) @ 0x00000001119e80f0 [0x00000001119e70c0+0x0000000000001030]
J 37889 c2 com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(Ljava/lang/Runnable;)V (58 bytes) @ 0x000000011f24efb8 [0x000000011f24ef00+0x00000000000000b8]
J 40827 c1 com.intellij.ide.IdeEventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V (708 bytes) @ 0x0000000111fdc634 [0x0000000111fdba00+0x0000000000000c34]
j  com.intellij.openapi.progress.impl.PlatformTaskSupportKt.pumpEventsForHierarchy(Lcom/intellij/ide/IdeEventQueue;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V+71
j  com.intellij.openapi.progress.impl.PlatformTaskSupportKt.access$pumpEventsForHierarchy(Lcom/intellij/ide/IdeEventQueue;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V+3
j  com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$2.invoke(Lcom/intellij/openapi/application/ModalityState;)Ljava/lang/Object;+227
j  com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$2.invoke(Ljava/lang/Object;)Ljava/lang/Object;+5
j  com.intellij.openapi.application.impl.ModalityKt.inModalContext(Lcom/intellij/openapi/application/impl/JobProvider;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;+34
j  com.intellij.openapi.progress.impl.PlatformTaskSupport.runWithModalProgressBlockingInternal(Lkotlinx/coroutines/CoroutineScope;Lkotlinx/coroutines/CoroutineDispatcher;Lcom/intellij/openapi/progress/impl/ModalIndicatorDescriptor;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;+39
j  com.intellij.openapi.progress.impl.PlatformTaskSupport.access$runWithModalProgressBlockingInternal(Lcom/intellij/openapi/progress/impl/PlatformTaskSupport;Lkotlinx/coroutines/CoroutineScope;Lkotlinx/coroutines/CoroutineDispatcher;Lcom/intellij/openapi/progress/impl/ModalIndicatorDescriptor;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;+6
j  com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$1.invoke(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;+54
j  com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$1.invoke(Ljava/lang/Object;)Ljava/lang/Object;+5
j  com.intellij.openapi.progress.ContextKt.prepareThreadContext(Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;+46
j  com.intellij.openapi.progress.impl.PlatformTaskSupport.runWithModalProgressBlockingInternal(Lcom/intellij/openapi/progress/ModalTaskOwner;Ljava/lang/String;Lcom/intellij/openapi/progress/TaskCancellation;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;+45
j  com.intellij.openapi.progress.TasksKt.runWithModalProgressBlocking(Lcom/intellij/openapi/progress/ModalTaskOwner;Ljava/lang/String;Lcom/intellij/openapi/progress/TaskCancellation;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;+31
j  com.intellij.openapi.progress.TasksKt.runWithModalProgressBlocking(Lcom/intellij/openapi/project/Project;Ljava/lang/String;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;+42
j  com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFile(Lcom/intellij/openapi/vfs/VirtualFile;Lcom/intellij/openapi/fileEditor/impl/EditorWindow;Lcom/intellij/openapi/fileEditor/impl/FileEditorOpenOptions;)Lcom/intellij/openapi/fileEditor/FileEditorComposite;+369
j  com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(Lcom/intellij/openapi/vfs/VirtualFile;Z)[Lcom/intellij/openapi/fileEditor/FileEditor;+26
j  dev.nx.console.generate.NxGenerateService.openGenerateUi$lambda$7(Lcom/intellij/openapi/project/Project;Ldev/nx/console/models/NxGenerator;Ldev/nx/console/models/NxGeneratorContext;)V+92
j  dev.nx.console.generate.NxGenerateService$$Lambda$8287+0x0000000302eb84b8.run()V+12
J 25571 c1 com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(Ljava/lang/Runnable;)V (42 bytes) @ 0x00000001107c5afc [0x00000001107c5a40+0x00000000000000bc]
J 37889 c2 com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(Ljava/lang/Runnable;)V (58 bytes) @ 0x000000011f24f238 [0x000000011f24ef00+0x0000000000000338]
J 37679 c1 com.intellij.openapi.application.impl.ApplicationImpl$4.run()V (12 bytes) @ 0x000000010f099c84 [0x000000010f099bc0+0x00000000000000c4]
J 37678 c1 com.intellij.openapi.application.impl.FlushQueue.doRun(Lcom/intellij/openapi/application/impl/FlushQueue$RunnableInfo;)V (57 bytes) @ 0x000000010f3f197c [0x000000010f3f1780+0x00000000000001fc]
J 37677 c1 com.intellij.openapi.application.impl.FlushQueue.runNextEvent(Lcom/intellij/openapi/application/impl/FlushQueue$RunnableInfo;)V (599 bytes) @ 0x000000010f4dd338 [0x000000010f4dd240+0x00000000000000f8]
J 27981 c1 com.intellij.openapi.application.impl.FlushQueue.flushNow()V (95 bytes) @ 0x00000001102c5ebc [0x00000001102c5d80+0x000000000000013c]
J 27980 c1 com.intellij.openapi.application.impl.FlushQueue$$Lambda$690+0x0000000300880ca0.run()V (8 bytes) @ 0x00000001102c59c8 [0x00000001102c5940+0x0000000000000088]
J 33894 c1 java.awt.event.InvocationEvent.dispatch()V java.desktop (69 bytes) @ 0x000000010fc99a14 [0x000000010fc997c0+0x0000000000000254]
J 36823 c1 java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V java.desktop (136 bytes) @ 0x00000001119f8424 [0x00000001119f68c0+0x0000000000001b64]
J 36822 c1 java.awt.EventQueue$3.run()Ljava/lang/Void; java.desktop (60 bytes) @ 0x00000001119f5fd0 [0x00000001119f5e80+0x0000000000000150]
J 35803 c1 java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V java.desktop (80 bytes) @ 0x000000010ecaba40 [0x000000010ecab4c0+0x0000000000000580]
J 36830 c1 com.intellij.ide.IdeEventQueue.defaultDispatchEvent(Ljava/awt/AWTEvent;)V (145 bytes) @ 0x0000000111a01084 [0x0000000111a003c0+0x0000000000000cc4]
J 36095 c1 com.intellij.ide.IdeEventQueue$$Lambda$757+0x00000003008fe6b0.run()V (12 bytes) @ 0x000000010ee22468 [0x000000010ee21ec0+0x00000000000005a8]
J 36097 c1 com.intellij.openapi.application.impl.ApplicationImpl.runWithoutImplicitRead(Ljava/lang/Runnable;)V (28 bytes) @ 0x000000010f0ad294 [0x000000010f0accc0+0x00000000000005d4]
J 35666 c1 com.intellij.ide.IdeEventQueue._dispatchEvent(Ljava/awt/AWTEvent;)V (357 bytes) @ 0x00000001112e74c8 [0x00000001112e4300+0x00000000000031c8]
J 40687 c2 com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke()V (48 bytes) @ 0x000000011f451394 [0x000000011f451080+0x0000000000000314]
J 36813 c1 com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke()Ljava/lang/Object; (8 bytes) @ 0x00000001119ee058 [0x00000001119edfc0+0x0000000000000098]
J 40786 c2 com.intellij.ide.IdeEventQueueKt.performActivity(Ljava/awt/AWTEvent;Lkotlin/jvm/functions/Function0;)V (111 bytes) @ 0x000000011f479a1c [0x000000011f4796c0+0x000000000000035c]
J 36812 c1 com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(Lcom/intellij/ide/IdeEventQueue;Ljava/awt/AWTEvent;ZLjava/awt/AWTEvent;Lcom/intellij/diagnostic/EventWatcher;Ljava/lang/Runnable;Ljava/lang/Class;J)V (430 bytes) @ 0x00000001119e80f0 [0x00000001119e70c0+0x0000000000001030]
J 37889 c2 com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(Ljava/lang/Runnable;)V (58 bytes) @ 0x000000011f24efb8 [0x000000011f24ef00+0x00000000000000b8]
J 40827 c1 com.intellij.ide.IdeEventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V (708 bytes) @ 0x0000000111fdc634 [0x0000000111fdba00+0x0000000000000c34]
J 36809 c1 java.awt.EventDispatchThread.pumpOneEventForFilters(I)V java.desktop (113 bytes) @ 0x00000001119de584 [0x00000001119ddd80+0x0000000000000804]
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35 java.desktop
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11 java.desktop
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 java.desktop
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 java.desktop
j  java.awt.EventDispatchThread.run()V+18 java.desktop
v  ~StubRoutines::call_stub

siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x0000000000000000

Register to memory mapping:

 x0=0x0000000358396d90 points into unknown readable memory: 0x0070007400740068 | 68 00 74 00 74 00 70 00
 x1=0x0000000000000004 is an unknown value
 x2=0x0000000385806430 points into unknown readable memory: 0x0000000000000000 | 00 00 00 00 00 00 00 00
 x3=0x0000000000000001 is an unknown value
 x4=0x0 is NULL
 x5=0x000000000000000c is an unknown value
 x6=0x0000000109d54d68: _ZN9Assembler3addEP12RegisterImplS1_S1_NS_10shift_kindEj+0 in /Users/louislecouturier/Library/Application Support/JetBrains/Toolbox/apps/WebStorm/ch-0/232.8660.143/WebStorm.app/Contents/jbr/Contents/Home/lib/server/libjvm.dylib at 0x0000000109cd8000
 x7=0x0 is NULL
 x8=0x0000000000000001 is an unknown value
 x9=0x0000000000016103 is an unknown value
x10=0x000000006a214428 is an unknown value
x11=0x000000002a214428 is an unknown value
x12=0x000000002a214428 is an unknown value
x13=0x000000006a214428 is an unknown value
x14=0x00000000ffffffff is an unknown value
x15=0x0000000383704080 points into unknown readable memory: 0x6e6500168e5d0001 | 01 00 5d 8e 16 00 65 6e
x16=0x000000018364fc00: _platform_memset+0 in /usr/lib/system/libsystem_platform.dylib at 0x000000018364c000
x17=0x00000001e3a100e8 points into unknown readable memory: 0x000000018364fc00 | 00 fc 64 83 01 00 00 00
x18=0x0 is NULL
x19=0x00000002b413fb70 is pointing into the stack for thread: 0x000000013e8faa00
x20=0x000000013e8faca8 points into unknown readable memory: 0x000000010a8de270 | 70 e2 8d 0a 01 00 00 00
x21=0x00000002b413fa78 is pointing into the stack for thread: 0x000000013e8faa00
x22=0x0000000358396d90 points into unknown readable memory: 0x0070007400740068 | 68 00 74 00 74 00 70 00
x23=0x0000000000000004 is an unknown value
x24=0x00000002b413fb78 is pointing into the stack for thread: 0x000000013e8faa00
x25=0x00000006c39bcee0 is an oop: java.util.HashMap 
{0x00000006c39bcee0} - klass: 'java/util/HashMap'
 - ---- fields (total size 6 words):
 - transient 'keySet' 'Ljava/util/Set;' @12  NULL (0)
 - transient 'values' 'Ljava/util/Collection;' @16  NULL (0)
 - transient 'size' 'I' @20  59 (3b)
 - transient 'modCount' 'I' @24  1489 (5d1)
 - 'threshold' 'I' @28  96 (60)
 - final 'loadFactor' 'F' @32  0.750000 (3f400000)
 - transient 'table' '[Ljava/util/HashMap$Node;' @36  a 'java/util/HashMap$Node'[128] {0x00000006cb3d0760} (d967a0ec)
 - transient 'entrySet' 'Ljava/util/Set;' @40  NULL (0)
x26=0x000000034ad92c08 is pointing into metadata
x27=0x0000000720adf320 is pointing into object: kotlinx.coroutines.debug.internal.HashedWeakRef 
{0x0000000720adf310} - klass: 'kotlinx/coroutines/debug/internal/HashedWeakRef'
 - ---- fields (total size 4 words):
 - private 'referent' 'Ljava/lang/Object;' @12  a 'com/intellij/openapi/fileEditor/impl/FileEditorManagerImpl$openFileInEdt$2'{0x0000000722a2b580} (e45456b0)
 - volatile 'queue' 'Ljava/lang/ref/ReferenceQueue;' @16  a 'java/lang/ref/ReferenceQueue'{0x00000006c2781ca8} (d84f0395)
 - volatile 'next' 'Ljava/lang/ref/Reference;' @20  NULL (0)
 - private transient 'discovered' 'Ljava/lang/ref/Reference;' @24  NULL (0)
 - public final 'hash' 'I' @28  2020874550 (78741936)
x28=0x000000013e8faa00 is a thread

Registers:
 x0=0x0000000358396d90  x1=0x0000000000000004  x2=0x0000000385806430  x3=0x0000000000000001
 x4=0x0000000000000000  x5=0x000000000000000c  x6=0x0000000109d54d68  x7=0x0000000000000000
 x8=0x0000000000000001  x9=0x0000000000016103 x10=0x000000006a214428 x11=0x000000002a214428
x12=0x000000002a214428 x13=0x000000006a214428 x14=0x00000000ffffffff x15=0x0000000383704080
x16=0x000000018364fc00 x17=0x00000001e3a100e8 x18=0x0000000000000000 x19=0x00000002b413fb70
x20=0x000000013e8faca8 x21=0x00000002b413fa78 x22=0x0000000358396d90 x23=0x0000000000000004
x24=0x00000002b413fb78 x25=0x00000006c39bcee0 x26=0x000000034ad92c08 x27=0x0000000720adf320
x28=0x000000013e8faa00  fp=0x00000002b413fa50  lr=0x00000003864fa790  sp=0x00000002b413fa20
pc=0x0000000000000000 cpsr=0x0000000060001000
Top of Stack: (sp=0x00000002b413fa20)
0x00000002b413fa20:   00000002b413fb78 00000002b413fb60
0x00000002b413fa30:   00000002b413fb70 000000013e8faca8
0x00000002b413fa40:   00000002b413fb68 000000038377e4e0
0x00000002b413fa50:   00000002b413fac0 00000003864bb4b8
0x00000002b413fa60:   0000000000000001 000000013e8faa00
0x00000002b413fa70:   00000002b413fab0 000000038655c0f0
0x00000002b413fa80:   0000000385806430 000000013e8faa01
0x00000002b413fa90:   00000002b413fb78 00000006c3272d28
0x00000002b413faa0:   0000000000000000 000000010a922138
0x00000002b413fab0:   00000002b413fad0 000000011e19f700
0x00000002b413fac0:   00000002b413fb40 000000011e1a18ac
0x00000002b413fad0:   00000002b413fb40 000000011e1a16cc
0x00000002b413fae0:   000000011e1a16cc 000000034ad90da8
0x00000002b413faf0:   00000002b413faf0 0000000000000000
0x00000002b413fb00:   00000002b413fb78 000000034ad92c08
0x00000002b413fb10:   00000006cc781048 0000000000000000
0x00000002b413fb20:   0000000000000000 000000034ad90da8
0x00000002b413fb30:   0000000000000000 00000002b413fb40
0x00000002b413fb40:   00000002b413fbd0 000000011e19de68
0x00000002b413fb50:   0000000000000000 0000000000000000
0x00000002b413fb60:   0000000720b54900 0000000720b53c30
0x00000002b413fb70:   00000006c161e230 0000000720a17008
0x00000002b413fb80:   00000002b413fb80 000000034a33796c
0x00000002b413fb90:   00000002b413fc08 000000034ad92c08
0x00000002b413fba0:   00000006cc781048 0000000000000000
0x00000002b413fbb0:   0000000000000000 000000034a3379d0
0x00000002b413fbc0:   00000002b413fb60 00000002b413fbc0
0x00000002b413fbd0:   00000002b413fc60 000000011e19de68
0x00000002b413fbe0:   0000000000000001 0000000000000000
0x00000002b413fbf0:   0000000720b54900 0000000720b53c30
0x00000002b413fc00:   00000006c161e230 0000000720a17008
0x00000002b413fc10:   00000002b413fc10 0000000390b77b8c 

Instructions: (pc=0x0000000000000000)
0xffffffffffffff00:   

Stack slot to memory mapping:
stack at sp + 0 slots: 0x00000002b413fb78 is pointing into the stack for thread: 0x000000013e8faa00
stack at sp + 1 slots: 0x00000002b413fb60 is pointing into the stack for thread: 0x000000013e8faa00
stack at sp + 2 slots: 0x00000002b413fb70 is pointing into the stack for thread: 0x000000013e8faa00
stack at sp + 3 slots: 0x000000013e8faca8 points into unknown readable memory: 0x000000010a8de270 | 70 e2 8d 0a 01 00 00 00
stack at sp + 4 slots: 0x00000002b413fb68 is pointing into the stack for thread: 0x000000013e8faa00
stack at sp + 5 slots: 0x000000038377e4e0 points into unknown readable memory: 0x000000038655dfe8 | e8 df 55 86 03 00 00 00
stack at sp + 6 slots: 0x00000002b413fac0 is pointing into the stack for thread: 0x000000013e8faa00
stack at sp + 7 slots: 0x00000003864bb4b8: Java_org_cef_CefApp_N_1RegisterSchemeHandlerFactory+0x60 in /Users/louislecouturier/Library/Application Support/JetBrains/Toolbox/apps/WebStorm/ch-0/232.8660.143/WebStorm.app/Contents/jbr/Contents/Home/lib/libjcef.dylib at 0x00000003864b4000

   com.intellij.diagnostic.JBRCrash

Environment

NX Report :

 Node   : 18.16.0
   OS     : darwin-arm64
   pnpm   : 8.6.6

   nx                 : 16.5.3
   @nx/js             : 16.5.3
   @nx/jest           : 16.5.3
   @nx/linter         : 16.5.3
   @nx/workspace      : 16.5.3
   @nx/cypress        : 16.5.3
   @nx/devkit         : 16.5.3
   @nx/eslint-plugin  : 16.5.3
   @nx/nest           : 16.5.3
   @nx/next           : 16.5.3
   @nx/node           : 16.5.3
   @nx/react          : 16.5.3
   @nx/storybook      : 16.5.3
   @nrwl/tao          : 16.5.3
   @nx/web            : 16.5.3
   @nx/webpack        : 16.5.3
   nx-cloud           : 16.1.1
   typescript         : 5.1.6
MaxKless commented 1 year ago

Thanks, I'll look into it

@LouisLecouturier was this a one-time thing or can you consistently reproduce it?

petarblazevski commented 1 year ago

This started happening for me after the release of 2023.02, before it worked without issues. Also, this is happening every time we use the generate command in WebStorm, not just one-time thingy

MaxKless commented 1 year ago

okay thanks for confirming :) I will see what's up there. @petarblazevski can you also post some details on your environment? I would really appreciate it if you could post your idea.log after reproducing the bug. It might contain valuable info for me. Here's how you can find the file, even after a crash: https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files

@LouisLecouturier would be great if you could send your idea.log too.

Thank you!! 🙏

petarblazevski commented 1 year ago

Sorry @MaxKless it took me a little longer to reply. I just did another round of testing, and for me it works now 😕

Maybe there was a patch released for WebStorm in the meantime. However, I just tested with my project and a fresh NX project, working as expected

Phhansen commented 1 year ago

This is still happening to me using webstorm 2023.2 and latest nx console plugin update. It is consistent and happens every time i try and use nx generate (UI), it just crashes.

I don't seem to get anything inside idea.log since it doesn't seem to log anything right at the crash

I get this error when exporting logs (java_error_in_webstorm_74399.log shortened a little):

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000000000, pid=74399, tid=98051
#
# JRE version: OpenJDK Runtime Environment JBR-17.0.7+7-1000.6-jcef (17.0.7+7) (build 17.0.7+7-b1000.6)
# Java VM: OpenJDK 64-Bit Server VM JBR-17.0.7+7-1000.6-jcef (17.0.7+7-b1000.6, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-aarch64)
# Problematic frame:
# C  0x0000000000000000
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   https://youtrack.jetbrains.com/issues/JBR
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  S U M M A R Y ------------

Command Line: -XX:ErrorFile=/Users/poulhansen/java_error_in_webstorm_%p.log -XX:HeapDumpPath=/Users/poulhansen/java_error_in_webstorm.hprof -Xms128m -Xmx2048m -XX:ReservedCodeCacheSize=512m -XX:+UseG1GC -XX:SoftRefLRUPolicyMSPerMB=50 -XX:CICompilerCount=2 -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -XX:+IgnoreUnrecognizedVMOptions -XX:CompileCommand=exclude,com/intellij/openapi/vfs/impl/FilePartNodeRoot,trieDescend -ea -Dsun.io.useCanonCaches=false -Dsun.java2d.metal=true -Djbr.catch.SIGABRT=true -Djdk.http.auth.tunneling.disabledSchemes="" -Djdk.attach.allowAttachSelf=true -Djdk.module.illegalAccess.silent=true -Dkotlinx.coroutines.debug=off -Dapple.awt.application.appearance=system -Djb.vmOptionsFile=/Users/poulhansen/Library/Application Support/JetBrains/WebStorm2023.2/webstorm.vmoptions --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.ref=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.vm=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.fs=ALL-UNNAMED --add-opens=java.base/sun.security.ssl=ALL-UNNAMED --add-opens=java.base/sun.security.util=ALL-UNNAMED --add-opens=java.base/sun.net.dns=ALL-UNNAMED --add-opens=java.desktop/com.apple.eawt=ALL-UNNAMED --add-opens=java.desktop/com.apple.eawt.event=ALL-UNNAMED --add-opens=java.desktop/com.apple.laf=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.desktop/java.awt.dnd.peer=ALL-UNNAMED --add-opens=java.desktop/java.awt.event=ALL-UNNAMED --add-opens=java.desktop/java.awt.image=ALL-UNNAMED --add-opens=java.desktop/java.awt.peer=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED --add-opens=java.desktop/javax.swing=ALL-UNNAMED --add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED --add-opens=java.desktop/sun.awt.datatransfer=ALL-UNNAMED --add-opens=java.desktop/sun.awt.image=ALL-UNNAMED --add-opens=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.desktop/sun.font=ALL-UNNAMED --add-opens=java.desktop/sun.java2d=ALL-UNNAMED --add-opens=java.desktop/sun.lwawt=ALL-UNNAMED --add-opens=java.desktop/sun.lwawt.macosx=ALL-UNNAMED --add-opens=java.desktop/sun.swing=ALL-UNNAMED --add-opens=java.desktop/com.sun.java.swing=ALL-UNNAMED --add-opens=jdk.attach/sun.tools.attach=ALL-UNNAMED --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED --add-opens=jdk.jdi/com.sun.tools.jdi=ALL-UNNAMED -Djava.system.class.loader=com.intellij.util.lang.PathClassLoader -Djna.nosys=true -Dpty4j.preferred.native.folder=/Applications/WebStorm.app/Contents/lib/pty4j -Djna.boot.library.path=/Applications/WebStorm.app/Contents/lib/jna/aarch64 -Daether.connector.resumeDownloads=false -Djna.noclasspath=true -Didea.executable=webstorm -Dsplash=true -Didea.platform.prefix=WebStorm -Didea.home.path=/Applications/WebStorm.app/Contents -Didea.paths.selector=WebStorm2023.2 -Didea.vendor.name=JetBrains 

Host: "MacBookPro18,3" arm64, 10 cores, 16G, Darwin 22.5.0, macOS 13.4.1 (22F82)
Time: Fri Aug  4 08:55:02 2023 CEST elapsed time: 381.368933 seconds (0d 0h 6m 21s)

---------------  T H R E A D  ---------------

Current thread (0x0000000144829a00):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=98051, stack(0x00000002f4234000,0x00000002f4437000)]

Stack: [0x00000002f4234000,0x00000002f4437000],  sp=0x00000002f44347a0,  free space=2049k
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.cef.CefApp.N_RegisterSchemeHandlerFactory(Ljava/lang/String;Ljava/lang/String;Lorg/cef/callback/CefSchemeHandlerFactory;)Z+0 jcef
j  org.cef.CefApp.registerSchemeHandlerFactory(Ljava/lang/String;Ljava/lang/String;Lorg/cef/callback/CefSchemeHandlerFactory;)Z+4 jcef
j  dev.nx.console.generate.ui.V2NxGenerateUiFile.registerAppSchemeHandler()V+20
j  dev.nx.console.generate.ui.V2NxGenerateUiFile.createMainComponent(Lcom/intellij/openapi/project/Project;)Ljavax/swing/JComponent;+37
j  dev.nx.console.generate.ui.NxGenerateUiFileEditor.<init>(Lcom/intellij/openapi/project/Project;Ldev/nx/console/generate/ui/NxGenerateUiFile;)V+35
j  dev.nx.console.generate.ui.NxGenerateUiFileEditorProvider.createEditor(Lcom/intellij/openapi/project/Project;Lcom/intellij/openapi/vfs/VirtualFile;)Lcom/intellij/openapi/fileEditor/FileEditor;+21
j  com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.createComposite(Lcom/intellij/openapi/vfs/VirtualFile;Ljava/util/List;)Lcom/intellij/openapi/fileEditor/impl/EditorComposite;+154
j  com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$openFileInEdt$2$1.invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;+138
J 28102 c2 kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Ljava/lang/Object;)V (128 bytes) @ 0x000000011b14ce5c [0x000000011b14cd80+0x00000000000000dc]
J 35586 c2 kotlinx.coroutines.DispatchedTask.run()V (574 bytes) @ 0x000000011b632198 [0x000000011b631d40+0x0000000000000458]
j  com.intellij.openapi.application.impl.DispatchedRunnable.run()V+51
J 28233 c1 com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(Ljava/lang/Runnable;)V (42 bytes) @ 0x000000010a6aa4e4 [0x000000010a6aa340+0x00000000000001a4]
J 29810 c2 com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(Ljava/lang/Runnable;)V (58 bytes) @ 0x000000011af81a78 [0x000000011af81680+0x00000000000003f8]
J 38037 c2 com.intellij.openapi.application.impl.FlushQueue.runNextEvent(Lcom/intellij/openapi/application/impl/FlushQueue$RunnableInfo;)V (599 bytes) @ 0x000000011b9582c0 [0x000000011b957f00+0x00000000000003c0]
J 38696 c2 com.intellij.openapi.application.impl.FlushQueue$$Lambda$576+0x00000003007b0dc0.run()V (8 bytes) @ 0x000000011ba42668 [0x000000011ba424c0+0x00000000000001a8]
J 29858 c2 java.awt.event.InvocationEvent.dispatch()V java.desktop (69 bytes) @ 0x000000011b0eeb5c [0x000000011b0eeb00+0x000000000000005c]
J 28853 c2 com.intellij.openapi.application.impl.ApplicationImpl.runWithoutImplicitRead(Ljava/lang/Runnable;)V (28 bytes) @ 0x000000011b1eca54 [0x000000011b1ebd40+0x0000000000000d14]
J 39388 c1 com.intellij.ide.IdeEventQueue._dispatchEvent(Ljava/awt/AWTEvent;)V (357 bytes) @ 0x000000010d92c548 [0x000000010d929380+0x00000000000031c8]
J 35055 c2 com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke()V (48 bytes) @ 0x000000011b46ba44 [0x000000011b46b4c0+0x0000000000000584]
J 26990 c2 com.intellij.ide.IdeEventQueueKt.performActivity(Ljava/awt/AWTEvent;Lkotlin/jvm/functions/Function0;)V (111 bytes) @ 0x000000011b07d434 [0x000000011b07d140+0x00000000000002f4]
J 39707 c1 com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(Lcom/intellij/ide/IdeEventQueue;Ljava/awt/AWTEvent;ZLjava/awt/AWTEvent;Lcom/intellij/diagnostic/EventWatcher;Ljava/lang/Runnable;Ljava/lang/Class;J)V (430 bytes) @ 0x000000010d128b70 [0x000000010d127b40+0x0000000000001030]
J 29810 c2 com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(Ljava/lang/Runnable;)V (58 bytes) @ 0x000000011af81738 [0x000000011af81680+0x00000000000000b8]
J 39706 c1 com.intellij.ide.IdeEventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V (708 bytes) @ 0x000000010dc35fd0 [0x000000010dc32480+0x0000000000003b50]
j  com.intellij.openapi.progress.impl.PlatformTaskSupportKt.pumpEventsForHierarchy(Lcom/intellij/ide/IdeEventQueue;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V+71
j  com.intellij.openapi.progress.impl.PlatformTaskSupportKt.access$pumpEventsForHierarchy(Lcom/intellij/ide/IdeEventQueue;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V+3
j  com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$2.invoke(Lcom/intellij/openapi/application/ModalityState;)Ljava/lang/Object;+227
j  com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$2.invoke(Ljava/lang/Object;)Ljava/lang/Object;+5
j  com.intellij.openapi.application.impl.ModalityKt.inModalContext(Lcom/intellij/openapi/application/impl/JobProvider;Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;+34
j  com.intellij.openapi.progress.impl.PlatformTaskSupport.runWithModalProgressBlockingInternal(Lkotlinx/coroutines/CoroutineScope;Lkotlinx/coroutines/CoroutineDispatcher;Lcom/intellij/openapi/progress/impl/ModalIndicatorDescriptor;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;+39
j  com.intellij.openapi.progress.impl.PlatformTaskSupport.access$runWithModalProgressBlockingInternal(Lcom/intellij/openapi/progress/impl/PlatformTaskSupport;Lkotlinx/coroutines/CoroutineScope;Lkotlinx/coroutines/CoroutineDispatcher;Lcom/intellij/openapi/progress/impl/ModalIndicatorDescriptor;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;+6
j  com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$1.invoke(Lkotlin/coroutines/CoroutineContext;)Ljava/lang/Object;+54
j  com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$1.invoke(Ljava/lang/Object;)Ljava/lang/Object;+5
j  com.intellij.openapi.progress.ContextKt.prepareThreadContext(Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;+46
j  com.intellij.openapi.progress.impl.PlatformTaskSupport.runWithModalProgressBlockingInternal(Lcom/intellij/openapi/progress/ModalTaskOwner;Ljava/lang/String;Lcom/intellij/openapi/progress/TaskCancellation;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;+45
j  com.intellij.openapi.progress.TasksKt.runWithModalProgressBlocking(Lcom/intellij/openapi/progress/ModalTaskOwner;Ljava/lang/String;Lcom/intellij/openapi/progress/TaskCancellation;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;+31
j  com.intellij.openapi.progress.TasksKt.runWithModalProgressBlocking(Lcom/intellij/openapi/project/Project;Ljava/lang/String;Lkotlin/jvm/functions/Function2;)Ljava/lang/Object;+42
j  com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFile(Lcom/intellij/openapi/vfs/VirtualFile;Lcom/intellij/openapi/fileEditor/impl/EditorWindow;Lcom/intellij/openapi/fileEditor/impl/FileEditorOpenOptions;)Lcom/intellij/openapi/fileEditor/FileEditorComposite;+369
j  com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(Lcom/intellij/openapi/vfs/VirtualFile;Z)[Lcom/intellij/openapi/fileEditor/FileEditor;+26
j  dev.nx.console.generate.NxGenerateService.openGenerateUi$lambda$7(Lcom/intellij/openapi/project/Project;Ldev/nx/console/models/NxGenerator;Ldev/nx/console/models/NxGeneratorContext;)V+92
j  dev.nx.console.generate.NxGenerateService$$Lambda$5283+0x0000000302506578.run()V+12
J 28233 c1 com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(Ljava/lang/Runnable;)V (42 bytes) @ 0x000000010a6aa4e4 [0x000000010a6aa340+0x00000000000001a4]
J 29810 c2 com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(Ljava/lang/Runnable;)V (58 bytes) @ 0x000000011af81a78 [0x000000011af81680+0x00000000000003f8]
J 38037 c2 com.intellij.openapi.application.impl.FlushQueue.runNextEvent(Lcom/intellij/openapi/application/impl/FlushQueue$RunnableInfo;)V (599 bytes) @ 0x000000011b9582c0 [0x000000011b957f00+0x00000000000003c0]
J 38696 c2 com.intellij.openapi.application.impl.FlushQueue$$Lambda$576+0x00000003007b0dc0.run()V (8 bytes) @ 0x000000011ba42668 [0x000000011ba424c0+0x00000000000001a8]
J 29858 c2 java.awt.event.InvocationEvent.dispatch()V java.desktop (69 bytes) @ 0x000000011b0eeb5c [0x000000011b0eeb00+0x000000000000005c]
J 28853 c2 com.intellij.openapi.application.impl.ApplicationImpl.runWithoutImplicitRead(Ljava/lang/Runnable;)V (28 bytes) @ 0x000000011b1eca54 [0x000000011b1ebd40+0x0000000000000d14]
J 39388 c1 com.intellij.ide.IdeEventQueue._dispatchEvent(Ljava/awt/AWTEvent;)V (357 bytes) @ 0x000000010d92c548 [0x000000010d929380+0x00000000000031c8]
J 35055 c2 com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke()V (48 bytes) @ 0x000000011b46ba44 [0x000000011b46b4c0+0x0000000000000584]
J 26990 c2 com.intellij.ide.IdeEventQueueKt.performActivity(Ljava/awt/AWTEvent;Lkotlin/jvm/functions/Function0;)V (111 bytes) @ 0x000000011b07d314 [0x000000011b07d140+0x00000000000001d4]
J 39707 c1 com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(Lcom/intellij/ide/IdeEventQueue;Ljava/awt/AWTEvent;ZLjava/awt/AWTEvent;Lcom/intellij/diagnostic/EventWatcher;Ljava/lang/Runnable;Ljava/lang/Class;J)V (430 bytes) @ 0x000000010d128b70 [0x000000010d127b40+0x0000000000001030]
J 29810 c2 com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(Ljava/lang/Runnable;)V (58 bytes) @ 0x000000011af81738 [0x000000011af81680+0x00000000000000b8]
J 39706 c1 com.intellij.ide.IdeEventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V (708 bytes) @ 0x000000010dc35fd0 [0x000000010dc32480+0x0000000000003b50]
J 39715 c1 java.awt.EventDispatchThread.pumpOneEventForFilters(I)V java.desktop (113 bytes) @ 0x000000010a764f84 [0x000000010a764780+0x0000000000000804]
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35 java.desktop
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11 java.desktop
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 java.desktop
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 java.desktop
j  java.awt.EventDispatchThread.run()V+18 java.desktop
v  ~StubRoutines::call_stub

siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x0000000000000000

---------------  S Y S T E M  ---------------

OS:
uname: Darwin 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000 arm64
OS uptime: 41 days 19:05 hours
rlimit (soft/hard): STACK 8176k/65520k , CORE 0k/infinity , NPROC 2666/4000 , NOFILE 10240/infinity , AS infinity/infinity , CPU infinity/infinity , DATA infinity/infinity , FSIZE infinity/infinity , MEMLOCK infinity/infinity , RSS infinity/infinity
load average: 3.60 4.34 3.97

CPU: total 10 (initial active 10) 0x61:0x0:0x1b588bb3:0, fp, simd, crc, lse

Memory: 16k page, physical 16777216k(63440k free), swap 4194304k(827136k free)

vm_info: OpenJDK 64-Bit Server VM (17.0.7+7-b1000.6) for bsd-aarch64 JRE (17.0.7+7-b1000.6), built on 2023-07-07 by "builduser" with clang Apple LLVM 12.0.0 (clang-1200.0.32.27)

END.
MaxKless commented 1 year ago

@Phhansen are you also on apple silicon? Can you also reproduce on earlier Nx Console versions?

Phhansen commented 1 year ago

Hi @MaxKless

I am on apple sillicon yes. Is there an easy way for me to go back to older versions? If so i'll check it.

I just got back from being away for 3 weeks and there were updates to both webstorm and the plugin. I can say, however, that it did work perfectly fine 3 weeks ago with no crashes at all.

MaxKless commented 1 year ago

You can download the specific version here: https://plugins.jetbrains.com/plugin/21060-nx-console/versions/stable/359708 Then you'll have to install it from disk in the plugin settings:

image

Would be great to further narrow it down to changes on our side or webstorms

Phhansen commented 1 year ago

@MaxKless I'll check it out. Thanks for the guide

Phhansen commented 1 year ago

@MaxKless I just tested with the version you provided and it still crashes the moment i click the Nx Generate (UI) option in the context menu. Still nothing in the idea.log also.

etkachev commented 1 year ago

I get the same crash. When I select the generator from Nx Generator (UI) option, it just crashes the whole IDE.

etkachev commented 1 year ago

I get the same crash. When I select the generator from Nx Generator (UI) option, it just crashes the whole IDE.

I am also on Mac (apple silicon). I tried reverting to older version of the plugin (1.10.0), and that didn't seem to help. But might be something related to one of the recent webstorm updates the last few weeks?

Cammisuli commented 1 year ago

I finally got this to reproduce locally in a dev environment. I'll put in a fix asap

Cammisuli commented 1 year ago

for context, here's the youtrack issue related to this: https://youtrack.jetbrains.com/issue/JBR-5850/jcef-browser-doesnt-show-at-all-on-2023.2-EAP-works-fine-with-2023.1.3