scala.reflect.internal.Symbols$CyclicReference: illegal cyclic reference involving object Predef

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Sreeharsha
, 7 months ago
illegal cyclic reference involving object scala
via GitHub by alexarchambault
, 1 year ago
illegal cyclic reference involving object InterfaceAudience
via Stack Overflow by Luckylukeeee
, 10 months ago
illegal cyclic reference involving object InterfaceStability
via Stack Overflow by Kaushal
, 1 year ago
via Scala JIRA by Eugene Burmako, 1 year ago
illegal cyclic reference involving type E
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.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.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.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 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.apply(Global.scala:1609)
at scala.collection.Iterator$class.foreach(Iterator.scala:854)
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.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.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.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 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.apply(Global.scala:1609)
at scala.collection.Iterator$class.foreach(Iterator.scala:854)
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.reflect.internal.Symbols$Symbol.info(Symbols.scala:1489)
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.tools.nsc.interactive.Global.forceSymbolsUsedByParser(Global.scala:1258)
at org.scalaide.core.internal.compiler.ScalaPresentationCompiler.(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.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.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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.