IDEA 12: Upgrade from 11 no longer providing suggestions

I recently upgraded to IDEA 12 (and 12.0.1) from 11.X for both personal and work (different licenses).  When I performed the upgrade, I allowed it to import my IDEA 11 settings, etc.

As I'm using IDEA 12 almost exclusively now, it appears the suggestion bubbles (light bulbs) are not showing up for things like static imports, etc., but ONLY on the work machine.  They work on my version at home just fine.  I've looked in the properties, but I can't see anything that looks like what I need to verify is enabled to check if something has gotten unchecked by accident.

Has anyone else seen this issue, or does anyone know which inspection/suggestion I need to turn on for this?

I'm using Mac OS X 10.8.2 (Mountain Lion)

IDEA 11:
Screen Shot 2013-01-04 at 3.10.04 PM.png

IDEA 12:
Screen Shot 2013-01-04 at 3.10.40 PM.png

12 comments
Comment actions Permalink

File > Invalidate Caches and Restart IDEA might solve it.

1
Comment actions Permalink

Hi Mark,

Thanks for the suggestion.  While that has worked for other issues I've had in the last, it did not resolve this one.

While I was waiting for any responses, I did look around more, and apparently these are actually called "intentions" and from what I can see in my settings, they're ALL turned on, so now I'm really at a loss as to why I'm not seeing them.

Screen Shot 2013-01-04 at 5.26.44 PM.png

0
Comment actions Permalink

Do you get the intentions pop-up when you put your cursor in the issue and type alt+enter?

0
Comment actions Permalink

Also, try checking the logs (Help > Reveal Log). Maybe there is something in there (can't load the icon or something).

0
Comment actions Permalink

markv wrote:

Do you get the intentions pop-up when you put your cursor in the issue and type alt+enter?

No, I don't.  That was something I'd tried earlier today, but no luck.  Now, if I type in a class that I need to import, it adds it to the imports and the red goes away when I do an Alt-Enter, but no light bulbs ...

0
Comment actions Permalink

We may be getting somewhere now.  When I look at the logs, I'm seeing this.  I'm going to try a quick re-install.


2013-01-04 18:46:37,033 [ 543529]  ERROR - aemon.impl.PassExecutorService - OS: Mac OS X
2013-01-04 18:46:37,033 [ 543529]  ERROR - aemon.impl.PassExecutorService - Last Action: Maven.Reimport
2013-01-04 18:46:37,033 [ 543529]  ERROR - aemon.impl.PassExecutorService - Original exception:  
java.lang.ClassNotFoundException: org.intellij.idea.lang.javascript.intention.string.JSDoubleToSingleQuotedStringIntention PluginClassLoader[org.coffeescript, 2.0]
 at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:77)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
 at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:131)
 at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:127)
 at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:103)
 at com.intellij.ide.plugins.cl.PluginClassLoader.d(PluginClassLoader.java:102)
 at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:63)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:247)
 at com.intellij.openapi.extensions.AbstractExtensionPointBean.findClass(AbstractExtensionPointBean.java:42)
 at com.intellij.openapi.extensions.AbstractExtensionPointBean.instantiate(AbstractExtensionPointBean.java:62)
 at com.intellij.openapi.extensions.CustomLoadingExtensionPointBean.instantiateExtension(CustomLoadingExtensionPointBean.java:45)
 at com.intellij.codeInsight.intention.IntentionActionBean.instantiate(IntentionActionBean.java:75)
 at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getDelegate(IntentionActionWrapper.java:81)
 at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getFamilyName(IntentionActionWrapper.java:51)
 at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getFullFamilyName(IntentionActionWrapper.java:73)
 at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.b(IntentionManagerSettings.java:126)
 at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.isEnabled(IntentionManagerSettings.java:139)
 at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.getAvailableIntentionActions(IntentionManagerImpl.java:228)
 at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:216)
 at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.b(ShowIntentionsPass.java:154)
 at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:128)
 at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:62)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:357)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1155)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:348)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:232)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:345)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:321)
 at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:129)
 at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:126)
 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)
