Strange Exception while trying to compile a simple Hello World

Hi,I can't even compile a hello world because I got this strange Exception. I'm running on Windows 8 64Bit, JDK 1.7.0_21 64Bit and a freshly installed IntelliJ Idea (12.1.13). I've downloaded the Scala Plugin 0.10.279 via IntelliJ, let IntelliJ download and install Scala, created a new project, added a Scala Object which resembles a typical hello world, hit build and the result was the following Exception. I am a bit at loss there, so has anyone else encountered this problem?regards~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Error: java.lang.NullPointerExceptionjava.lang.NullPointerException        at org.jetbrains.jps.incremental.scala.model.FacetSettingsImpl.getCompilerOptions(FacetSettingsImpl.java:61)        at org.jetbrains.jps.incremental.scala.data.CompilationData$$anonfun$from$2$$anonfun$2.apply(CompilationData.scala:41)        at org.jetbrains.jps.incremental.scala.data.CompilationData$$anonfun$from$2$$anonfun$2.apply(CompilationData.scala:41)        at scala.Option.map(Option.scala:145)        at org.jetbrains.jps.incremental.scala.data.CompilationData$$anonfun$from$2.apply(CompilationData.scala:41)        at org.jetbrains.jps.incremental.scala.data.CompilationData$$anonfun$from$2.apply(CompilationData.scala:35)        at scala.util.Either$RightProjection.flatMap(Either.scala:523)        at org.jetbrains.jps.incremental.scala.data.CompilationData$.from(CompilationData.scala:35)        at org.jetbrains.jps.incremental.scala.ScalaBuilder$$anonfun$5$$anonfun$apply$3.apply(ScalaBuilder.scala:100)        at org.jetbrains.jps.incremental.scala.ScalaBuilder$$anonfun$5$$anonfun$apply$3.apply(ScalaBuilder.scala:99)        at scala.util.Either$RightProjection.flatMap(Either.scala:523)        at org.jetbrains.jps.incremental.scala.ScalaBuilder$$anonfun$5.apply(ScalaBuilder.scala:99)        at org.jetbrains.jps.incremental.scala.ScalaBuilder$$anonfun$5.apply(ScalaBuilder.scala:98)        at scala.util.Either$RightProjection.flatMap(Either.scala:523)        at org.jetbrains.jps.incremental.scala.ScalaBuilder.doBuild(ScalaBuilder.scala:98)        at org.jetbrains.jps.incremental.scala.ScalaBuilder.build(ScalaBuilder.scala:68)        at org.jetbrains.jps.incremental.scala.ScalaBuilderService$ScalaBuilderDecorator.build(ScalaBuilderService.java:42)        at org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:992)        at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:739)        at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:769)        at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:702)        at org.jetbrains.jps.incremental.IncProjectBuilder.access$900(IncProjectBuilder.java:79)        at org.jetbrains.jps.incremental.IncProjectBuilder$BuildParallelizer$2.run(IncProjectBuilder.java:671)        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)        at java.util.concurrent.FutureTask.run(FutureTask.java:166)        at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:35)        at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:41)        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)        at java.util.concurrent.FutureTask.run(FutureTask.java:166)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)        at java.lang.Thread.run(Thread.java:722)
1 comment
Found it, if I set Project Structure/Project Settings/Facets -> Debugging info level to "Complete, no tail call optimization" the Exception occurs. If I use "Source, line number and local variable information" it works fine.
0

Please sign in to leave a comment.