scala.ScalaReflectionException: <none> is not a method

Stack Overflow | Jus12 | 4 months ago
  1. 0

    How to get return type string of a method using Scala reflection?

    Stack Overflow | 4 months ago | Jus12
    scala.ScalaReflectionException: <none> is not a method
  2. 0

    Traits and inheritance

    GitHub | 2 years ago | tindzk
    scala.ScalaReflectionException: <none> is not a method
  3. 0

    Compile time Exception in v0.3.1 for Array[String]

    GitHub | 1 year ago | hrj
    scala.ScalaReflectionException: value apply encapsulates multiple overloaded alternatives and cannot be treated as a method. Consider invoking `<offending symbol>.asTerm.alternatives` and manually picking the required method
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception during macro expansion when printing simple vals

    GitHub | 1 year ago | rklaehn
    scala.ScalaReflectionException: value apply encapsulates multiple overloaded alternatives and cannot be treated as a method. Consider invoking `<offending symbol>.asTerm.alternatives` and manually picking the required method
  6. 0

    Is it possible to read parameterized/polymorphic case classes ?

    GitHub | 2 years ago | l15k4
    scala.ScalaReflectionException: value apply encapsulates multiple overloaded alternatives and cannot be treated as a method. Consider invoking `<offending symbol>.asTerm.alternatives` and manually picking the required method

    1 unregistered visitors
    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.ScalaReflectionException

      <none> is not a method

      at scala.reflect.api.Symbols$SymbolApi$class.asMethod()
    2. Scala
      Symbols$SymbolContextApiImpl.asMethod
      1. scala.reflect.api.Symbols$SymbolApi$class.asMethod(Symbols.scala:228)
      2. scala.reflect.internal.Symbols$SymbolContextApiImpl.asMethod(Symbols.scala:84)
      2 frames
    3. cs.reflect
      Test.getRetCls
      1. cs.reflect.Test.getRetCls(Test.scala:11)
      1 frame