Intellij compiler error in Scala with Nailgun

I am trying to compile a new scala file in an existing java project using IntelliJ, but I get the following error. The JetBrains at the end tells me its an IDE error, but I couldn't find anything on the Internet.

Error:scalac: Error: object DoubleRef does not have a member create scala.reflect.internal.FatalError: object DoubleRef does not have a member create at scala.reflect.internal.Definitions$DefinitionsClass.scala$reflect$internal$Definitions$DefinitionsClass$$fatalMissingSymbol(Definitions.scala:1186) at scala.reflect.internal.Definitions$DefinitionsClass.getMember(Definitions.scala:1203) at scala.reflect.internal.Definitions$DefinitionsClass.getMemberMethod(Definitions.scala:1238) at scala.tools.nsc.transform.LambdaLift$$anonfun$scala$tools$nsc$transform$LambdaLift$$refCreateMethod$1.apply(LambdaLift.scala:41) at scala.tools.nsc.transform.LambdaLift$$anonfun$scala$tools$nsc$transform$LambdaLift$$refCreateMethod$1.apply(LambdaLift.scala:41) at scala.reflect.internal.util.Collections$$anonfun$mapFrom$1.apply(Collections.scala:182) at scala.reflect.internal.util.Collections$$anonfun$mapFrom$1.apply(Collections.scala:182) at scala.collection.immutable.List.map(List.scala:273) at scala.reflect.internal.util.Collections$class.mapFrom(Collections.scala:182) at scala.reflect.internal.SymbolTable.mapFrom(SymbolTable.scala:16) at scala.tools.nsc.transform.LambdaLift.scala$tools$nsc$transform$LambdaLift$$refCreateMethod$lzycompute(LambdaLift.scala:41) at scala.tools.nsc.transform.LambdaLift.scala$tools$nsc$transform$LambdaLift$$refCreateMethod(LambdaLift.scala:40) at scala.tools.nsc.transform.LambdaLift$LambdaLifter.postTransform(LambdaLift.scala:489) at scala.tools.nsc.transform.LambdaLift$LambdaLifter.transform(LambdaLift.scala:544) at scala.tools.nsc.transform.LambdaLift$LambdaLifter.transform(LambdaLift.scala:56) at scala.reflect.api.Trees$Transformer$$anonfun$transformStats$1.apply(Trees.scala:2589) at scala.reflect.api.Trees$Transformer$$anonfun$transformStats$1.apply(Trees.scala:2587) at scala.collection.immutable.List.loop$1(List.scala:173) at scala.collection.immutable.List.mapConserve(List.scala:189) at scala.reflect.api.Trees$Transformer.transformStats(Trees.scala:2587) at scala.tools.nsc.transform.LambdaLift$LambdaLifter.transformStats(LambdaLift.scala:562) at scala.tools.nsc.transform.LambdaLift$LambdaLifter.transformStats(LambdaLift.scala:56) <full stacktrace ommitted> org.jetbrains.jps.incremental.scala.remote.Main$.nailMain(Main.scala:24) at org.jetbrains.jps.incremental.scala.remote.Main.nailMain(Main.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.martiansoftware.nailgun.NGSession.run(NGSession.java:319)

Replay

Category: scala Time: 2016-07-28 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.301 (s). 12 q(s)