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

continuous errors with intellij idea #211

Open
heinj opened this issue Nov 15, 2024 · 4 comments
Open

continuous errors with intellij idea #211

heinj opened this issue Nov 15, 2024 · 4 comments

Comments

@heinj
Copy link

heinj commented Nov 15, 2024

java.lang.NoClassDefFoundError: com/intellij/lang/ecmascript6/JSXHarmonyFileType
at com.eny.i18n.plugin.language.jsx.JsxTranslationExtractor.canExtract(JsxLanguageFactory.kt:63)
at com.eny.i18n.plugin.ide.actions.ExtractI18nIntentionAction.getExtractor(ExtractI18nIntentionAction.kt:44)
at com.eny.i18n.plugin.ide.actions.ExtractI18nIntentionAction.isAvailable(ExtractI18nIntentionAction.kt:73)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:199)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.lambda$getRegisteredIntentionActions$6(ShowIntentionsPass.java:379)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseBetweenHostAndInjected(ShowIntentionActionsHandler.java:269)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getRegisteredIntentionActions(ShowIntentionsPass.java:378)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:350)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:251)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:427)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:30)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:423)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:351)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:971)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$4(PassExecutorService.java:413)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:674)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:749)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:705)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:673)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:412)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:388)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:822)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$1(PassExecutorService.java:388)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.executeByImpatientReader(AnyThreadWriteThreadingSupport.kt:544)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:176)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:386)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:266)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
Caused by: java.lang.ClassNotFoundException: com.intellij.lang.ecmascript6.JSXHarmonyFileType PluginClassLoader(plugin=PluginDescriptor(name=i18n support, id=com.eny.i18n, descriptorPath=plugin.xml, path=/Library/Application Support/JetBrains/IntelliJIdea2024.3/plugins/i18n, version=2.6.2, package=null, isBundled=false), packagePrefix=null, state=active, parents=PluginDescriptor(name=Vue.js, id=org.jetbrains.plugins.vue, moduleName=intellij.vuejs/prettier, descriptorPath=intellij.vuejs.prettier.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/vuejs, version=243.21565.193, package=org.jetbrains.vuejs.libraries.prettier, isBundled=true), PluginDescriptor(name=Vue.js, id=org.jetbrains.plugins.vue, moduleName=intellij.vuejs/copyright, descriptorPath=intellij.vuejs.copyright.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/vuejs, version=243.21565.193, package=org.jetbrains.vuejs.copyright, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.javascript.sh, descriptorPath=intellij.javascript.sh.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.lang.javascript.sh, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.javascript.impl/diagrams, descriptorPath=intellij.javascript.impl.diagrams.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.lang.javascript.modules.diagram, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.javascript.sharedIndexes.generator, descriptorPath=intellij.javascript.sharedIndexes.generator.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.lang.javascript.indexing.shared.generator, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.javascript.sharedIndexes, descriptorPath=intellij.javascript.sharedIndexes.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.lang.javascript.indexing.shared, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.javascript.devkit, descriptorPath=intellij.javascript.devkit.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.lang.javascript.devkit, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.javascript.java, descriptorPath=intellij.javascript.java.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.javascript.java, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.aqua.runners.playwright.js, descriptorPath=intellij.aqua.runners.playwright.js.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.aqua.runners.playwright.js, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.aqua.runners.js.core, descriptorPath=intellij.aqua.runners.js.core.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.aqua.runners.js.core, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.aqua.runners.cypress, descriptorPath=intellij.aqua.runners.cypress.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.aqua.runners.cypress, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.impl, descriptorPath=intellij.platform.vcs.impl.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/lib, version=243.21565.193, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.log.impl, descriptorPath=intellij.platform.vcs.log.impl.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/lib, version=243.21565.193, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.dvcs.impl, descriptorPath=intellij.platform.vcs.dvcs.impl.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/lib, version=243.21565.193, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.collaborationTools, descriptorPath=intellij.platform.collaborationTools.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/lib, version=243.21565.193, package=null, isBundled=true), PluginDescriptor(name=YAML, id=org.jetbrains.plugins.yaml, descriptorPath=plugin.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/yaml, version=243.21565.193, package=org.jetbrains.yaml, isBundled=true), PluginDescriptor(name=Vue.js, id=org.jetbrains.plugins.vue, descriptorPath=plugin.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/vuejs, version=243.21565.193, package=org.jetbrains.vuejs, isBundled=true), PluginDescriptor(name=CSS, id=com.intellij.css, descriptorPath=plugin.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/css-impl, version=243.21565.193, package=null, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, descriptorPath=plugin.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=null, isBundled=true), )
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:157)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
... 34 more

@heinj
Copy link
Author

heinj commented Nov 16, 2024

