scala.reflect.internal.Symbols$CyclicReference

illegal cyclic reference involving object Predef

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web12

Stack trace

  • scala.reflect.internal.Symbols$CyclicReference: illegal cyclic reference involving object Predef at scala.reflect.internal.Symbols$Symbol$$anonfun$info$3.apply(Symbols.scala:1477) at scala.reflect.internal.Symbols$Symbol$$anonfun$info$3.apply(Symbols.scala:1475) at scala.Function0$class.apply$mcV$sp(Function0.scala:34) at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12) at scala.reflect.internal.Symbols$Symbol.lock(Symbols.scala:533) at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1475) at scala.reflect.internal.Symbols$Symbol.tpeHK(Symbols.scala:1424) at scala.reflect.internal.Types$Type.computeMemberType(Types.scala:694) at scala.reflect.internal.Types$Type.memberType(Types.scala:691) at scala.reflect.internal.TreeGen.mkAttributedSelect(TreeGen.scala:201) at scala.reflect.internal.TreeGen.mkAttributedRef(TreeGen.scala:126) at scala.reflect.internal.TreeGen.mkAttributedRef(TreeGen.scala:132) at scala.reflect.internal.TreeGen.mkAttributedStableRef(TreeGen.scala:164) at scala.tools.nsc.ast.TreeGen.mkImportFromSelector(TreeGen.scala:35) at scala.tools.nsc.ast.TreeGen.mkWildcardImport(TreeGen.scala:25) at scala.tools.nsc.typechecker.Contexts$$anonfun$3.apply(Contexts.scala:103) at scala.tools.nsc.typechecker.Contexts$$anonfun$3.apply(Contexts.scala:103) at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124) at scala.collection.immutable.List.foldLeft(List.scala:84) at scala.collection.TraversableOnce$class.$div$colon(TraversableOnce.scala:149) at scala.collection.AbstractTraversable.$div$colon(Traversable.scala:104) at scala.tools.nsc.typechecker.Contexts$class.rootContext(Contexts.scala:103) at org.scalaide.core.internal.compiler.ScalaPresentationCompiler$$anon$1.rootContext(ScalaPresentationCompiler.scala:76) at scala.tools.nsc.typechecker.Analyzer$namerFactory$$anon$1.apply(Analyzer.scala:43) at scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply$mcV$sp(Global.scala:440) at scala.tools.nsc.Global$GlobalPhase.withCurrentUnit(Global.scala:431) at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:440) at scala.tools.nsc.Global$Run$$anonfun$compileLate$2$$anonfun$apply$1.apply(Global.scala:1609) at scala.tools.nsc.Global$Run$$anonfun$compileLate$2$$anonfun$apply$1.apply(Global.scala:1609) at scala.reflect.internal.SymbolTable.enteringPhase(SymbolTable.scala:235) at scala.tools.nsc.Global$Run$$anonfun$compileLate$2.apply(Global.scala:1609) at scala.tools.nsc.Global$Run$$anonfun$compileLate$2.apply(Global.scala:1608) at scala.collection.Iterator$class.foreach(Iterator.scala:854) at scala.collection.AbstractIterator.foreach(Iterator.scala:1297) at scala.tools.nsc.Global$Run.compileLate(Global.scala:1608) at scala.tools.nsc.Global$Run.compileLate(Global.scala:1598) at scala.tools.nsc.GlobalSymbolLoaders.compileLate(GlobalSymbolLoaders.scala:29) at scala.tools.nsc.symtab.SymbolLoaders$SourcefileLoader.doComplete(SymbolLoaders.scala:368) at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.complete(SymbolLoaders.scala:211) at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1489) at scala.reflect.internal.Symbols$Symbol.tpeHK(Symbols.scala:1424) at scala.reflect.internal.Types$Type.computeMemberType(Types.scala:694) at scala.reflect.internal.Types$Type.memberType(Types.scala:691) at scala.reflect.internal.TreeGen.mkAttributedSelect(TreeGen.scala:201) at scala.reflect.internal.TreeGen.mkAttributedRef(TreeGen.scala:126) at scala.reflect.internal.TreeGen.mkAttributedRef(TreeGen.scala:132) at scala.reflect.internal.TreeGen.mkAttributedStableRef(TreeGen.scala:164) at scala.tools.nsc.ast.TreeGen.mkImportFromSelector(TreeGen.scala:35) at scala.tools.nsc.ast.TreeGen.mkWildcardImport(TreeGen.scala:25) at scala.tools.nsc.typechecker.Contexts$$anonfun$3.apply(Contexts.scala:103) at scala.tools.nsc.typechecker.Contexts$$anonfun$3.apply(Contexts.scala:103) at scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124) at scala.collection.immutable.List.foldLeft(List.scala:84) at scala.collection.TraversableOnce$class.$div$colon(TraversableOnce.scala:149) at scala.collection.AbstractTraversable.$div$colon(Traversable.scala:104) at scala.tools.nsc.typechecker.Contexts$class.rootContext(Contexts.scala:103) at org.scalaide.core.internal.compiler.ScalaPresentationCompiler$$anon$1.rootContext(ScalaPresentationCompiler.scala:76) at scala.tools.nsc.typechecker.Analyzer$namerFactory$$anon$1.apply(Analyzer.scala:43) at scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply$mcV$sp(Global.scala:440) at scala.tools.nsc.Global$GlobalPhase.withCurrentUnit(Global.scala:431) at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:440) at scala.tools.nsc.Global$Run$$anonfun$compileLate$2$$anonfun$apply$1.apply(Global.scala:1609) at scala.tools.nsc.Global$Run$$anonfun$compileLate$2$$anonfun$apply$1.apply(Global.scala:1609) at scala.reflect.internal.SymbolTable.enteringPhase(SymbolTable.scala:235) at scala.tools.nsc.Global$Run$$anonfun$compileLate$2.apply(Global.scala:1609) at scala.tools.nsc.Global$Run$$anonfun$compileLate$2.apply(Global.scala:1608) at scala.collection.Iterator$class.foreach(Iterator.scala:854) at scala.collection.AbstractIterator.foreach(Iterator.scala:1297) at scala.tools.nsc.Global$Run.compileLate(Global.scala:1608) at scala.tools.nsc.Global$Run.compileLate(Global.scala:1598) at scala.tools.nsc.GlobalSymbolLoaders.compileLate(GlobalSymbolLoaders.scala:29) at scala.tools.nsc.symtab.SymbolLoaders$SourcefileLoader.doComplete(SymbolLoaders.scala:368) at scala.tools.nsc.symtab.SymbolLoaders$SymbolLoader.complete(SymbolLoaders.scala:211) at scala.reflect.internal.Symbols$Symbol.info(Symbols.scala:1489) at scala.reflect.internal.Symbols$Symbol.initialize(Symbols.scala:1634) at scala.tools.nsc.interactive.Global$$anonfun$forceSymbolsUsedByParser$1.apply(Global.scala:1258) at scala.tools.nsc.interactive.Global$$anonfun$forceSymbolsUsedByParser$1.apply(Global.scala:1258) at scala.collection.immutable.HashSet$HashSet1.foreach(HashSet.scala:316) at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:972) at scala.collection.immutable.HashSet$HashTrieSet.foreach(HashSet.scala:972) at scala.tools.nsc.interactive.Global.forceSymbolsUsedByParser(Global.scala:1258) at scala.tools.nsc.interactive.Global.<init>(Global.scala:1261) at org.scalaide.core.internal.compiler.ScalaPresentationCompiler.<init>(ScalaPresentationCompiler.scala:62) at org.scalaide.core.internal.compiler.PresentationCompilerProxy.liftedTree1$1(PresentationCompilerProxy.scala:158) at org.scalaide.core.internal.compiler.PresentationCompilerProxy.create(PresentationCompilerProxy.scala:157) at org.scalaide.core.internal.compiler.PresentationCompilerProxy.initialize(PresentationCompilerProxy.scala:122) at org.scalaide.core.internal.compiler.PresentationCompilerProxy.obtainPc$1(PresentationCompilerProxy.scala:84) at org.scalaide.core.internal.compiler.PresentationCompilerProxy.internal(PresentationCompilerProxy.scala:104) at org.scalaide.core.internal.compiler.PresentationCompilerProxy.apply(PresentationCompilerProxy.scala:62) at org.scalaide.core.compiler.InteractiveCompilationUnit$class.withSourceFile(InteractiveCompilationUnit.scala:214) at org.scalaide.core.internal.jdt.model.ScalaSourceFile.withSourceFile(ScalaSourceFile.scala:73) at org.scalaide.core.internal.compiler.Scaladoc$$anonfun$1.apply(ScalaDoc.scala:55) at org.scalaide.core.internal.compiler.Scaladoc$$anonfun$1.apply(ScalaDoc.scala:55) at scala.Option.map(Option.scala:146) at org.scalaide.core.internal.compiler.Scaladoc$class.parsedDocComment(ScalaDoc.scala:55) at org.scalaide.core.internal.compiler.ScalaPresentationCompiler.parsedDocComment(ScalaPresentationCompiler.scala:52) at org.scalaide.ui.internal.editor.hover.ScalaHoverImpl$$anonfun$1$$anonfun$apply$3$$anonfun$9.apply(ScalaHoverImpl.scala:231) at org.scalaide.ui.internal.editor.hover.ScalaHoverImpl$$anonfun$1$$anonfun$apply$3$$anonfun$9.apply(ScalaHoverImpl.scala:230) at scala.Option$WithFilter.flatMap(Option.scala:208) at org.scalaide.ui.internal.editor.hover.ScalaHoverImpl$$anonfun$1$$anonfun$apply$3.docComment$lzycompute$1(ScalaHoverImpl.scala:230) at org.scalaide.ui.internal.editor.hover.ScalaHoverImpl$$anonfun$1$$anonfun$apply$3.docComment$1(ScalaHoverImpl.scala:203) at org.scalaide.ui.internal.editor.hover.ScalaHoverImpl$$anonfun$1$$anonfun$apply$3.apply(ScalaHoverImpl.scala:242) at org.scalaide.ui.internal.editor.hover.ScalaHoverImpl$$anonfun$1$$anonfun$apply$3.apply(ScalaHoverImpl.scala:111) at org.scalaide.core.compiler.InteractiveCompilationUnit$$anonfun$withSourceFile$1.apply(InteractiveCompilationUnit.scala:214) at org.scalaide.core.compiler.InteractiveCompilationUnit$$anonfun$withSourceFile$1.apply(InteractiveCompilationUnit.scala:214) at org.scalaide.core.internal.compiler.PresentationCompilerProxy$$anonfun$internal$1.apply(PresentationCompilerProxy.scala:105) at org.scalaide.core.internal.compiler.PresentationCompilerProxy$$anonfun$internal$1.apply(PresentationCompilerProxy.scala:104) at scala.Option.flatMap(Option.scala:171) at org.scalaide.core.internal.compiler.PresentationCompilerProxy.internal(PresentationCompilerProxy.scala:104) at org.scalaide.core.internal.compiler.PresentationCompilerProxy.apply(PresentationCompilerProxy.scala:62) at org.scalaide.core.compiler.InteractiveCompilationUnit$class.withSourceFile(InteractiveCompilationUnit.scala:214) at org.scalaide.core.internal.jdt.model.ScalaSourceFile.withSourceFile(ScalaSourceFile.scala:73) at org.scalaide.ui.internal.editor.hover.ScalaHoverImpl$$anonfun$1.apply(ScalaHoverImpl.scala:111) at org.scalaide.ui.internal.editor.hover.ScalaHoverImpl$$anonfun$1.apply(ScalaHoverImpl.scala:109) at scala.Option.map(Option.scala:146) at org.scalaide.ui.internal.editor.hover.ScalaHoverImpl.getHoverInfo2(ScalaHoverImpl.scala:109) at org.scalaide.debug.internal.editor.TextHoverFactory$$anon$1.org$scalaide$debug$internal$editor$TextHoverFactory$$anon$$super$getHoverInfo2(TextHoverFactory.scala:54) at org.scalaide.debug.internal.editor.TextHoverFactory$$anon$1$$anonfun$2$$anonfun$apply$5.apply(TextHoverFactory.scala:54) at scala.Option.getOrElse(Option.scala:121) at org.scalaide.debug.internal.editor.TextHoverFactory$$anon$1$$anonfun$2.apply(TextHoverFactory.scala:52) at org.scalaide.debug.internal.editor.TextHoverFactory$$anon$1$$anonfun$2.apply(TextHoverFactory.scala:38) at scala.Option.map(Option.scala:146) at org.scalaide.debug.internal.editor.TextHoverFactory$$anon$1.getHoverInfo2(TextHoverFactory.scala:38) at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,