scala.reflect.internal.Symbols$CyclicReference: illegal cyclic reference involving class Array

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 Scala JIRA by Jason Zaugg, 1 year ago
illegal cyclic reference involving class Array
via GitHub by elmalto
, 2 years ago
illegal cyclic reference involving class Yeoman
scala.reflect.internal.Symbols$CyclicReference: illegal cyclic reference involving class Array
at scala.reflect.internal.Symbols$TypeSymbol.tpe(Symbols.scala:2759)
at scala.reflect.internal.Symbols$Symbol.typeOfThis(Symbols.scala:1743)
at scala.reflect.internal.Types$ThisType.underlying(Types.scala:1433)
at scala.reflect.internal.Types$SimpleTypeProxy$class.baseType(Types.scala:248)
at scala.reflect.internal.Types$SingletonType.baseType(Types.scala:1327)
at scala.reflect.internal.Types$AsSeenFromMap.toPrefix$1(Types.scala:4547)
at scala.reflect.internal.Types$AsSeenFromMap.apply(Types.scala:4549)
at scala.reflect.internal.Types$TypeMap.mapOver(Types.scala:4176)
at scala.reflect.internal.Types$AsSeenFromMap.apply(Types.scala:4631)
at scala.reflect.internal.Types$TypeMap.mapOver(Types.scala:4190)
at scala.reflect.internal.Types$AsSeenFromMap.apply(Types.scala:4631)
at scala.reflect.internal.Types$Type.asSeenFrom(Types.scala:754)
at scala.reflect.internal.Types$Type.computeMemberType(Types.scala:788)
at scala.reflect.internal.Symbols$MethodSymbol.typeAsMemberOf(Symbols.scala:2646)
at scala.reflect.internal.Types$Type.memberType(Types.scala:779)
at scala.reflect.internal.Symbols$Symbol.scala$reflect$internal$Symbols$Symbol$$qualifies$1(Symbols.scala:2039)
at scala.reflect.internal.Symbols$Symbol.matchingSymbol(Symbols.scala:2040)
at scala.reflect.internal.Symbols$Symbol.overriddenSymbol(Symbols.scala:2054)
at scala.reflect.internal.Symbols$Symbol$$anonfun$allOverriddenSymbols$1.apply(Symbols.scala:2066)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.immutable.List.foreach(List.scala:318)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at scala.tools.nsc.transform.SpecializeTypes.scala$tools$nsc$transform$SpecializeTypes$$needsSpecialOverride$1(SpecializeTypes.scala:949)
at scala.tools.nsc.transform.SpecializeTypes$$anonfun$specialOverrides$3.apply(SpecializeTypes.scala:971)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:251)
at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:251)
at scala.tools.nsc.transform.SpecializeTypes.specialOverrides(SpecializeTypes.scala:970)
at scala.tools.nsc.transform.SpecializeTypes.transformInfo(SpecializeTypes.scala:1168)
at scala.reflect.internal.Symbols$Symbol.rawInfo(Symbols.scala:1312)
at scala.reflect.internal.Symbols$Symbol$$anonfun$unsafeTypeParams$1.apply(Symbols.scala:1468)
at scala.reflect.internal.Symbols$Symbol$$anonfun$unsafeTypeParams$1.apply(Symbols.scala:1468)
at scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207)
at scala.reflect.internal.Symbols$Symbol.unsafeTypeParams(Symbols.scala:1468)
at scala.tools.nsc.typechecker.Typers$Typer.typedNew$1(Typers.scala:4399)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5539)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5689)
at scala.tools.nsc.typechecker.Typers$Typer.typedQualifier(Typers.scala:5697)
at scala.tools.nsc.transform.Erasure$Eraser.adaptMember(Erasure.scala:810)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4570)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$92.apply(Typers.scala:4570)
at scala.tools.nsc.typechecker.Typers$Typer.silent(Typers.scala:728)
at scala.tools.nsc.typechecker.Typers$Typer.normalTypedApply$1(Typers.scala:4570)
at scala.tools.nsc.typechecker.Typers$Typer.typedApply$1(Typers.scala:4621)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5526)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604)
at scala.tools.nsc.typechecker.Typers$Typer.transformedOrTyped(Typers.scala:5807)
at scala.tools.nsc.typechecker.Typers$Typer.typedDefDef(Typers.scala:2255)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5531)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604)
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2926)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030)
at scala.collection.immutable.List.loop$1(List.scala:170)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3030)
at scala.tools.nsc.typechecker.Typers$Typer.typedTemplate(Typers.scala:1919)
at scala.tools.nsc.typechecker.Typers$Typer.typedClassDef(Typers.scala:1759)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5545)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604)
at scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedStat$1(Typers.scala:2926)
at scala.tools.nsc.typechecker.Typers$Typer$$anonfun$60.apply(Typers.scala:3030)
at scala.collection.immutable.List.loop$1(List.scala:170)
at scala.tools.nsc.typechecker.Typers$Typer.typedStats(Typers.scala:3030)
at scala.tools.nsc.typechecker.Typers$Typer.typedPackageDef$1(Typers.scala:5263)
at scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5549)
at scala.tools.nsc.transform.Erasure$Eraser.typed1(Erasure.scala:840)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5604)
at scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5666)
at scala.tools.nsc.transform.Erasure$ErasureTransformer$$anonfun$transform$2.apply(Erasure.scala:1296)
at scala.reflect.internal.SymbolTable.atPhase(SymbolTable.scala:207)
at scala.tools.nsc.Global.afterErasure(Global.scala:1098)
at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:1292)
at scala.tools.nsc.transform.Erasure$ErasureTransformer.transform(Erasure.scala:893)
at scala.tools.nsc.ast.Trees$Transformer.transformUnit(Trees.scala:227)
at scala.tools.nsc.transform.Transform$Phase.apply(Transform.scala:30)
at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464)
at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:431)
at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)
at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557)
at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553)
at scala.tools.nsc.Global$Run.compile(Global.scala:1662)
at scala.tools.partest.nest.DirectCompiler.compile(CompileManager.scala:143)
at scala.tools.partest.nest.CompileManager.attemptCompile(CompileManager.scala:163)
at scala.tools.partest.nest.RunnerManager$Runner$$anonfun$runTestCommon$1.apply(RunnerManager.scala:365)
at scala.tools.partest.nest.RunnerManager$Runner$$anonfun$runTestCommon$1.apply(RunnerManager.scala:362)
at scala.tools.partest.nest.RunnerManager$Runner.runInContext(RunnerManager.scala:323)
at scala.tools.partest.nest.RunnerManager$Runner.runTestCommon(RunnerManager.scala:362)
at scala.tools.partest.nest.RunnerManager$Runner.processSingleFile(RunnerManager.scala:485)
at scala.tools.partest.nest.RunnerManager$Runner.run(RunnerManager.scala:805)
at scala.tools.partest.nest.RunnerManager$$anonfun$29.apply(RunnerManager.scala:837)
at scala.tools.partest.nest.RunnerManager.runTest(RunnerManager.scala:837)
at scala.tools.partest.nest.DirectRunner$$anonfun$2$$anonfun$apply$1.apply(DirectRunner.scala:60)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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