java.lang.NoClassDefFoundError: com/intellij/lang/ecmascript6/JSXHarmonyFileType
at com.eny.i18n.plugin.language.jsx.JsxTranslationExtractor.canExtract(JsxLanguageFactory.kt:63)
at com.eny.i18n.plugin.ide.actions.ExtractI18nIntentionAction.getExtractor(ExtractI18nIntentionAction.kt:44)
at com.eny.i18n.plugin.ide.actions.ExtractI18nIntentionAction.isAvailable(ExtractI18nIntentionAction.kt:73)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.availableFor(ShowIntentionActionsHandler.java:199)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.lambda$getRegisteredIntentionActions$6(ShowIntentionsPass.java:379)
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseBetweenHostAndInjected(ShowIntentionActionsHandler.java:269)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getRegisteredIntentionActions(ShowIntentionsPass.java:378)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:350)
at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:251)
at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:67)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$2(PassExecutorService.java:427)
at com.intellij.platform.diagnostic.telemetry.helpers.TraceKt.use(trace.kt:30)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$3(PassExecutorService.java:423)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.tryRunReadAction(AnyThreadWriteThreadingSupport.kt:351)
at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:971)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$doRun$4(PassExecutorService.java:413)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$14(CoreProgressManager.java:674)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:749)
at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:705)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:673)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.doRun(PassExecutorService.java:412)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$0(PassExecutorService.java:388)
at com.intellij.openapi.fileTypes.impl.FileTypeManagerImpl.cacheFileTypesInside(FileTypeManagerImpl.java:822)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.lambda$run$1(PassExecutorService.java:388)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.executeByImpatientReader(AnyThreadWriteThreadingSupport.kt:544)
at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:176)
at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:386)
at com.intellij.concurrency.JobLauncherImpl$VoidForkJoinTask$1.exec(JobLauncherImpl.java:266)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:507)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1491)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:2073)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:2035)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:187)
Caused by: java.lang.ClassNotFoundException: com.intellij.lang.ecmascript6.JSXHarmonyFileType PluginClassLoader(plugin=PluginDescriptor(name=i18n support, id=com.eny.i18n, descriptorPath=plugin.xml, path=/Library/Application Support/JetBrains/IntelliJIdea2024.3/plugins/i18n, version=2.6.2, package=null, isBundled=false), packagePrefix=null, state=active, parents=PluginDescriptor(name=Vue.js, id=org.jetbrains.plugins.vue, moduleName=intellij.vuejs/prettier, descriptorPath=intellij.vuejs.prettier.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/vuejs, version=243.21565.193, package=org.jetbrains.vuejs.libraries.prettier, isBundled=true), PluginDescriptor(name=Vue.js, id=org.jetbrains.plugins.vue, moduleName=intellij.vuejs/copyright, descriptorPath=intellij.vuejs.copyright.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/vuejs, version=243.21565.193, package=org.jetbrains.vuejs.copyright, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.javascript.sh, descriptorPath=intellij.javascript.sh.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.lang.javascript.sh, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.javascript.impl/diagrams, descriptorPath=intellij.javascript.impl.diagrams.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.lang.javascript.modules.diagram, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.javascript.sharedIndexes.generator, descriptorPath=intellij.javascript.sharedIndexes.generator.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.lang.javascript.indexing.shared.generator, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.javascript.sharedIndexes, descriptorPath=intellij.javascript.sharedIndexes.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.lang.javascript.indexing.shared, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.javascript.devkit, descriptorPath=intellij.javascript.devkit.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.lang.javascript.devkit, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.javascript.java, descriptorPath=intellij.javascript.java.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.javascript.java, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.aqua.runners.playwright.js, descriptorPath=intellij.aqua.runners.playwright.js.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.aqua.runners.playwright.js, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.aqua.runners.js.core, descriptorPath=intellij.aqua.runners.js.core.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.aqua.runners.js.core, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, moduleName=intellij.aqua.runners.cypress, descriptorPath=intellij.aqua.runners.cypress.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=com.intellij.aqua.runners.cypress, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.impl, descriptorPath=intellij.platform.vcs.impl.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/lib, version=243.21565.193, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.log.impl, descriptorPath=intellij.platform.vcs.log.impl.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/lib, version=243.21565.193, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.vcs.dvcs.impl, descriptorPath=intellij.platform.vcs.dvcs.impl.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/lib, version=243.21565.193, package=null, isBundled=true), PluginDescriptor(name=IDEA CORE, id=com.intellij, moduleName=intellij.platform.collaborationTools, descriptorPath=intellij.platform.collaborationTools.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/lib, version=243.21565.193, package=null, isBundled=true), PluginDescriptor(name=YAML, id=org.jetbrains.plugins.yaml, descriptorPath=plugin.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/yaml, version=243.21565.193, package=org.jetbrains.yaml, isBundled=true), PluginDescriptor(name=Vue.js, id=org.jetbrains.plugins.vue, descriptorPath=plugin.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/vuejs, version=243.21565.193, package=org.jetbrains.vuejs, isBundled=true), PluginDescriptor(name=CSS, id=com.intellij.css, descriptorPath=plugin.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/css-impl, version=243.21565.193, package=null, isBundled=true), PluginDescriptor(name=JavaScript and TypeScript, id=JavaScript, descriptorPath=plugin.xml, path=/Applications/IntelliJ IDEA Ultimate.app/Contents/plugins/javascript-plugin, version=243.21565.193, package=null, isBundled=true), )
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.kt:157)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
... 34 more

@heinj heinj changed the title error with intellij idea continuous errors with intellij idea Nov 16, 2024
@heinj
Copy link
Author

heinj commented Nov 20, 2024

this error occurs multiple times in a day, please take a look at it 🙏

@Nopik
Copy link

Nopik commented Dec 6, 2024

@nyavro are you still developing this plugin? It is pretty great, but with recent IntelliJ changes it become quite unstable.

@mrauhu
Copy link

mrauhu commented Dec 7, 2024

Duplicate of #209

There is a change in the IntelliJ Platform and Plugins API 2024.3:

https://plugins.jetbrains.com/docs/intellij/api-changes-list-2024.html#javascript-plugin-20243

com.intellij.lang.ecmascript6.JSXHarmonyFileType class renamed to com.intellij.lang.javascript.JSXFileType

@nyavro, please update code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants