question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

plugin 0.7.3 throws exceptions in intellij 2021.1.1

See original GitHub issue
Details: Current thread: Thread[Alarm Pool,4,Idea Thread Group] 1406064275
; dispatch thread: false; isDispatchThread(): false
SystemEventQueueThread: Thread[AWT-EventQueue-0,6,Idea Thread Group] 284421700

java.lang.Throwable: Read access is allowed from event dispatch thread or inside read-action only (see com.intellij.openapi.application.Application.runReadAction())
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:179)
	at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:992)
	at com.intellij.psi.impl.source.tree.TreeElement.assertReadAccessAllowed(TreeElement.java:424)
	at com.intellij.psi.impl.source.tree.CompositeElement.textToCharArray(CompositeElement.java:224)
	at com.intellij.psi.impl.source.tree.CompositeElement.getText(CompositeElement.java:212)
	at com.intellij.psi.impl.source.xml.XmlAttributeValueImpl.getValue(XmlAttributeValueImpl.java:54)
	at com.github.cameltooling.idea.service.extension.idea.XmlIdeaUtils.extractTextFromElement(XmlIdeaUtils.java:38)
	at com.github.cameltooling.idea.util.IdeaUtils.lambda$extractTextFromElement$0(IdeaUtils.java:118)
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
	at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1632)
	at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
	at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
	at com.github.cameltooling.idea.util.IdeaUtils.extractTextFromElement(IdeaUtils.java:121)
	at com.github.cameltooling.idea.util.IdeaUtils.extractTextFromElement(IdeaUtils.java:103)
	at com.github.cameltooling.idea.documentation.CamelDocumentationProvider.fetchLiteralForCamelDocumentation(CamelDocumentationProvider.java:362)
	at com.github.cameltooling.idea.documentation.CamelDocumentationProvider.generateDoc(CamelDocumentationProvider.java:141)
	at com.github.cameltooling.idea.documentation.CamelDocumentationProvider.fetchExternalDocumentation(CamelDocumentationProvider.java:269)
	at com.intellij.lang.documentation.CompositeDocumentationProvider.fetchExternalDocumentation(CompositeDocumentationProvider.java:231)
	at com.intellij.codeInsight.documentation.DocumentationManager$MyCollector.getDocumentation(DocumentationManager.java:1565)
	at com.intellij.codeInsight.documentation.DocumentationManager.getDocumentationAndProvider(DocumentationManager.java:975)
	at com.intellij.openapi.editor.EditorMouseHoverPopupManager$Context.calcInfo(EditorMouseHoverPopupManager.java:546)
	at com.intellij.openapi.editor.EditorMouseHoverPopupManager.lambda$scheduleProcessing$7(EditorMouseHoverPopupManager.java:208)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:688)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:634)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:64)
	at com.intellij.openapi.editor.EditorMouseHoverPopupManager.lambda$scheduleProcessing$8(EditorMouseHoverPopupManager.java:207)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
	at com.intellij.util.Alarm$Request.runSafely(Alarm.java:369)
	at com.intellij.util.Alarm$Request.run(Alarm.java:355)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:220)
	at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:216)
	at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:27)
	at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:195)
	at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:213)
	at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:184)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
	at java.base/java.lang.Thread.run(Thread.java:834)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8

github_iconTop GitHub Comments

2reactions
davsclauscommented, May 3, 2021

Thanks yeah I have seen that too when editing XML files. I think its fixed yesterday and will be in 0.7.4

0reactions
gufertumcommented, May 5, 2021

Thanks for looking into it. I’m only using standard components (mainly http4, ftp, json xslt, etc.). I just wanted to report the error which pops up from time to time. Otherwise it’s working…

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliJ IDEA 2021.1.1 (211.7142.45 build) Release Notes
Bug, IDEA-266171, Scala plugin not working after updating to 2021.1. Exception, IDEA-262319, IDEA constantly throws exception blocking class introspection.
Read more >
IntelliJ IDEA 2021.1 (211.6693.111 build) Release Notes
Search everywhere throws exception: com.intellij.diagnostic.PluginException: Created extension classloader is not equal to plugin's one. Android, Bug, IDEA- ...
Read more >
Lombok - IntelliJ IDEs Plugin
IntelliJ Lombok plugin. A plugin that adds first-class support for Project Lombok. Features. @Getter and @Setter. @FieldNameConstants. @ToString.
Read more >
Git Flow Integration - IntelliJ IDEs Plugin
Changelog for 0.7.7. Fix issue with "Unsupported gitflow version" message presented at startup #328 #329; Support for 2021.2 build ...
Read more >
Idea 2021.1 and 2021.1.1 hangs up accidentally : JBR-3407
I found a simple solution, disable all the plugin from preferences plugin option, and restart intellij IDE, and then enable plugin as you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found