| Summary: | NPE during KieSession serialization | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Marek Winkler <mwinkler> | ||||
| Component: | BRE | Assignee: | Edson Tirelli <etirelli> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Marek Winkler <mwinkler> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.0.0 | CC: | rzhang | ||||
| Target Milestone: | ER3 | Keywords: | Regression | ||||
| Target Release: | 6.0.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-08-06 20:15:36 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Pull request with reproducer: https://github.com/droolsjbpm/drools/pull/239 Verified on BRMS 6.0.0.ER3. |
Created attachment 789255 [details] Exception stack trace 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.