scala.MatchError: native.this.FunctionPtr.fromFunction1({ { (new <$anon: Function1>(): Function1) } }) (of class scala.reflect.internal.Trees$ApplyImplicitView)

GitHub | Sciss | 5 months ago
  1. 0

    Error:scalac: Error: native.this.FunctionPtr.fromFunction1 (conversion from function/method)

    GitHub | 5 months ago | Sciss
    scala.MatchError: native.this.FunctionPtr.fromFunction1({ { (new <$anon: Function1>(): Function1) } }) (of class scala.reflect.internal.Trees$ApplyImplicitView)
  2. 0

    HEAD request on websocket throws ugly 500

    GitHub | 1 year ago | gpgekko
    play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[MatchError: Some(WebSocket(<function1>)) (of class scala.Some)]]
  3. 0

    NoNeedForMonad throws MatchError

    GitHub | 2 years ago | vkostyukov
    scala.MatchError: next (of class scala.reflect.internal.Trees$Ident)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FragmentBuilder - exception during macro expansion

    GitHub | 3 months ago | akahanek
    scala.MatchError: (macroid.FragmentBuilder.apply[my.package.MyFragment](macroid.Ui.apply[my.package.MyFragment](new my.package.MyFragment()), new android.os.Bundle())(TaskDetail.this.activityContextWrapper(scala.this.Predef.$conforms[android.support.v4.app.FragmentActivity]), support.this.Fragment.legacyFragment): macroid.FragmentBuilder[my.package.MyFragment]) (of class scala.reflect.internal.Trees$Typed)
  6. 0

    FragmentBuilder - exception during macro expansion

    GitHub | 3 months ago | akahanek
    scala.MatchError: (macroid.FragmentBuilder.apply[my.package.MyFragment](macroid.Ui.apply[my.package.MyFragment](new my.package.MyFragment()), new android.os.Bundle())(TaskDetail.this.activityContextWrapper(scala.this.Predef.$conforms[android.support.v4.app.FragmentActivity]), support.this.Fragment.legacyFragment): macroid.FragmentBuilder[my.package.MyFragment]) (of class scala.reflect.internal.Trees$Typed)

    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.MatchError

      native.this.FunctionPtr.fromFunction1({ { (new <$anon: Function1>(): Function1) } }) (of class scala.reflect.internal.Trees$ApplyImplicitView)

      at scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genFunPtrOp()
    2. scala.scalanative.nscplugin
      NirCodeGen$SaltyCodePhase$$anonfun$genMethodArgs$2.apply
      1. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genFunPtrOp(NirCodeGen.scala:1314)
      2. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genPrimitiveOp(NirCodeGen.scala:923)
      3. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genApply(NirCodeGen.scala:874)
      4. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$genExpr$1.apply(NirCodeGen.scala:505)
      5. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$genExpr$1.apply(NirCodeGen.scala:463)
      6. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.notMergeableGuard(NirCodeGen.scala:417)
      7. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genExpr(NirCodeGen.scala:462)
      8. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$genMethodArgs$2.apply(NirCodeGen.scala:1685)
      9. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$genMethodArgs$2.apply(NirCodeGen.scala:1678)
      9 frames
    3. Scala
      TraversableLike$WithFilter.foreach
      1. scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(TraversableLike.scala:733)
      2. scala.collection.immutable.List.foreach(List.scala:381)
      3. scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:732)
      3 frames
    4. scala.scalanative.nscplugin
      NirCodeGen$SaltyCodePhase$$anonfun$20.apply
      1. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genMethodArgs(NirCodeGen.scala:1678)
      2. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genMethodCall(NirCodeGen.scala:1642)
      3. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genMethodCall(NirCodeGen.scala:1630)
      4. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genApply(NirCodeGen.scala:882)
      5. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$genExpr$1.apply(NirCodeGen.scala:505)
      6. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$genExpr$1.apply(NirCodeGen.scala:463)
      7. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.notMergeableGuard(NirCodeGen.scala:417)
      8. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genExpr(NirCodeGen.scala:462)
      9. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$20.apply(NirCodeGen.scala:735)
      10. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$20.apply(NirCodeGen.scala:735)
      10 frames
    5. scala.scalanative.nir
      Focus$$anonfun$sequenced$1.apply
      1. scala.scalanative.nir.Focus$$anonfun$sequenced$1.apply(Focus.scala:154)
      2. scala.scalanative.nir.Focus$$anonfun$sequenced$1.apply(Focus.scala:153)
      2 frames
    6. Scala
      List.foldLeft
      1. scala.collection.LinearSeqOptimized$class.foldLeft(LinearSeqOptimized.scala:124)
      2. scala.collection.immutable.List.foldLeft(List.scala:84)
      2 frames
    7. scala.scalanative.nir
      Focus$.sequenced
      1. scala.scalanative.nir.Focus$.sequenced(Focus.scala:153)
      1 frame
    8. scala.scalanative.nscplugin
      NirCodeGen$SaltyCodePhase$$anonfun$12.apply
      1. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genBlock(NirCodeGen.scala:735)
      2. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$genExpr$1.apply(NirCodeGen.scala:549)
      3. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$genExpr$1.apply(NirCodeGen.scala:463)
      4. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.notMergeableGuard(NirCodeGen.scala:417)
      5. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genExpr(NirCodeGen.scala:462)
      6. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$12.apply(NirCodeGen.scala:453)
      7. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$12.apply(NirCodeGen.scala:453)
      7 frames
    9. scala.scalanative.util
      ScopedVar$.scoped
      1. scala.scalanative.util.ScopedVar$.scoped(ScopedVar.scala:40)
      1 frame
    10. scala.scalanative.nscplugin
      NirCodeGen$SaltyCodePhase$$anonfun$genMethod$1.apply
      1. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genNormalMethodBody(NirCodeGen.scala:452)
      2. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$genMethod$1.apply(NirCodeGen.scala:279)
      2 frames
    11. scala.scalanative.util
      ScopedVar$.scoped
      1. scala.scalanative.util.ScopedVar$.scoped(ScopedVar.scala:40)
      1 frame
    12. scala.scalanative.nscplugin
      NirCodeGen$SaltyCodePhase$$anonfun$genMethods$1.apply
      1. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genMethod(NirCodeGen.scala:254)
      2. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$genMethods$1.apply(NirCodeGen.scala:241)
      3. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$genMethods$1.apply(NirCodeGen.scala:239)
      3 frames
    13. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:381)
      1 frame
    14. scala.scalanative.nscplugin
      NirCodeGen$SaltyCodePhase$$anonfun$genClass$1.apply
      1. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genMethods(NirCodeGen.scala:239)
      2. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genNormalClass(NirCodeGen.scala:183)
      3. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$genClass$1.apply(NirCodeGen.scala:151)
      4. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$genClass$1.apply(NirCodeGen.scala:149)
      4 frames
    15. scala.scalanative.util
      ScopedVar$.scoped
      1. scala.scalanative.util.ScopedVar$.scoped(ScopedVar.scala:40)
      1 frame
    16. scala.scalanative.nscplugin
      NirCodeGen$SaltyCodePhase$$anonfun$apply$4.apply
      1. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.genClass(NirCodeGen.scala:149)
      2. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$apply$4.apply(NirCodeGen.scala:128)
      3. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase$$anonfun$apply$4.apply(NirCodeGen.scala:124)
      3 frames
    17. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:381)
      1 frame
    18. scala.scalanative.nscplugin
      NirCodeGen$SaltyCodePhase.apply
      1. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.apply(NirCodeGen.scala:124)
      1 frame
    19. Scala Compiler
      Global$GlobalPhase$$anonfun$run$1.apply
      1. scala.tools.nsc.Global$GlobalPhase$$anonfun$applyPhase$1.apply$mcV$sp(Global.scala:440)
      2. scala.tools.nsc.Global$GlobalPhase.withCurrentUnit(Global.scala:431)
      3. scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:440)
      4. scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:398)
      5. scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:398)
      5 frames
    20. Scala
      AbstractIterator.foreach
      1. scala.collection.Iterator$class.foreach(Iterator.scala:893)
      2. scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
      2 frames
    21. Scala Compiler
      Global$GlobalPhase.run
      1. scala.tools.nsc.Global$GlobalPhase.run(Global.scala:398)
      1 frame
    22. scala.scalanative.nscplugin
      NirCodeGen$SaltyCodePhase.run
      1. scala.scalanative.nscplugin.NirCodeGen$SaltyCodePhase.run(NirCodeGen.scala:102)
      1 frame
    23. Scala Compiler
      Global$Run.compile
      1. scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1501)
      2. scala.tools.nsc.Global$Run.compileUnits(Global.scala:1486)
      3. scala.tools.nsc.Global$Run.compileSources(Global.scala:1481)
      4. scala.tools.nsc.Global$Run.compile(Global.scala:1582)
      4 frames
    24. SBT
      CompilerInterface.run
      1. xsbt.CachedCompiler0.run(CompilerInterface.scala:115)
      2. xsbt.CachedCompiler0.run(CompilerInterface.scala:94)
      3. xsbt.CompilerInterface.run(CompilerInterface.scala:22)
      3 frames
    25. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    26. SBT
      AnalyzingCompiler.compile
      1. sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:101)
      2. sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47)
      3. sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41)
      3 frames
    27. JetBrains jps
      LocalServer.compile
      1. org.jetbrains.jps.incremental.scala.local.IdeaIncrementalCompiler.compile(IdeaIncrementalCompiler.scala:29)
      2. org.jetbrains.jps.incremental.scala.local.LocalServer.compile(LocalServer.scala:26)
      2 frames
    28. org.jetbrains.jps
      Main.nailMain
      1. org.jetbrains.jps.incremental.scala.remote.Main$.make(Main.scala:67)
      2. org.jetbrains.jps.incremental.scala.remote.Main$.nailMain(Main.scala:24)
      3. org.jetbrains.jps.incremental.scala.remote.Main.nailMain(Main.scala)
      3 frames
    29. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    30. JRuby Main Maven Artifact
      NGSession.run
      1. com.martiansoftware.nailgun.NGSession.run(NGSession.java:319)
      1 frame