java.lang.RuntimeException: Failed to invoke public scala.collection.immutable.List() with no args

Stack Overflow | Knows Not Much | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GSon fromJson fails for Arrays in Scala

    Stack Overflow | 10 months ago | Knows Not Much
    java.lang.RuntimeException: Failed to invoke public scala.collection.immutable.List() with no args
  2. 0

    Gson:Unable to invoke no-args constructor for interface scala.collection.mutable.Seq

    Stack Overflow | 2 years ago | user3801239
    java.lang.RuntimeException: Unable to invoke no-args constructor for interface scala.collection.mutable.Seq. Register an InstanceCreator with Gson for this type may fix this problem.
  3. 0

    Unable to invoke no-args constructor for class com.pipl.api.search.SearchAPIResponse.

    GitHub | 2 years ago | yathit
    java.lang.RuntimeException: Unable to invoke no-args constructor for class com.pipl.api.search.SearchAPIResponse. Register an InstanceCreator with Gson for this type may fix this problem.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Two-way conversion between Range and String (e.g. aids GSON)

    GitHub | 2 years ago | dimo414
    java.lang.RuntimeException: Unable to invoke no-args constructor for com.google.common.collect.Cut<C>. Register an InstanceCreator with Gson for this type may fix this problem.
  6. 0

    java.lang.RuntimeException: Failed to invoke public com.example.syncapp.MessageBase() with no args

    Stack Overflow | 4 years ago | user1612863
    java.lang.RuntimeException: Failed to invoke public com.example.syncapp.MessageBase() with no args

  1. Alexandru Popa 10 times, last 6 months ago
4 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. java.lang.RuntimeException

    Failed to invoke public scala.collection.immutable.List() with no args

    at com.google.gson.internal.ConstructorConstructor$3.construct()
  2. Gson
    Gson.fromJson
    1. com.google.gson.internal.ConstructorConstructor$3.construct(ConstructorConstructor.java:111)
    2. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:210)
    3. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129)
    4. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220)
    5. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:129)
    6. com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:220)
    7. com.google.gson.Gson.fromJson(Gson.java:887)
    8. com.google.gson.Gson.fromJson(Gson.java:852)
    9. com.google.gson.Gson.fromJson(Gson.java:801)
    10. com.google.gson.Gson.fromJson(Gson.java:773)
    10 frames
  3. com.researchnow
    FlareCommandLine$delayedInit$body.apply
    1. com.researchnow.FlareCommandLine$.delayedEndpoint$com$researchnow$FlareCommandLine$1(FlareCommandLine.scala:28)
    2. com.researchnow.FlareCommandLine$delayedInit$body.apply(FlareCommandLine.scala:17)
    2 frames
  4. Scala
    List.foreach
    1. scala.Function0$class.apply$mcV$sp(Function0.scala:34)
    2. scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
    3. scala.App$$anonfun$main$1.apply(App.scala:76)
    4. scala.App$$anonfun$main$1.apply(App.scala:76)
    5. scala.collection.immutable.List.foreach(List.scala:381)
    5 frames