java.lang.RuntimeException: The root object can neither be an abstract class nor interface: "[J

Stack Overflow | yuhongye | 3 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    what is the most efficient way to serialize primitive type array by protostuff

    Stack Overflow | 3 months ago | yuhongye
    java.lang.RuntimeException: The root object can neither be an abstract class nor interface: "[J
  2. 0

    Not a standard jdk collection?

    Google Groups | 5 years ago | Erez
    com.X.Y.MyConcurrentHashSet
  3. 0

    Why I encounter Exception when using RuntimeSchema?

    Google Groups | 6 years ago | DarrenWang
    java.lang.RuntimeException: All fields are either transient/static. Note that Map fields are excluded. Two dimensional array fields are excluded. Collection fields whose generic type is a collection or another generic type, are excluded.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 177#220606591

    GitHub | 11 months ago | thinline72
    java.lang.RuntimeException: All fields were excluded for org.apache.cayenne.remote.BootstrapMessage on group 0
  6. 0

    GitHub comment 81#75374769

    GitHub | 2 years ago | kshchepanovskyi
    java.lang.OutOfMemoryError: Java heap space

    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

      The root object can neither be an abstract class nor interface: "[J

      at io.protostuff.runtime.RuntimeSchema.createFrom()
    2. io.protostuff.runtime
      RuntimeSchema.getSchema
      1. io.protostuff.runtime.RuntimeSchema.createFrom(RuntimeSchema.java:210)
      2. io.protostuff.runtime.RuntimeSchema.createFrom(RuntimeSchema.java:187)
      3. io.protostuff.runtime.IdStrategy.newSchema(IdStrategy.java:116)
      4. io.protostuff.runtime.DefaultIdStrategy$Lazy.getSchema(DefaultIdStrategy.java:708)
      5. io.protostuff.runtime.RuntimeSchema.getSchema(RuntimeSchema.java:149)
      6. io.protostuff.runtime.RuntimeSchema.getSchema(RuntimeSchema.java:140)
      6 frames
    3. kryo.demo
      UserCompareKryoAndProtostuff.main
      1. kryo.demo.UserCompareKryoAndProtostuff.testProtostuff(UserCompareKryoAndProtostuff.java:66)
      2. kryo.demo.UserCompareKryoAndProtostuff.main(UserCompareKryoAndProtostuff.java:31)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame