scala.reflect.internal.Symbols$CyclicReference

illegal cyclic reference involving object Predef

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web17

  • illegal cyclic reference involving object Predef
  • via Stack Overflow by Kaushal
    , 4 months ago
    illegal cyclic reference involving object InterfaceAudience
  • illegal cyclic reference involving object InterfaceStability
  • 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.jdt.model.ScalaCompilationUnit$class.buildStructure(ScalaCompilationUnit.scala:134) at org.scalaide.core.internal.jdt.model.ScalaSourceFile.buildStructure(ScalaSourceFile.scala:73) at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:259) at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:579) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:316) at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:302) at org.scalaide.core.internal.jdt.model.LazyToplevelClass.mirror$lzycompute(ScalaElements.scala:314) at org.scalaide.core.internal.jdt.model.LazyToplevelClass.mirror(ScalaElements.scala:312) at org.scalaide.core.internal.jdt.model.LazyToplevelClass.exists(ScalaElements.scala:326) at scala.tools.eclipse.contribution.weaving.jdt.core.NameLookupAspect.ajc$around$scala_tools_eclipse_contribution_weaving_jdt_core_NameLookupAspect$1$1c7010b1(NameLookupAspect.aj:85) at org.eclipse.jdt.internal.core.NameLookup.seekTypesInSourcePackage(NameLookup.java:1108) at org.eclipse.jdt.internal.core.NameLookup.seekTypes(NameLookup.java:1022) at org.eclipse.jdt.internal.core.NameLookup.findType(NameLookup.java:769) at org.eclipse.jdt.internal.core.SelectionRequestor.resolveType(SelectionRequestor.java:944) at org.eclipse.jdt.internal.core.SelectionRequestor.acceptMethod(SelectionRequestor.java:512) at org.scalaide.core.internal.jdt.search.ScalaSelectionEngine$$anonfun$select$1$$anonfun$org$scalaide$core$internal$jdt$search$ScalaSelectionEngine$$anonfun$$acceptMethod$1$1.apply$mcV$sp(ScalaSelectionEngine.scala:116) at org.scalaide.core.internal.jdt.search.ScalaSelectionEngine$$anonfun$select$1$Cont$2.apply(ScalaSelectionEngine.scala:65) at org.scalaide.core.internal.jdt.search.ScalaSelectionEngine$$anonfun$select$1.apply(ScalaSelectionEngine.scala:249) at org.scalaide.core.internal.jdt.search.ScalaSelectionEngine$$anonfun$select$1.apply(ScalaSelectionEngine.scala:38) 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.internal.jdt.search.ScalaSelectionEngine.select(ScalaSelectionEngine.scala:38) at org.scalaide.core.internal.hyperlink.JavaSelectionEngine$.getJavaElements(DeclarationHyperlinkDetector.scala:80) at org.scalaide.core.internal.hyperlink.DeclarationHyperlinkDetector.javaDeclarationHyperlinkComputer(DeclarationHyperlinkDetector.scala:54) at org.scalaide.core.internal.hyperlink.DeclarationHyperlinkDetector.findHyperlinks(DeclarationHyperlinkDetector.scala:43) at org.scalaide.core.internal.hyperlink.DeclarationHyperlinkDetector.findHyperlinks(DeclarationHyperlinkDetector.scala:30) at org.scalaide.core.internal.hyperlink.DeclarationHyperlinkDetector.runDetectionStrategy(DeclarationHyperlinkDetector.scala:26) at org.scalaide.core.internal.hyperlink.BaseHyperlinkDetector$$anonfun$1.apply(BaseHyperlinkDetector.scala:38) at org.scalaide.core.internal.hyperlink.BaseHyperlinkDetector$$anonfun$1.apply(BaseHyperlinkDetector.scala:38) at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

    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 user
    Once, 10 months ago