Problem w/Scala plug-in

I've been having some unique problems with IDEA recently.  I believe they began with my upgrade to 10.0.2 but can't be totally sure.  The stats:  I'm on IDEA 10.0.2, Windows 7 x64, JVM 1.6.0_21.  The symptoms I've been experiencing are, while editing a Java project, that copy and cut/paste sometimes do not work (for some blocks of text they work, for some they don't...  typically the larger the block I attempt this on, this less likely that it will work). In addition, syntax highlighting fails, and code analysis appears stuck in an analysis (eye showing) state.  I've attempted to invalidate caches more than once, and reinstalled IDEA with the current version to make sure the upgrade wasn't at fault.  No effect, and no other exceptions or errors during operation.

Until...  I surfed through the IDEA logs and found the following error repeated a number of times (all other messages were INFO level and appeared innocuous).  Based on this, I disabled the Scala plugin.  Voila - all functionality is back, including copies, syntax highlighting, refactoring, etc!  So the question is:  What's going on below??  This isn't a showstopper now - I'm not doing any Scala - but would like to use this at some point.

Thanks for any suggestions!

2011-03-14 21:39:25,101 [  75620]  ERROR - aemon.impl.PassExecutorService - tried to access method com.intellij.codeInsight.daemon.impl.AnnotationHolderImpl.<init>()V from class org.jetbrains.plugins.scala.annotator.ScalaAnnotatorHighlightVisitor
java.lang.IllegalAccessError: tried to access method com.intellij.codeInsight.daemon.impl.AnnotationHolderImpl.<init>()V from class org.jetbrains.plugins.scala.annotator.ScalaAnnotatorHighlightVisitor
    at org.jetbrains.plugins.scala.annotator.ScalaAnnotatorHighlightVisitor.<init>(ScalaAnnotatorHighlightingVisitor.scala:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
    at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220)
    at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
    at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
    at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
    at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
    at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentInstance(ExtensionComponentAdapter.java:71)
    at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getExtension(ExtensionComponentAdapter.java:106)
    at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapters(ExtensionPointImpl.java:221)
    at com.intellij.openapi.extensions.impl.ExtensionPointImpl.getExtensions(ExtensionPointImpl.java:165)
    at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:99)
    at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:93)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.createHighlightVisitors(GeneralHighlightingPass.java:159)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.c(GeneralHighlightingPass.java:146)
    at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:179)
    at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
    at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1016)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
    at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
    at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
    at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
    at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)

1 comment
Comment actions Permalink

You need to update Scala plugin

On 15.03.2011 6:12, Eric Byrnes wrote:

I've been having some unique problems with IDEA recently.  I believe they began with my upgrade to 10.0.2 but can't be totally sure.  The stats:  I'm on IDEA 10.0.2, Windows 7 x64, JVM 1.6.0_21.  The symptoms I've been experiencing are, while editing a Java project, that copy and cut/paste sometimes do not work (for some blocks of text they work, for some they don't...  typically the larger the block I attempt this on, this less likely that it will work). In addition, syntax highlighting fails, and code analysis appears stuck in an analysis (eye showing) state.  I've attempted to invalidate caches more than once, and reinstalled IDEA with the current version to make sure the upgrade wasn't at fault.  No effect, and no other exceptions or errors during operation.

>

Until...  I surfed through the IDEA logs and found the following error repeated a number of times (all other messages were INFO level and appeared innocuous).  Based on this, I disabled the Scala plugin.  Voila - all functionality is back, including copies, syntax highlighting, refactoring, etc!  So the question is:  What's going on below??  This isn't a showstopper now - I'm not doing any Scala - but would like to use this at some point.

>

Thanks for any suggestions!

>

2011-03-14 21:39:25,101   ERROR - aemon.impl.PassExecutorService - tried to access method com.intellij.codeInsight.daemon.impl.AnnotationHolderImpl.<init>()V from class org.jetbrains.plugins.scala.annotator.ScalaAnnotatorHighlightVisitor
java.lang.IllegalAccessError: tried to access method com.intellij.codeInsight.daemon.impl.AnnotationHolderImpl.<init>()V from class org.jetbrains.plugins.scala.annotator.ScalaAnnotatorHighlightVisitor
     at org.jetbrains.plugins.scala.annotator.ScalaAnnotatorHighlightVisitor.<init>(ScalaAnnotatorHighlightingVisitor.scala:26)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220)
     at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53)
     at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248)
     at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60)
     at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58)
     at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentInstance(ExtensionComponentAdapter.java:71)
     at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getExtension(ExtensionComponentAdapter.java:106)
     at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapters(ExtensionPointImpl.java:221)
     at com.intellij.openapi.extensions.impl.ExtensionPointImpl.getExtensions(ExtensionPointImpl.java:165)
     at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:99)
     at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:93)
     at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.createHighlightVisitors(GeneralHighlightingPass.java:159)
     at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.c(GeneralHighlightingPass.java:146)
     at com.intellij.codeInsight.daemon.impl.GeneralHighlightingPass.collectInformationWithProgress(GeneralHighlightingPass.java:179)
     at com.intellij.codeInsight.daemon.impl.ProgressableTextEditorHighlightingPass.doCollectInformation(ProgressableTextEditorHighlightingPass.java:57)
     at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:58)
     at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:348)
     at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1016)
     at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:340)
     at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)
     at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:338)
     at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:314)
     at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:133)
     at com.intellij.concurrency.JobUtil$3.call(JobUtil.java:130)
     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
     at java.util.concurrent.FutureTask.run(FutureTask.java:138)
     at com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
     at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
     at com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:113)
     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
     at java.lang.Thread.run(Thread.java:619)

>

---
Original message URL: http://devnet.jetbrains.net/message/5297377#5297377



--
Best regards,
   Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.