java.lang.IllegalArgumentException: can't serialize class java.lang.Character

JIRA | Uladzimir Mihura | 5 years ago
  1. 0

    Problem with own id Object in Version 1.0 instead of 0.3

    Google Groups | 3 years ago | Ultimate Fighter
    java.lang.IllegalArgumentException: can't serialize class my.package.MyID
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Scala serialization exception with Enumeration Value

    Stack Overflow | 3 years ago | 3x14159265
    java.lang.IllegalArgumentException: can't serialize class scala.Enumeration$Val
  4. 0

    Salat serialisation error

    Stack Overflow | 2 years ago | Matteo Pacini
    java.lang.IllegalArgumentException: can't serialize class com.google.i18n.phonenumbers.Phonenumber$PhoneNumber

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

      can't serialize class java.lang.Character

      at org.bson.BasicBSONEncoder._putObjectField()
    2. MongoDB Java Driver
      DefaultDBEncoder.writeObject
      1. org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:234)
      2. org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:140)
      3. org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:86)
      4. com.mongodb.DefaultDBEncoder.writeObject(DefaultDBEncoder.java:27)
      4 frames