| Summary: | Traits serialization broken | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Marek Winkler <mwinkler> | ||||
| Component: | BRE | Assignee: | Mario Fusco <mfusco> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Marek Winkler <mwinkler> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.0.0 | CC: | mfusco | ||||
| Target Milestone: | ER6 | 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:20:47 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: |
|
||||||
The reproducer test can be found at https://github.com/droolsjbpm/drools/pull/290. Verified on BRMS 6.0.0 ER6. |
Created attachment 828757 [details] Exception stacktrace Description of problem: When attempting to persist a KieSession containing a trait fact, the serialization fails with the following exception (see attachment for complete stack trace): java.lang.NoSuchFieldError: __$$field_Tms$$ at org.drools.persistence.kie.persistence.session.JpaPersistentStatefulSessionTest$DoorWrapper.writeExternal(Unknown Source) ~[na:na] at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1443) ~[na:1.7.0_09-icedtea] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1414) ~[na:1.7.0_09-icedtea] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) ~[na:1.7.0_09-icedtea] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346) ~[na:1.7.0_09-icedtea] at java.util.ArrayList.writeObject(ArrayList.java:710) ~[na:1.7.0_09-icedtea] Version-Release number of selected component (if applicable): Drools 6.0.0-SNAPSHOT BRMS 6.0.0 ER5 This issue was not present in ER4. How reproducible: Run the test org.drools.persistence.kie.persistence.session.JpaPersistentStatefulSessionTest#testTraitsSerialization from the pull request which will be attached shortly. Actual results: Transaction cannot be committed due to the serialization error. Expected results: Transaction is committed and the test passes.