The color for error code or TODO are missing after I applied the 10.0.2 patch
I am using the community edition, and when I applied the 10.0.2 patch on the 10.0.1 version I used. The syntax like the red line under the error code. Or the bold blue text for TODO are missing. And I cannot this CMD+Enter to auto fix error code neither. I have tried to invalidate the cache but it looks not work. And all projects I worked has the same issue. Have any one met the same problem and found a solution?
Thanks.
请先登录再写评论。
Hello Wenhao!
This sounds a lot like the issue I just reported (http://devnet.jetbrains.net/message/5286686#5286686). Check the idea.log to see if you get the same error message as well.
Jørgen
Hello Jørgen,
I thought we have the same behavior, I am also running it on a Mac. Could you please tell me where I should try to find the idea.log?
And I have tried re-install the idea and it wouldn't help. I remove the IntelliJ with AppZapper, remove the .idea folder and .iml file from my project, it didn't work.
Thanks.
My idea.log is in /Users/jsi/Library/Logs/IntelliJIdea10, where jsi is my username on the Mac.
yes. It's the same thing as your log
2011-02-16 17:38:48,094 [ 137291] ERROR - currency.PrioritizedFutureTask - IntelliJ IDEA 10.0.2 Build #IC-103.72
2011-02-16 17:38:48,094 [ 137291] ERROR - currency.PrioritizedFutureTask - JDK: 1.6.0_22
2011-02-16 17:38:48,094 [ 137291] ERROR - currency.PrioritizedFutureTask - VM: Java HotSpot(TM) 64-Bit Server VM
2011-02-16 17:38:48,098 [ 137295] ERROR - currency.PrioritizedFutureTask - Vendor: Apple Inc.
2011-02-16 17:38:48,098 [ 137295] ERROR - currency.PrioritizedFutureTask - OS: Mac OS X
2011-02-16 17:38:48,098 [ 137295] ERROR - currency.PrioritizedFutureTask - Last Action: NewProject
2011-02-16 17:38:48,098 [ 137295] ERROR - currency.PrioritizedFutureTask - Original exception:
java.lang.NoClassDefFoundError: com/intellij/codeInsight/daemon/impl/analysis/DefaultHighlightVisitor
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.lang.ClassLoader.defineClass(ClassLoader.java:466)
at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:123)
at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:119)
at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:95)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:94)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:57)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.loadClass(ExtensionComponentAdapter.java:140)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentImplementation(ExtensionComponentAdapter.java:61)
at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentInstance(ExtensionComponentAdapter.java:67)
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.getHighlightVisitors(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.doRun(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:680)
Caused by: java.lang.ClassNotFoundException: com.intellij.codeInsight.daemon.impl.analysis.DefaultHighlightVisitor
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:70)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 41 more
2011-02-16 17:39:11,499 [ 160696] INFO - nges.UpdatingChangeListBuilder - [processChangeInList-1] entering, cl name: null change: /Users/stanley/Documents/codebase/mediav/interest-targeting/core
2011-02-16 17:39:11,502 [ 160699] INFO - nges.UpdatingChangeListBuilder - [processChangeInList-1] not under scope
------------------------------------------
And Jorgen,
I tried remove all the things in the ~/Library/Cache/IntelliJ10CE and ~/Library/Application Support/IntelliJ10CE and then do a reinstall, looks it would resolve the problem.
But obviously, you will lose your current settings by that way.
Ok. Good. I deleted the thread I started.
By looking at the forum, there looks like there are a lot of plugin problems with 10.0.2. Wonder if there is a general bug with plugins in the upgrade proceedure for 10.0.2?
Anyway. Thanks for the tip on deleting the files, Wenhao. I'll look into that. ;)
Jørgen
Hi again, Wenhao!
Did you have the "Scala" plugin installed, prior to the upgrade from 10.0.1 to 10.0.2?
I checked out your tip on deleting files form the 'Caches' and 'Application Support' and when I realized that the 'Application Support' directory contained my plugins, I looked at the list of installed plugins. It said that my 'Scala' plugin had an update available, and when I updated it, the code analysis started working again.
Thanks for your help! ;)
Jørgen
Yes, I do have. I thought that's the problem. But I have already re-install the IntelliJ and cannot reproduce the problem. But I guess it should be the reason.