SeeSharpSoft / intellij-csv-validator

CSV validator, highlighter and formatter plugin for JetBrains Intellij IDEA, PyCharm, WebStorm, ...
Apache License 2.0
368 stars 44 forks source link

[Automated Report] java.lang.Throwable: Too many element types registered. Out of (short) range. Most of element types (25427) were registered for 'Language: ANY': NULL, WHITE_SPACE, BAD_CHARACTER, NEW_LINE_INDENT, ERROR_ELEMENT, CODE_FRAGMENT, DUMMY_HOLDER, KEYWORD_1, KEYWORD_2, KEYWORD_3, KEYWORD_4, STRING, SINGLE_QUOTED_STRING, NUMBER, IDENTIFIER, LINE_COMMENT, MULTI_LINE_COMMENT, WHITESPACE, CHARACTER, PUNCTUATION, L_BRACE, R_BRACE, L_BROCKET, R_BROCKET, L... #849

Closed adrianistrate closed 4 weeks ago

adrianistrate commented 5 months ago

Message

Stacktrace --- java.lang.Throwable: Too many element types registered. Out of (short) range. Most of element types (25427) were registered for 'Language: ANY': NULL, WHITE_SPACE, BAD_CHARACTER, NEW_LINE_INDENT, ERROR_ELEMENT, CODE_FRAGMENT, DUMMY_HOLDER, KEYWORD_1, KEYWORD_2, KEYWORD_3, KEYWORD_4, STRING, SINGLE_QUOTED_STRING, NUMBER, IDENTIFIER, LINE_COMMENT, MULTI_LINE_COMMENT, WHITESPACE, CHARACTER, PUNCTUATION, L_BRACE, R_BRACE, L_BROCKET, R_BROCKET, L... at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376) at com.intellij.psi.tree.IElementType.(IElementType.java:115) at com.intellij.psi.tree.IElementType.(IElementType.java:92) at net.seesharpsoft.intellij.plugins.csv.highlighter.CsvHighlightingElement$TokenBased.(CsvHighlightingElement.java:25) at net.seesharpsoft.intellij.plugins.csv.highlighter.CsvHighlightingElement$TokenBased.(CsvHighlightingElement.java:16) at net.seesharpsoft.intellij.plugins.csv.highlighter.CsvHighlightingLexer.getTokenType(CsvHighlightingLexer.java:56) at com.intellij.openapi.editor.ex.util.ValidatingLexerWrapper.getTokenType(ValidatingLexerWrapper.java:50) at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.doSetText(LexerEditorHighlighter.java:433) at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.setText(LexerEditorHighlighter.java:410) at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl$Companion$setHighlighterToEditor$highlighter$1.invoke(TextEditorImpl.kt:135) at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl$Companion$setHighlighterToEditor$highlighter$1.invoke(TextEditorImpl.kt:131) at com.intellij.openapi.application.rw.InternalReadAction.insideReadAction(InternalReadAction.kt:108) at com.intellij.openapi.application.rw.InternalReadAction.access$insideReadAction(InternalReadAction.kt:16) at com.intellij.openapi.application.rw.InternalReadAction$tryReadCancellable$2.invoke(InternalReadAction.kt:95) at com.intellij.openapi.application.rw.InternalReadAction$tryReadCancellable$2.invoke(InternalReadAction.kt:94) at com.intellij.openapi.application.rw.CancellableReadActionKt$cancellableReadActionInternal$1.invoke$lambda$1$lambda$0(cancellableReadAction.kt:38) at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1075) at com.intellij.openapi.application.rw.CancellableReadActionKt$cancellableReadActionInternal$1.invoke$lambda$1(cancellableReadAction.kt:36) at com.intellij.openapi.progress.util.ProgressIndicatorUtilService.runActionAndCancelBeforeWrite(ProgressIndicatorUtilService.java:73) at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:128) at com.intellij.openapi.application.rw.CancellableReadActionKt$cancellableReadActionInternal$1.invoke(cancellableReadAction.kt:34) at com.intellij.openapi.progress.CoroutinesKt.blockingContextInner(coroutines.kt:321) at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:310) at com.intellij.openapi.application.rw.CancellableReadActionKt.cancellableReadActionInternal(cancellableReadAction.kt:31) at com.intellij.openapi.application.rw.InternalReadAction.tryReadCancellable(InternalReadAction.kt:94) at com.intellij.openapi.application.rw.InternalReadAction.tryReadAction(InternalReadAction.kt:78) at com.intellij.openapi.application.rw.InternalReadAction.readLoop(InternalReadAction.kt:65) at com.intellij.openapi.application.rw.InternalReadAction.access$readLoop(InternalReadAction.kt:16) at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$4.invokeSuspend(InternalReadAction.kt:44) at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$4.invoke(InternalReadAction.kt) at com.intellij.openapi.application.rw.InternalReadAction$runReadAction$4.invoke(InternalReadAction.kt) at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78) at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167) at kotlinx.coroutines.BuildersKt.withContext(Unknown Source) at com.intellij.openapi.application.rw.InternalReadAction.runReadAction(InternalReadAction.kt:40) at com.intellij.openapi.application.rw.PlatformReadWriteActionSupport.executeReadAction(PlatformReadWriteActionSupport.kt:38) at com.intellij.openapi.application.ReadWriteActionSupport.executeReadAction$default(ReadWriteActionSupport.kt:15) at com.intellij.openapi.application.CoroutinesKt.constrainedReadAction(coroutines.kt:58) at com.intellij.openapi.application.CoroutinesKt.readAction(coroutines.kt:25) at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl$Companion.setHighlighterToEditor(TextEditorImpl.kt:131) at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl$Companion.access$setHighlighterToEditor(TextEditorImpl.kt:91) at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl$1.invokeSuspend(TextEditorImpl.kt:68) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) Plugin --- PluginClassLoader(plugin=PluginDescriptor(name=CSV Editor, id=net.seesharpsoft.intellij.plugins.csv, descriptorPath=plugin.xml, path=~/Library/Application Support/JetBrains/PhpStorm2023.3/plugins/CSVEditor, version=3.3.0-233, package=null, isBundled=false), packagePrefix=null, state=active) IDE --- PhpStorm (PS-233.14475.35)