java.lang.IllegalArgumentException: not a primitive field

Stack Overflow | raghu | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java Serialization Caused by java.lang.IllegalArgumentException: not a primitive field

    Stack Overflow | 7 months ago | raghu
    java.lang.IllegalArgumentException: not a primitive field
  2. 0

    IllegalArgumentException

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.IllegalArgumentException: invalid value for field

    4 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      not a primitive field

      at java.lang.reflect.Field.setFField()
    2. Java RT
      ObjectInputStream.readObject
      1. java.lang.reflect.Field.setFField(Field.java)
      2. java.lang.reflect.Field.setFloat(Field.java:746)
      3. java.io.ObjectInputStream.readFieldValues(ObjectInputStream.java:1092)
      4. java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:455)
      5. java.io.ObjectInputStream.readObjectForClass(ObjectInputStream.java:1347)
      6. java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1244)
      7. java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1833)
      8. java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:762)
      9. java.io.ObjectInputStream.readObject(ObjectInputStream.java:1981)
      10. java.io.ObjectInputStream.readObject(ObjectInputStream.java:1938)
      10 frames