Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-696

KnowledgeBaseAdapter is Externalizable, but doesn't have the default constructor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 6.2.0.CR4
    • None
    • None
    • Hide

      Serialize KnowledgeBaseAdapter

      Show
      Serialize KnowledgeBaseAdapter

      https://issues.jboss.org/browse/DROOLS-671 - KnowledgeBaseAdapter was made Externalizable, but it doesn't have a default constructor.
      Now I during KnowledgeBaseAdapter serialization I get:
      "InvalidClassException: org.drools.impl.adapters.KnowledgeBaseAdapter; no valid constructor"
      StackTrace:
      java.io.InvalidClassException: org.drools.impl.adapters.KnowledgeBaseAdapter; no valid constructor
      at java.io.ObjectStreamClass$ExceptionInfo.newInvalidClassException(ObjectStreamClass.java:150)
      at java.io.ObjectStreamClass.checkDeserialize(ObjectStreamClass.java:768)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1772)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)

              mfusco@redhat.com Mario Fusco
              pavlo_romanenko Pavlo Romanenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: