Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2410

NPE during KieSession serialization

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    Description

      Description of problem:

      When KieSession is serialized, a NPE is thrown in org.drools.core.marshalling.impl.ProtobufOutputMarshaller.writeRIANodeMemory(ProtobufOutputMarshaller.java:377).

      Please see the attached stack trace for details.

      I am not sure what exactly causes the NPE to be thrown, it probably depends on using some user defined facts (if I removed them, the NPE did not occur).

      Please see the reproducer from the pull request which will be attached shortly.

      Version-Release number of selected component (if applicable):

      Drools 6.0.0-SNAPSHOT

      How reproducible:

      Please run JpaPersistentStatefulSessionTest#testMoreComplexRulesSerialization() test from the attached pull request.

      Attachments

        Activity

          People

            etirelli@redhat.com Edson Tirelli
            mwinkler@redhat.com Marek Winkler (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson
            Marek Winkler Marek Winkler (Inactive)
            Marek Winkler Marek Winkler (Inactive)
            Cheng Zhang (Inactive)

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty