com.impetus.kundera.KunderaException

java.lang.IllegalArgumentException: can't serialize class com.babybook.domain.Parent

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web98

  • via Unknown by Ratesh Bansal,
  • via GitHub by harrychan
    ,
  • Stack trace

    • com.impetus.kundera.KunderaException: java.lang.IllegalArgumentException: can't serialize class com.babybook.domain.Parent at com.impetus.kundera.persistence.EntityManagerImpl.merge(EntityManagerImpl.java:205) at com.babybook.signup.service.EventService.merge(EventService.java:19) at com.babybook.signup.service.EventService.main(EventService.java:57) Caused by: java.lang.IllegalArgumentException: can't serialize class com.babybook.domain.Parent at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:270) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:174) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:226) at org.bson.BasicBSONEncoder.putArray(BasicBSONEncoder.java:282) at org.bson.BasicBSONEncoder._putObjectField(BasicBSONEncoder.java:242) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:174) at org.bson.BasicBSONEncoder.putObject(BasicBSONEncoder.java:120) at com.mongodb.DefaultDBEncoder.writeObject(DefaultDBEncoder.java:27) at com.mongodb.OutMessage.putObject(OutMessage.java:289) at com.mongodb.OutMessage.writeUpdate(OutMessage.java:175) at com.mongodb.OutMessage.update(OutMessage.java:62) at com.mongodb.DBApiLayer$MyCollection.update(DBApiLayer.java:347) at com.mongodb.DBCollection.update(DBCollection.java:177) at com.mongodb.DBCollection.save(DBCollection.java:817) at com.mongodb.DBCollection.save(DBCollection.java:785) at com.impetus.client.mongodb.MongoDBClient.onPersist(MongoDBClient.java:809) at com.impetus.client.mongodb.MongoDBClient.onPersist(MongoDBClient.java:662) at com.impetus.kundera.client.ClientBase.persist(ClientBase.java:96) at com.impetus.kundera.lifecycle.states.ManagedState.handleFlush(ManagedState.java:191) at com.impetus.kundera.graph.Node.flush(Node.java:531) at com.impetus.kundera.persistence.PersistenceDelegator.flush(PersistenceDelegator.java:408) at com.impetus.kundera.persistence.PersistenceDelegator.merge(PersistenceDelegator.java:454) at com.impetus.kundera.persistence.EntityManagerImpl.merge(EntityManagerImpl.java:199) ... 2 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    rprp
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,