Lots of problems with idea 13

Idea 12 decided to stop working with ruby so I had to upgrade to 13. Now my scala projects do not work with 13. I'm getting lots of these errors

PsiInvalidElementAccessException: Element: class com.intellij.psi.impl.compiled.ClsTypeParameterImpl because: containing file is null: Element: class com.intellij.psi.impl.compiled.ClsTypeParameterImpl because: containing file is null

The project was generated by sbt/idea-gen. The strange part is that the external compiler compiles the entire project with no errors. Its only the IDE that seems to be lost.

When I open code pretty much any scala library class is marked as missing.

0
8 comments

Is it still a problem? Please attach log file with full exception.

Best regards,
Alexander Podkhalyuzin.

0

My 13 is completely broken. I get the following - even though I'm set up to use the external server. I can't compile and settings don't open.
I've logged it with the little bug report gizmo.

org.jetbrains.plugins.scala.compiler.FscServerManager@49e96951: USE_COMPILE_SERVER
java.lang.NoSuchFieldError: USE_COMPILE_SERVER
 at org.jetbrains.plugins.scala.compiler.FscServerManager.applicable(FscServerManager.scala:81)
 at org.jetbrains.plugins.scala.compiler.FscServerManager.configureWidget(FscServerManager.scala:56)
 at org.jetbrains.plugins.scala.compiler.FscServerManager.projectOpened(FscServerManager.scala:42)
 at com.intellij.openapi.project.impl.ProjectImpl.c(ProjectImpl.java:420)
 at com.intellij.openapi.project.impl.ProjectImpl.access$200(ProjectImpl.java:76)
 at com.intellij.openapi.project.impl.ProjectImpl$MyProjectManagerListener.projectOpened(ProjectImpl.java:457)
 at com.intellij.openapi.project.impl.ProjectManagerImpl$2.projectOpened(ProjectManagerImpl.java:155)
 at com.intellij.openapi.project.impl.ProjectManagerImpl.e(ProjectManagerImpl.java:1050)
 at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:415)
 at com.intellij.openapi.project.impl.ProjectManagerImpl.loadAndOpenProject(ProjectManagerImpl.java:506)
 at com.intellij.ide.impl.ProjectUtil.openProject(ProjectUtil.java:179)
 at com.intellij.ide.RecentProjectsManager.doOpenProject(RecentProjectsManager.java:46)
 at com.intellij.ide.RecentProjectsManagerBase$MyAppLifecycleListener.appStarting(RecentProjectsManagerBase.java:350)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at com.intellij.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:114)
 at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:228)
 at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:219)
 at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:209)
 at com.intellij.util.messages.impl.MessageBusImpl.access$000(MessageBusImpl.java:43)
 at com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:131)
 at com.sun.proxy.$Proxy40.appStarting(Unknown Source)
 at com.intellij.idea.IdeaApplication.c(IdeaApplication.java:394)
 at com.intellij.idea.IdeaApplication.access$600(IdeaApplication.java:64)
 at com.intellij.idea.IdeaApplication$IdeStarter$2.run(IdeaApplication.java:361)
 at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:347)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
 at java.awt.EventQueue.access$200(EventQueue.java:103)
 at java.awt.EventQueue$3.run(EventQueue.java:694)
 at java.awt.EventQueue$3.run(EventQueue.java:692)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
 at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:696)
 at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
 at java.awt.EventDispatchThread.run(EventDispatchThrea

0

Yes, I'm fixing it right now. Sorry for delay.

Best regards,
Alexander Podkhalyuzin.

0

When I migrated my projects to 13 I had a bunch of psi exceptions as well.  I had to invalidate the caches (File -> Invalidate Caches/Restart) and everything seemed to work well after that.

0

Idea 13 seems pretty stable for me now. That is 325. 425 does has the compiler server error.

0

Hi
I invalidated cache and restarted. Exactly the same USE_COMPILE_SERVER error message - so unfortunately it doesn't fix it for me.

0

Alexander put out a build that fixed the issue this morning.  You need to update the plugin (I just used help-> check for updates and it grabbed the latest version).

0

Ah - I missed that. Excellent. Yes I can confirm the problem has gone:)

0

Please sign in to leave a comment.