Skip to content

IllegalStateException with IDEA 2019.1 #25

@ofry

Description

@ofry
IntelliJ IDEA 2019.1.1 (Ultimate Edition)
Build #IU-191.6707.61, built on April 16, 2019

JRE: 11.0.3+7-Ubuntu-1ubuntu1 amd64
JVM: OpenJDK 64-Bit Server VM by Ubuntu
Linux 5.0.0-14-generic

CuteJS v1.0.1

java.lang.IllegalStateException: TextAttributeKey(name:'KEYWORD', fallbackAttributeKey:'DEFAULT_KEYWORD')  was already registered with the other fallback attribute key: DEFAULT_STATIC_FIELD
	at com.intellij.openapi.editor.colors.TextAttributesKey.mergeKeys(TextAttributesKey.java:215)
	at com.intellij.openapi.editor.colors.TextAttributesKey.lambda$getOrCreate$4(TextAttributesKey.java:201)
	at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1932)
	at com.intellij.openapi.editor.colors.TextAttributesKey.getOrCreate(TextAttributesKey.java:201)
	at com.intellij.openapi.editor.colors.TextAttributesKey.createTextAttributesKey(TextAttributesKey.java:188)
	at org.cutejs.ide.highlight.CuteHighlighter.<clinit>(CuteHighlighter.kt:39)
	at org.cutejs.ide.highlight.CuteHighlighterFactory.getSyntaxHighlighter(CuteHighlighterFactory.kt:10)
	at com.intellij.openapi.fileTypes.SyntaxHighlighterFactory.getSyntaxHighlighter(SyntaxHighlighterFactory.java:39)
	at org.jetbrains.plugins.ruby.ruby.lang.highlighter.RubyEditorHighlighter.<init>(RubyEditorHighlighter.java:44)
	at org.jetbrains.plugins.ruby.ruby.lang.highlighter.RubyEditorHighlighterProvider.getEditorHighlighter(RubyEditorHighlighterProvider.java:18)
	at com.intellij.openapi.editor.highlighter.EditorHighlighterFactoryImpl.createEditorHighlighter(EditorHighlighterFactoryImpl.java:78)
	at com.intellij.openapi.editor.highlighter.EditorHighlighterFactoryImpl.createEditorHighlighter(EditorHighlighterFactoryImpl.java:107)
	at com.intellij.usages.impl.SyntaxHighlighterOverEditorHighlighter.<init>(SyntaxHighlighterOverEditorHighlighter.java:45)
	at com.intellij.usages.ChunkExtractor.<init>(ChunkExtractor.java:116)
	at com.intellij.usages.ChunkExtractor.<init>(ChunkExtractor.java:60)
	at com.intellij.usages.ChunkExtractor$1.lambda$create$0(ChunkExtractor.java:93)
	at com.intellij.util.containers.FactoryMap$1.create(FactoryMap.java:192)
	at com.intellij.util.containers.FactoryMap.get(FactoryMap.java:65)
	at com.intellij.usages.ChunkExtractor.getExtractor(ChunkExtractor.java:104)
	at com.intellij.usages.ChunkExtractor.extractChunks(ChunkExtractor.java:99)
	at com.intellij.usages.UsageInfo2UsageAdapter.initChunks(UsageInfo2UsageAdapter.java:133)
	at com.intellij.usages.UsageInfo2UsageAdapter.doUpdateCachedText(UsageInfo2UsageAdapter.java:474)
	at com.intellij.usages.UsageInfo2UsageAdapter.updateCachedText(UsageInfo2UsageAdapter.java:464)
	at com.intellij.usages.impl.UsageNode.updateCachedPresentation(UsageNode.java:103)
	at com.intellij.usages.impl.Node.update(Node.java:106)
	at com.intellij.usages.impl.UsageViewImpl.doAppendUsage(UsageViewImpl.java:1182)
	at com.intellij.usages.impl.UsageViewImpl.appendUsage(UsageViewImpl.java:1131)
	at com.intellij.usages.impl.SearchForUsagesRunnable.lambda$null$7(SearchForUsagesRunnable.java:398)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:940)
	at com.intellij.usages.impl.SearchForUsagesRunnable.lambda$searchUsages$8(SearchForUsagesRunnable.java:398)
	at com.intellij.find.findInProject.FindInProjectManager.lambda$null$1(FindInProjectManager.java:101)
	at com.intellij.find.impl.FindInProjectTask.lambda$null$6(FindInProjectTask.java:206)
	at com.intellij.find.impl.FindInProjectUtil.addToUsages(FindInProjectUtil.java:294)
	at com.intellij.find.impl.FindInProjectUtil.lambda$processUsagesInFile$2(FindInProjectUtil.java:255)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:974)
	at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:57)
	at com.intellij.find.impl.FindInProjectUtil.processUsagesInFile(FindInProjectUtil.java:253)
	at com.intellij.find.impl.FindInProjectTask.lambda$searchInFiles$9(FindInProjectTask.java:206)
	at com.intellij.psi.impl.search.PsiSearchHelperImpl.lambda$null$3(PsiSearchHelperImpl.java:363)
	at com.intellij.openapi.application.impl.ReadMostlyRWLock.executeByImpatientReader(ReadMostlyRWLock.java:164)
	at com.intellij.openapi.application.impl.ApplicationImpl.executeByImpatientReader(ApplicationImpl.java:218)
	at com.intellij.psi.impl.search.PsiSearchHelperImpl.lambda$processFilesConcurrentlyDespiteWriteActions$4(PsiSearchHelperImpl.java:362)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:133)
	at com.intellij.concurrency.ApplierCompleter.tryToExecAllList(ApplierCompleter.java:231)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:159)
	at com.intellij.concurrency.ApplierCompleter.tryToExecAllList(ApplierCompleter.java:231)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:159)
	at com.intellij.concurrency.ApplierCompleter.tryToExecAllList(ApplierCompleter.java:231)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:159)
	at com.intellij.concurrency.ApplierCompleter.tryToExecAllList(ApplierCompleter.java:231)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:159)
	at com.intellij.concurrency.ApplierCompleter.tryToExecAllList(ApplierCompleter.java:231)
	at com.intellij.concurrency.ApplierCompleter.execAndForkSubTasks(ApplierCompleter.java:159)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:586)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:532)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:86)
	at com.intellij.concurrency.ApplierCompleter.wrapInReadActionAndIndicator(ApplierCompleter.java:116)
	at com.intellij.concurrency.ApplierCompleter.compute(ApplierCompleter.java:99)
	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:177)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions