Idea 13 RC1 (133.79) - Scala functionality broken

Hi
The Scala plugin is completely broken for me:
NoClassDefFoundError: Could not initialize class org.jetbrains.plugins.scala.highlighter.ScalaSyntaxHighlighter: Could not initialize class org.jetbrains.plugins.scala.highlighter.ScalaSyntaxHighlighter
I can not even get any Scala code to display in the editor.

I need Play 2.0, SBT and Scala to work as an integrated feature.
Regards
Ian
5 comments
Comment actions Permalink

And I cannot create a new Play 2 Module - was able to do so previously.

0
Comment actions Permalink

Hi
I still have the problem with Play, Scala in build 133.124. Could some one clarify if this is a common issue and if there is a possible workaround.

6:39:29 PM NoSuchMethodError: com.intellij.psi.tree.TokenSet.minus(Lcom/intellij/psi/tree/TokenSet;)Lcom/intellij/psi/tree/TokenSet;: com.intellij.psi.tree.TokenSet.minus(Lcom/intellij/psi/tree/TokenSet;)Lcom/intellij/psi/tree/TokenSet;
6:39:30 PM IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/psi/stubs/PsiFileStubImpl.setPsi must not be null: Argument 0 for @NotNull parameter of com/intellij/psi/stubs/PsiFileStubImpl.setPsi must not be null
6:39:37 PM IllegalArgumentException
           Error while indexing /Users/ian/dev/channelserver/project/project/target/config-classes/$d88a8e7225efcbbccf6b.class
           To reindex this file IDEA has to be restarted: Argument 0 for @NotNull parameter of com/intellij/psi/stubs/PsiFileStubImpl.setPsi must not be null
6:39:54 PM IllegalArgumentException
           Error while indexing /Users/ian/.ivy2/cache/com.typesafe.akka/akka-kernel_2.10/jars/akka-kernel_2.10-2.2.3.jar!/akka/kernel/Main$.class
           To reindex this file IDEA has to be restarted: Argument 0 for @NotNull parameter of com/intellij/psi/stubs/PsiFileStubImpl.setPsi must not be null
6:39:54 PM IllegalArgumentException
           Error while indexing /Users/ian/.ivy2/cache/com.typesafe.akka/akka-testkit_2.10/jars/akka-testkit_2.10-2.2.3.jar!/akka/testkit/TestKitSettings.class
           To reindex this file IDEA has to be restarted: Argument 0 for @NotNull parameter of com/intellij/psi/stubs/PsiFileStubImpl.setPsi must not be null
6:39:55 PM IllegalArgumentException
           Error while indexing /Users/ian/.ivy2/cache/org.scalesxml/scales-xml_2.10/jars/scales-xml_2.10-0.4.5.jar!/scales/xml/xpath/Attributes.class
           To reindex this file IDEA has to be restarted: Argument 0 for @NotNull parameter of com/intellij/psi/stubs/PsiFileStubImpl.setPsi must not be null
6:39:55 PM IllegalArgumentException
           Error while indexing /Users/ian/.ivy2/cache/org.scalesxml/scales-xml_2.10/jars/scales-xml_2.10-0.4.5.jar!/scales/xml/equals/JoinTextAndCData$.class
           To reindex this file IDEA has to be restarted: Argument 0 for @NotNull parameter of com/intellij/psi/stubs/PsiFileStubImpl.setPsi must not be null
6:39:55 PM IllegalArgumentException
           Error while indexing /Users/ian/.ivy2/cache/org.scalesxml/scales-xml_2.10/jars/scales-xml_2.10-0.4.5.jar!/scales/xml/serializers/SerializerHelpers.class
           To reindex this file IDEA has to be restarted: Argument 0 for @NotNull parameter of com/intellij/psi/stubs/PsiFileStubImpl.setPsi must not be null
...
100's of these follow

0
Comment actions Permalink

Ian, looks like you're using an outdated Scala plugin. Could ypu please try to update to the latest version (which is 0.26.310 at the moment)?

Thank you,
Victoria

0
Comment actions Permalink

Ian, looks like you're using an outdated Scala plugin. Could ypu please try to update to the latest version (which is 0.26.310 at the moment)?

Thank you,
Victoria

0
Comment actions Permalink

Scala 0.26.310 along with the latest Idea 133.162 work fine - Thanks :)

0

Please sign in to leave a comment.