Skip to content

TypeHash NullPointerException with Tuple.IsMappedBy #15687

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Adam-Vandervorst opened this issue Jul 16, 2022 · 0 comments · Fixed by #15748
Closed

TypeHash NullPointerException with Tuple.IsMappedBy #15687

Adam-Vandervorst opened this issue Jul 16, 2022 · 0 comments · Fixed by #15748

Comments

@Adam-Vandervorst
Copy link

Adam-Vandervorst commented Jul 16, 2022

Compiler version

3.2.0-RC1, 3.1.3-RC1-bin-20220403-a26a2c3-NIGHTLY

Minimized code

summon[Tuple.IsMappedBy[[_] =>> Int][(4, 2)]]

Output (click arrow to expand)

java.lang.NullPointerException: Cannot invoke "dotty.tools.dotc.core.Types$Type.hash()" because "tp" is null
	at dotty.tools.dotc.core.Hashable.typeHash(Hashable.scala:51)
	at dotty.tools.dotc.core.Hashable.typeHash$(Hashable.scala:42)
	at dotty.tools.dotc.core.Uniques$AppliedUniques.typeHash(Uniques.scala:66)
	at dotty.tools.dotc.core.Hashable.finishHash(Hashable.scala:72)
	at dotty.tools.dotc.core.Hashable.finishHash$(Hashable.scala:42)
	at dotty.tools.dotc.core.Uniques$AppliedUniques.finishHash(Uniques.scala:66)
	at dotty.tools.dotc.core.Hashable.finishHash(Hashable.scala:84)
	at dotty.tools.dotc.core.Hashable.finishHash$(Hashable.scala:42)
	at dotty.tools.dotc.core.Uniques$AppliedUniques.finishHash(Uniques.scala:66)
	at dotty.tools.dotc.core.Hashable.doHash(Hashable.scala:110)
	at dotty.tools.dotc.core.Hashable.doHash$(Hashable.scala:42)
	at dotty.tools.dotc.core.Uniques$AppliedUniques.doHash(Uniques.scala:66)
	at dotty.tools.dotc.core.Uniques$AppliedUniques.enterIfNew(Uniques.scala:70)
	at dotty.tools.dotc.core.Types$AppliedType$.apply(Types.scala:4549)
	at dotty.tools.dotc.core.TypeApplications$.appliedTo$extension(TypeApplications.scala:388)
	at dotty.tools.dotc.core.Types$AppliedType.derivedAppliedType(Types.scala:4523)
	at dotty.tools.dotc.core.Types$TypeMap.derivedAppliedType(Types.scala:5558)
	at dotty.tools.dotc.core.Types$TypeMap.mapOver(Types.scala:5622)
	at dotty.tools.dotc.core.TrackingTypeComparer$$anon$5.apply(TypeComparer.scala:2904)
	at dotty.tools.dotc.core.TrackingTypeComparer.matchCase$1(TypeComparer.scala:2931)
	at dotty.tools.dotc.core.TrackingTypeComparer.recur$2(TypeComparer.scala:2946)
	at dotty.tools.dotc.core.TrackingTypeComparer.op$proxy73$1(TypeComparer.scala:2976)
	at dotty.tools.dotc.core.TrackingTypeComparer.matchCases(TypeComparer.scala:2977)
	at dotty.tools.dotc.core.Types$MatchType.matchCases$1(Types.scala:4913)
	at dotty.tools.dotc.core.Types$MatchType.reduced$$anonfun$1(Types.scala:4922)
	at dotty.tools.dotc.core.TypeComparer.inSubComparer(TypeComparer.scala:2682)
	at dotty.tools.dotc.core.TypeComparer.tracked(TypeComparer.scala:2692)
	at dotty.tools.dotc.core.TypeComparer$.tracked(TypeComparer.scala:2849)
	at dotty.tools.dotc.core.Types$MatchType.reduced(Types.scala:4922)
	at dotty.tools.dotc.core.Types$MatchType.tryNormalize(Types.scala:4871)
	at dotty.tools.dotc.core.Types$AppliedType.tryMatchAlias$1$$anonfun$1(Types.scala:4231)
	at dotty.tools.dotc.core.MatchTypeTrace$.recurseWith(MatchTypeTrace.scala:83)
	at dotty.tools.dotc.core.Types$AppliedType.tryMatchAlias$1(Types.scala:4232)
	at dotty.tools.dotc.core.Types$AppliedType.tryNormalize(Types.scala:4237)
	at dotty.tools.dotc.core.Types$Type.normalized(Types.scala:1432)
	at dotty.tools.dotc.core.Types$AppliedType.tryMatchAlias$1$$anonfun$1$$anonfun$1(Types.scala:4231)
	at scala.collection.immutable.List.map(List.scala:246)
	at dotty.tools.dotc.core.Types$AppliedType.tryMatchAlias$1$$anonfun$1(Types.scala:4231)
	at dotty.tools.dotc.core.MatchTypeTrace$.recurseWith(MatchTypeTrace.scala:83)
	at dotty.tools.dotc.core.Types$AppliedType.tryMatchAlias$1(Types.scala:4232)
	at dotty.tools.dotc.core.Types$AppliedType.tryNormalize(Types.scala:4237)
	at dotty.tools.dotc.core.SymDenotations$ClassDenotation.recur$4(SymDenotations.scala:2108)
	at dotty.tools.dotc.core.SymDenotations$ClassDenotation.baseTypeOf(SymDenotations.scala:2226)
	at dotty.tools.dotc.core.Types$Type.baseType(Types.scala:1135)
	at dotty.tools.dotc.core.TypeComparer.nonExprBaseType(TypeComparer.scala:1348)
	at dotty.tools.dotc.core.TypeComparer.tryBaseType$1(TypeComparer.scala:759)
	at dotty.tools.dotc.core.TypeComparer.compareAppliedType2$1(TypeComparer.scala:1211)
	at dotty.tools.dotc.core.TypeComparer.thirdTry$1(TypeComparer.scala:571)
	at dotty.tools.dotc.core.TypeComparer.secondTry$1(TypeComparer.scala:504)
	at dotty.tools.dotc.core.TypeComparer.firstTry$1(TypeComparer.scala:381)
	at dotty.tools.dotc.core.TypeComparer.recur(TypeComparer.scala:1330)
	at dotty.tools.dotc.core.TypeComparer.compareAppliedType2$1(TypeComparer.scala:1210)
	at dotty.tools.dotc.core.TypeComparer.thirdTry$1(TypeComparer.scala:571)
	at dotty.tools.dotc.core.TypeComparer.secondTry$1(TypeComparer.scala:504)
	at dotty.tools.dotc.core.TypeComparer.firstTry$1(TypeComparer.scala:381)
	at dotty.tools.dotc.core.TypeComparer.recur(TypeComparer.scala:1330)
	at dotty.tools.dotc.core.TypeComparer.firstTry$1(TypeComparer.scala:316)
	at dotty.tools.dotc.core.TypeComparer.recur(TypeComparer.scala:1330)
	at dotty.tools.dotc.core.TypeComparer.isSubType(TypeComparer.scala:192)
	at dotty.tools.dotc.core.TypeComparer.isSubType(TypeComparer.scala:202)
	at dotty.tools.dotc.core.TypeComparer.isSubArg$1(TypeComparer.scala:1550)
	at dotty.tools.dotc.core.TypeComparer.recurArgs$1(TypeComparer.scala:1553)
	at dotty.tools.dotc.core.TypeComparer.isSubArgs(TypeComparer.scala:1556)
	at dotty.tools.dotc.core.TypeComparer.loop$1(TypeComparer.scala:1117)
	at dotty.tools.dotc.core.TypeComparer.isMatchingApply$1(TypeComparer.scala:1132)
	at dotty.tools.dotc.core.TypeComparer.compareAppliedType2$1(TypeComparer.scala:1202)
	at dotty.tools.dotc.core.TypeComparer.thirdTry$1(TypeComparer.scala:571)
	at dotty.tools.dotc.core.TypeComparer.secondTry$1(TypeComparer.scala:504)
	at dotty.tools.dotc.core.TypeComparer.firstTry$1(TypeComparer.scala:381)
	at dotty.tools.dotc.core.TypeComparer.recur(TypeComparer.scala:1330)
	at dotty.tools.dotc.core.TypeComparer.isSubType(TypeComparer.scala:192)
	at dotty.tools.dotc.core.TypeComparer.isSubApproxHi$1(TypeComparer.scala:1305)
	at dotty.tools.dotc.core.TypeComparer.fallback$2$$anonfun$2(TypeComparer.scala:1167)
	at scala.Function0.apply$mcZ$sp(Function0.scala:39)
	at dotty.tools.dotc.core.TypeComparer.sufficientEither(TypeComparer.scala:1652)
	at dotty.tools.dotc.core.TypeComparer.either(TypeComparer.scala:1613)
	at dotty.tools.dotc.core.TypeComparer.fallback$2(TypeComparer.scala:1167)
	at dotty.tools.dotc.core.TypeComparer.compareAppliedType2$1(TypeComparer.scala:1222)
	at dotty.tools.dotc.core.TypeComparer.thirdTry$1(TypeComparer.scala:571)
	at dotty.tools.dotc.core.TypeComparer.secondTry$1(TypeComparer.scala:504)
	at dotty.tools.dotc.core.TypeComparer.firstTry$1(TypeComparer.scala:381)
	at dotty.tools.dotc.core.TypeComparer.recur(TypeComparer.scala:1330)
	at dotty.tools.dotc.core.TypeComparer.firstTry$1(TypeComparer.scala:326)
	at dotty.tools.dotc.core.TypeComparer.recur(TypeComparer.scala:1330)
	at dotty.tools.dotc.core.TypeComparer.isSubType(TypeComparer.scala:192)
	at dotty.tools.dotc.core.TypeComparer.isSubType(TypeComparer.scala:202)
	at dotty.tools.dotc.core.TypeComparer.topLevelSubType(TypeComparer.scala:126)
	at dotty.tools.dotc.core.TypeComparer.testSubType(TypeComparer.scala:142)
	at dotty.tools.dotc.core.TypeComparer$.testSubType(TypeComparer.scala:2761)
	at dotty.tools.dotc.typer.Typer.adaptNoArgsOther$1(Typer.scala:3727)
	at dotty.tools.dotc.typer.Typer.adaptNoArgs$1(Typer.scala:3824)
	at dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:4040)
	at dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3370)
	at dotty.tools.dotc.typer.Typer.readapt$1(Typer.scala:3381)
	at dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:4027)
	at dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3370)
	at dotty.tools.dotc.typer.Implicits.typedImplicit(Implicits.scala:1070)
	at dotty.tools.dotc.typer.Implicits.typedImplicit$(Implicits.scala:797)
	at dotty.tools.dotc.typer.Typer.typedImplicit(Typer.scala:117)
	at dotty.tools.dotc.typer.Implicits$ImplicitSearch.tryImplicit(Implicits.scala:1190)
	at dotty.tools.dotc.typer.Implicits$ImplicitSearch.rank$1(Implicits.scala:1289)
	at dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1459)
	at dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1487)
	at dotty.tools.dotc.typer.Implicits$ImplicitSearch.searchImplicit(Implicits.scala:1495)
	at dotty.tools.dotc.typer.Implicits$ImplicitSearch.bestImplicit(Implicits.scala:1520)
	at dotty.tools.dotc.typer.Implicits.inferImplicit(Implicits.scala:1014)
	at dotty.tools.dotc.typer.Implicits.inferImplicit$(Implicits.scala:797)
	at dotty.tools.dotc.typer.Typer.inferImplicit(Typer.scala:117)
	at dotty.tools.dotc.typer.Implicits.inferImplicitArg(Implicits.scala:863)
	at dotty.tools.dotc.typer.Implicits.inferImplicitArg$(Implicits.scala:797)
	at dotty.tools.dotc.typer.Typer.inferImplicitArg(Typer.scala:117)
	at dotty.tools.dotc.typer.Typer.implicitArgs$1(Typer.scala:3492)
	at dotty.tools.dotc.typer.Typer.addImplicitArgs$1(Typer.scala:3528)
	at dotty.tools.dotc.typer.Typer.adaptNoArgsImplicitMethod$1(Typer.scala:3604)
	at dotty.tools.dotc.typer.Typer.adaptNoArgs$1(Typer.scala:3802)
	at dotty.tools.dotc.typer.Typer.adapt1(Typer.scala:4040)
	at dotty.tools.dotc.typer.Typer.adapt(Typer.scala:3370)
	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2987)
	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2991)
	at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3107)
	at dotty.tools.dotc.typer.Namer.typedAheadExpr$$anonfun$1(Namer.scala:1618)
	at dotty.tools.dotc.typer.Namer.typedAhead(Namer.scala:1608)
	at dotty.tools.dotc.typer.Namer.typedAheadExpr(Namer.scala:1618)
	at dotty.tools.dotc.typer.Namer.typedAheadRhs$1$$anonfun$1(Namer.scala:1866)
	at dotty.tools.dotc.typer.PrepareInlineable$.dropInlineIfError(PrepareInlineable.scala:248)
	at dotty.tools.dotc.typer.Namer.typedAheadRhs$1(Namer.scala:1866)
	at dotty.tools.dotc.typer.Namer.rhsType$1(Namer.scala:1874)
	at dotty.tools.dotc.typer.Namer.cookedRhsType$1(Namer.scala:1892)
	at dotty.tools.dotc.typer.Namer.lhsType$1(Namer.scala:1893)
	at dotty.tools.dotc.typer.Namer.inferredResultType(Namer.scala:1904)
	at dotty.tools.dotc.typer.Namer.inferredType$1(Namer.scala:1657)
	at dotty.tools.dotc.typer.Namer.valOrDefDefSig(Namer.scala:1664)
	at dotty.tools.dotc.typer.Namer$Completer.typeSig(Namer.scala:782)
	at dotty.tools.dotc.typer.Namer$Completer.completeInCreationContext(Namer.scala:921)
	at dotty.tools.dotc.typer.Namer$Completer.complete(Namer.scala:809)
	at dotty.tools.dotc.core.SymDenotations$SymDenotation.completeFrom(SymDenotations.scala:171)
	at dotty.tools.dotc.core.Denotations$Denotation.completeInfo$1(Denotations.scala:187)
	at dotty.tools.dotc.core.Denotations$Denotation.info(Denotations.scala:189)
	at dotty.tools.dotc.core.SymDenotations$SymDenotation.ensureCompleted(SymDenotations.scala:373)
	at dotty.tools.dotc.typer.Typer.retrieveSym(Typer.scala:2800)
	at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2825)
	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2921)
	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2987)
	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2991)
	at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3013)
	at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3063)
	at dotty.tools.dotc.typer.Typer.typedBlockStats(Typer.scala:1056)
	at dotty.tools.dotc.typer.Typer.typedBlock(Typer.scala:1060)
	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2867)
	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2922)
	at dotty.tools.dotc.typer.ProtoTypes$FunProto.$anonfun$7(ProtoTypes.scala:469)
	at dotty.tools.dotc.typer.ProtoTypes$FunProto.cacheTypedArg(ProtoTypes.scala:392)
	at dotty.tools.dotc.typer.ProtoTypes$FunProto.typedArg(ProtoTypes.scala:470)
	at dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:866)
	at dotty.tools.dotc.typer.Applications$ApplyToUntyped.typedArg(Applications.scala:866)
	at dotty.tools.dotc.typer.Applications$Application.addTyped$1(Applications.scala:557)
	at dotty.tools.dotc.typer.Applications$Application.matchArgs(Applications.scala:622)
	at dotty.tools.dotc.typer.Applications$Application.init(Applications.scala:460)
	at dotty.tools.dotc.typer.Applications$TypedApply.<init>(Applications.scala:748)
	at dotty.tools.dotc.typer.Applications$ApplyToUntyped.<init>(Applications.scala:865)
	at dotty.tools.dotc.typer.Applications.ApplyTo(Applications.scala:1065)
	at dotty.tools.dotc.typer.Applications.ApplyTo$(Applications.scala:327)
	at dotty.tools.dotc.typer.Typer.ApplyTo(Typer.scala:117)
	at dotty.tools.dotc.typer.Applications.simpleApply$1(Applications.scala:911)
	at dotty.tools.dotc.typer.Applications.realApply$1$$anonfun$3(Applications.scala:991)
	at dotty.tools.dotc.typer.Typer.tryEither(Typer.scala:3131)
	at dotty.tools.dotc.typer.Applications.realApply$1(Applications.scala:1002)
	at dotty.tools.dotc.typer.Applications.typedApply(Applications.scala:1040)
	at dotty.tools.dotc.typer.Applications.typedApply$(Applications.scala:327)
	at dotty.tools.dotc.typer.Typer.typedApply(Typer.scala:117)
	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2859)
	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2922)
	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2987)
	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2991)
	at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3040)
	at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3063)
	at dotty.tools.dotc.typer.Typer.typedClassDef(Typer.scala:2500)
	at dotty.tools.dotc.typer.Typer.typedTypeOrClassDef$1(Typer.scala:2847)
	at dotty.tools.dotc.typer.Typer.typedNamed$1(Typer.scala:2851)
	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2921)
	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2987)
	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2991)
	at dotty.tools.dotc.typer.Typer.traverse$1(Typer.scala:3013)
	at dotty.tools.dotc.typer.Typer.typedStats(Typer.scala:3063)
	at dotty.tools.dotc.typer.Typer.typedPackageDef(Typer.scala:2629)
	at dotty.tools.dotc.typer.Typer.typedUnnamed$1(Typer.scala:2892)
	at dotty.tools.dotc.typer.Typer.typedUnadapted(Typer.scala:2922)
	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2987)
	at dotty.tools.dotc.typer.Typer.typed(Typer.scala:2991)
	at dotty.tools.dotc.typer.Typer.typedExpr(Typer.scala:3107)
	at dotty.tools.dotc.typer.TyperPhase.typeCheck$$anonfun$1(TyperPhase.scala:43)
	at dotty.tools.dotc.typer.TyperPhase.typeCheck$$anonfun$adapted$1(TyperPhase.scala:50)
	at scala.Function0.apply$mcV$sp(Function0.scala:39)
	at dotty.tools.dotc.core.Phases$Phase.monitor(Phases.scala:417)
	at dotty.tools.dotc.typer.TyperPhase.typeCheck(TyperPhase.scala:50)
	at dotty.tools.dotc.typer.TyperPhase.runOn$$anonfun$3(TyperPhase.scala:84)
	at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
	at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
	at scala.collection.immutable.List.foreach(List.scala:333)
	at dotty.tools.dotc.typer.TyperPhase.runOn(TyperPhase.scala:84)
	at dotty.tools.dotc.Run.runPhases$1$$anonfun$1(Run.scala:234)
	at scala.runtime.function.JProcedure1.apply(JProcedure1.java:15)
	at scala.runtime.function.JProcedure1.apply(JProcedure1.java:10)
	at scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1328)
	at dotty.tools.dotc.Run.runPhases$1(Run.scala:245)
	at dotty.tools.dotc.Run.compileUnits$$anonfun$1(Run.scala:253)
	at dotty.tools.dotc.Run.compileUnits$$anonfun$adapted$1(Run.scala:262)
	at dotty.tools.dotc.util.Stats$.maybeMonitored(Stats.scala:68)
	at dotty.tools.dotc.Run.compileUnits(Run.scala:262)
	at dotty.tools.dotc.Run.compileSources(Run.scala:186)
	at dotty.tools.dotc.Run.compile(Run.scala:170)
	at dotty.tools.dotc.Driver.doCompile(Driver.scala:35)
	at dotty.tools.xsbt.CompilerBridgeDriver.run(CompilerBridgeDriver.java:88)
	at dotty.tools.xsbt.CompilerBridge.run(CompilerBridge.java:22)
	at sbt.internal.inc.AnalyzingCompiler.compile(AnalyzingCompiler.scala:91)
	at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$7(MixedAnalyzingCompiler.scala:192)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at sbt.internal.inc.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:247)
	at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4(MixedAnalyzingCompiler.scala:182)
	at sbt.internal.inc.MixedAnalyzingCompiler.$anonfun$compile$4$adapted(MixedAnalyzingCompiler.scala:163)
	at sbt.internal.inc.JarUtils$.withPreviousJar(JarUtils.scala:239)
	at sbt.internal.inc.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:163)
	at sbt.internal.inc.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:210)
	at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1(IncrementalCompilerImpl.scala:528)
	at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileInternal$1$adapted(IncrementalCompilerImpl.scala:528)
	at sbt.internal.inc.Incremental$.$anonfun$apply$5(Incremental.scala:177)
	at sbt.internal.inc.Incremental$.$anonfun$apply$5$adapted(Incremental.scala:175)
	at sbt.internal.inc.Incremental$$anon$2.run(Incremental.scala:461)
	at sbt.internal.inc.IncrementalCommon$CycleState.next(IncrementalCommon.scala:116)
	at sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:56)
	at sbt.internal.inc.IncrementalCommon$$anon$1.next(IncrementalCommon.scala:52)
	at sbt.internal.inc.IncrementalCommon.cycle(IncrementalCommon.scala:263)
	at sbt.internal.inc.Incremental$.$anonfun$incrementalCompile$8(Incremental.scala:416)
	at sbt.internal.inc.Incremental$.withClassfileManager(Incremental.scala:503)
	at sbt.internal.inc.Incremental$.incrementalCompile(Incremental.scala:403)
	at sbt.internal.inc.Incremental$.apply(Incremental.scala:169)
	at sbt.internal.inc.IncrementalCompilerImpl.compileInternal(IncrementalCompilerImpl.scala:528)
	at sbt.internal.inc.IncrementalCompilerImpl.$anonfun$compileIncrementally$1(IncrementalCompilerImpl.scala:482)
	at sbt.internal.inc.IncrementalCompilerImpl.handleCompilationError(IncrementalCompilerImpl.scala:332)
	at sbt.internal.inc.IncrementalCompilerImpl.compileIncrementally(IncrementalCompilerImpl.scala:420)
	at sbt.internal.inc.IncrementalCompilerImpl.compile(IncrementalCompilerImpl.scala:137)
	at sbt.Defaults$.compileIncrementalTaskImpl(Defaults.scala:2366)
	at sbt.Defaults$.$anonfun$compileIncrementalTask$2(Defaults.scala:2316)
	at sbt.internal.server.BspCompileTask$.$anonfun$compute$1(BspCompileTask.scala:30)
	at sbt.internal.io.Retry$.apply(Retry.scala:46)
	at sbt.internal.io.Retry$.apply(Retry.scala:28)
	at sbt.internal.io.Retry$.apply(Retry.scala:23)
	at sbt.internal.server.BspCompileTask$.compute(BspCompileTask.scala:30)
	at sbt.Defaults$.$anonfun$compileIncrementalTask$1(Defaults.scala:2314)
	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
	at sbt.std.Transform$$anon$4.work(Transform.scala:68)
	at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
	at sbt.Execute.work(Execute.scala:291)
	at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
	at sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.lang.Thread.run(Thread.java:831)```
</details>
@Adam-Vandervorst Adam-Vandervorst added itype:bug itype:crash stat:needs triage Every issue needs to have an "area" and "itype" label labels Jul 16, 2022
@Adam-Vandervorst Adam-Vandervorst changed the title TypeHash NullPointerException using Tuple.IsMappedBy and deriving.Mirror.ProductOf TypeHash NullPointerException with Tuple.IsMappedBy Jul 16, 2022
@mbovel mbovel added area:typer and removed stat:needs triage Every issue needs to have an "area" and "itype" label labels Jul 18, 2022
@mbovel mbovel self-assigned this Jul 18, 2022
odersky added a commit to dotty-staging/dotty that referenced this issue Jul 25, 2022
@Kordyjan Kordyjan added this to the 3.2.1 milestone Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants