scala.reflect.internal.FatalError: unexpected UnApply scala.util.control.NonFatal.unapply(<unapply-selector>) <unapply> ((e @ _))

Google Groups | Stefan Ollinger | 1 year ago
  1. 0

    [macros] untypecheck seems to produce invalid code

    Google Groups | 1 year ago | Stefan Ollinger
    scala.reflect.internal.FatalError: unexpected UnApply scala.util.control.NonFatal.unapply(<unapply-selector>) <unapply> ((e @ _))
  2. 0

    Check if thread is new in Scala?

    Stack Overflow | 2 years ago
    scala.reflect.internal.FatalError: Unknown type: <notype>(NEW), <notype> [class scala.reflect.internal.Types$UniqueConstantType, class scala.reflect.internal.Types$NoType$] TypeRef? false
  3. 0

    Bizzarre compiler crash on very simple source

    Google Groups | 2 years ago | Roman Janusz
    scala.reflect.internal.FatalError: Unknown type: <notype>(THAT), <notype> [class scala.reflect.internal.Types$UniqueConstantType, class scala.reflect.internal.Types$NoType$] TypeRef? false while compiling: <console> during phase: icode library version: version 2.11.4 compiler version: version 2.11.4 reconstructed args: last tree to typer: type O tree position: line 7 of <console> tree tpe: <notype> symbol: object iw$O in package $line4 symbol definition: class iw$O extends Object (a ModuleClassSymbol) symbol package: $line4 symbol owners: object iw$O call site: object iw$O in package $line4 in package $line4 <Cannot read source file>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ReplGlobal.abort: Could not find initializer

    Stack Overflow | 1 year ago | 0__
    java.security.PrivilegedActionException: java.security.PrivilegedActionException: scala.reflect.internal.FatalError: Could not find initializer for de$sciss$synth$Lazy$Expander$$ref while compiling: <console> during phase: mixin library version: version 2.11.7 compiler version: version 2.11.7 reconstructed args: -classpath .:/home/hhrutz/Documents/devel/ScalaColliderSwing/ScalaCollider.jar last tree to typer: TypeTree(class Lazy$Expander$class) tree position: line 53 of <console> tree tpe: de.sciss.synth.Lazy$Expander$class symbol: abstract class Lazy$Expander$class in package synth symbol definition: abstract class Lazy$Expander$class extends Lazy with Lazy$Expander (a ClassSymbol with ImplClassSymbol) symbol package: de.sciss.synth symbol owners: class Lazy$Expander$class call site: class iw$Foo in package $line15 in package $line15 <Cannot read source file>
  6. 0

    GitHub comment 960#115071787

    GitHub | 1 year ago | xuwei-k
    scala.reflect.internal.FatalError: unrecoverable error while compiling: <console> during phase: globalPhase=erasure, enteringPhase=posterasure library version: version 2.11.7 compiler version: version 2.11.7 reconstructed args: -deprecation -language:dynamics -language:postfixOps -language:reflectiveCalls -language:implicitConversions -language:higherKinds -language:existentials -language:experimental.macros -Yoverride-vars -Xexperimental -Yoverride-objects -classpath /Users/user/.ivy2/cache/org.scalaz/scalaz-concurrent_2.11/bundles/scalaz-concurrent_2.11-7.1.3.jar:/Users/user/.ivy2/cache/org.scalaz/scalaz-core_2.11/bundles/scalaz-core_2.11-7.1.3.jar:/Users/user/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/bundles/scala-parser-combinators_2.11-1.0.4.jar:/Users/user/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/bundles/scala-xml_2.11-1.0.4.jar:/Users/user/.ivy2/cache/org.scalaz/scalaz-effect_2.11/bundles/scalaz-effect_2.11-7.1.3.jar:/Users/user/.ivy2/cache/org.scala-lang/scala-compiler/jars/scala-compiler-2.11.7.jar:/Users/user/.ivy2/cache/org.scala-lang/scala-reflect/jars/scala-reflect-2.11.7.jar:/Users/user/.ivy2/cache/org.scala-lang.modules/scala-xml_2.11/bundles/scala-xml_2.11-1.0.4.jar:/Users/user/.ivy2/cache/org.scala-lang.modules/scala-parser-combinators_2.11/bundles/scala-parser-combinators_2.11-1.0.4.jar:/Users/user/.ivy2/cache/jline/jline/jars/jline-2.12.1.jar -Yinfer-argument-types -Yrepl-sync -bootclasspath /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/classes:/Users/user/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.11.7.jar last tree to typer: TypeTree(<$anon: Function0>) tree position: line 19 of <console> tree tpe: $anonfun symbol: final <$anon: Function0> symbol definition: final class $anonfun extends AbstractFunction0 with Serializable (a ClassSymbol) symbol package: $line12 symbol owners: <$anon: Function0> -> value res1 -> object $iw -> object $iw -> object $iw -> object $iw -> object $iw -> object $iw -> object $read call site: object $iw in package $line12 <Cannot read source file>

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. scala.reflect.internal.FatalError

      unexpected UnApply scala.util.control.NonFatal.unapply(<unapply-selector>) <unapply> ((e @ _))

      at scala.reflect.internal.Reporting$class.abort()
    2. Scala
      Reporting$class.abort
      1. scala.reflect.internal.Reporting$class.abort(Reporting.scala:59)
      1 frame
    3. Scala Compiler
      Typers$Typer$$anonfun$typedCases$1.apply
      1. scala.tools.nsc.interpreter.IMain$$anon$1.scala$tools$nsc$interpreter$ReplGlobal$$super$abort(IMain.scala:237)
      2. scala.tools.nsc.interpreter.ReplGlobal$class.abort(ReplGlobal.scala:20)
      3. scala.tools.nsc.interpreter.IMain$$anon$1.abort(IMain.scala:237)
      4. scala.tools.nsc.typechecker.Typers$Typer.typedInAnyMode$1(Typers.scala:5247)
      5. scala.tools.nsc.typechecker.Typers$Typer.typed1(Typers.scala:5259)
      6. scala.tools.nsc.typechecker.Typers$Typer.runTyper$1(Typers.scala:5295)
      7. scala.tools.nsc.typechecker.Typers$Typer.scala$tools$nsc$typechecker$Typers$Typer$$typedInternal(Typers.scala:5322)
      8. scala.tools.nsc.typechecker.Typers$Typer.body$2(Typers.scala:5269)
      9. scala.tools.nsc.typechecker.Typers$Typer.typed(Typers.scala:5273)
      10. scala.tools.nsc.interpreter.ReplGlobal$$anon$1$$anon$2.typed(ReplGlobal.scala:36)
      11. scala.tools.nsc.typechecker.Typers$Typer$$anonfun$113$$anonfun$apply$55.apply(Typers.scala:5408)
      12. scala.tools.nsc.typechecker.Typers$Typer$$anonfun$113.apply(Typers.scala:5408)
      13. scala.tools.nsc.typechecker.Typers$Typer$$anonfun$113.apply(Typers.scala:5408)
      14. scala.tools.nsc.typechecker.TypeDiagnostics$class.typingInPattern(TypeDiagnostics.scala:62)
      15. scala.tools.nsc.interpreter.ReplGlobal$$anon$1.typingInPattern(ReplGlobal.scala:23)
      16. scala.tools.nsc.typechecker.Typers$Typer.typedPattern(Typers.scala:5408)
      17. scala.tools.nsc.typechecker.Typers$Typer.typedCase(Typers.scala:2359)
      18. scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases$1.apply(Typers.scala:2399)
      19. scala.tools.nsc.typechecker.Typers$Typer$$anonfun$typedCases$1.apply(Typers.scala:2398)
      19 frames
    4. Scala
      List.mapConserve
      1. scala.collection.immutable.List.loop$1(List.scala:172)
      2. scala.collection.immutable.List.mapConserve(List.scala:188)
      2 frames
    5. Scala Compiler
      Typers$Typer.typedCases
      1. scala.tools.nsc.typechecker.Typers$Typer.typedCases(Typers.scala:2398)
      1 frame