2013-01-04 18:46:37,033 [ 543529]  ERROR - currency.PrioritizedFutureTask - IntelliJ IDEA 12.0.1  Build #IU-123.94
2013-01-04 18:46:37,034 [ 543530]  ERROR - currency.PrioritizedFutureTask - JDK: 1.6.0_37
2013-01-04 18:46:37,034 [ 543530]  ERROR - currency.PrioritizedFutureTask - java.lang.NoClassDefFoundError: org/intellij/idea/lang/javascript/intention/string/JSDoubleToSingleQuotedStringIntention
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: org/intellij/idea/lang/javascript/intention/string/JSDoubleToSingleQuotedStringIntention
 at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
 at java.util.concurrent.FutureTask.get(FutureTask.java:83)
 at com.intellij.concurrency.PrioritizedFutureTask.access$301(PrioritizedFutureTask.java:31)
 at com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:77)
 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.NoClassDefFoundError: org/intellij/idea/lang/javascript/intention/string/JSDoubleToSingleQuotedStringIntention
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
 at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:131)
 at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:127)
 at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:103)
 at com.intellij.ide.plugins.cl.PluginClassLoader.d(PluginClassLoader.java:102)
 at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:63)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:247)
 at com.intellij.openapi.extensions.AbstractExtensionPointBean.findClass(AbstractExtensionPointBean.java:42)
 at com.intellij.openapi.extensions.AbstractExtensionPointBean.instantiate(AbstractExtensionPointBean.java:62)
 at com.intellij.openapi.extensions.CustomLoadingExtensionPointBean.instantiateExtension(CustomLoadingExtensionPointBean.java:45)
 at com.intellij.codeInsight.intention.IntentionActionBean.instantiate(IntentionActionBean.java:75)
 at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getDelegate(IntentionActionWrapper.java:81)
 at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getFamilyName(IntentionActionWrapper.java:51)
 at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getFullFamilyName(IntentionActionWrapper.java:73)
 at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.b(IntentionManagerSettings.java:126)
 at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.isEnabled(IntentionManagerSettings.java:139)
 at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.getAvailableIntentionActions(IntentionManagerImpl.java:228)
 at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.getActionsToShow(ShowIntentionsPass.java:216)
 at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.b(ShowIntentionsPass.java:154)
 at com.intellij.codeInsight.daemon.impl.ShowIntentionsPass.doCollectInformation(ShowIntentionsPass.java:128)
 at com.intellij.codeHighlighting.TextEditorHighlightingPass.collectInformation(TextEditorHighlightingPass.java:62)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1$1.run(PassExecutorService.java:357)
 at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1155)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass$1.run(PassExecutorService.java:348)
 at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:232)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.a(PassExecutorService.java:345)
 at com.intellij.codeInsight.daemon.impl.PassExecutorService$ScheduledPass.run(PassExecutorService.java:321)
 at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:129)
 at com.intellij.concurrency.JobLauncherImpl$3.call(JobLauncherImpl.java:126)
 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)
 ... 4 more
Caused by: java.lang.ClassNotFoundException: org.intellij.idea.lang.javascript.intention.string.JSDoubleToSingleQuotedStringIntention PluginClassLoader[org.coffeescript, 2.0]
 at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:77)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 ... 42 more

0
Comment actions Permalink

Just redownloaded the DMG and reinstalled.  No change.  This time, I did a tail -f on the log file, and as soon as I clicked inside the red Mockito method I wanted to test the intention on, I got the stack trace above.  So that's definitely the issue, but I would think the redownload would have resolved that.  ?:|

0
Comment actions Permalink

Do you use JavaScript? If I'm reading the stacktrace correctly, it looks like the error is in the JavaScript plug-in. You could try disabling it and seeing if they solves it. If it does, you are at least up and mostly running until the issue can be resolved.

0
Comment actions Permalink

markv wrote:

Do you use JavaScript? If I'm reading the stacktrace correctly, it looks like the error is in the JavaScript plug-in. You could try disabling it and seeing if they solves it. If it does, you are at least up and mostly running until the issue can be resolved.

I don't use Javascript, so I disabled it (and the other plugins it suggested), and that appears to have fixed it.  The strange thing is, I just looked at my personal MacBook (I have both here in front of me), and it has the Javascript plugins installed, and the intentions work fine on it.  But this machine is fine for now, and I'm happy with that.

Does any kind of bug ticket or anything need to be submitted for this?

Thanks Mark!

0
Comment actions Permalink

It sounds like some issue with that Mac. Perhaps someone else might be able to indicate what. (I'm not a Mac guy.) Did you do an over the top re-install? Or a remove and fresh install? (I'm not sure how mac installs work). But may be a remove and reinstall would solve it. But at least you are up and running.

0
Comment actions Permalink

Enabling the Javascript Intention Powerpack on seems to fix the issue. Awesome! Thanks!!!

0
Comment actions Permalink

As a test, I re-enabled the Javascript Intentions Power Pack yesterday (plus all the suggested ones), and the intentions are still working as desired.  It appears either something with the upgrade or the install overwriting the original version was corrupted, and re-enabling it resolves that.

0

Please sign in to leave a comment.