]
Kris Verlaenen resolved JBRULES-2724.
-------------------------------------
Assignee: Kris Verlaenen (was: Mark Proctor)
Fix Version/s: 5.2.0.M1
Resolution: Done
Applied patch
OOME on Marshalling (JPA), caused by infinite cycle on
OutputMarshaller.writeLeftTuple
--------------------------------------------------------------------------------------
Key: JBRULES-2724
URL:
https://jira.jboss.org/browse/JBRULES-2724
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-core (expert)
Affects Versions: 5.1.1.FINAL
Environment: OpenSuse Linux, java version "1.6.0_21"
Reporter: Dan Danciu
Assignee: Kris Verlaenen
Fix For: 5.2.0.M1
Attachments: OutputMarshaller-DanDanciu.patch
When trying to marshal my stateful session (spring configured) using JPA, the tests
failed with OutOfMemoryError.
After tracing the OOEM, I found the fault in a infinite loop in
org.drools.marshalling.impl.OutputMarshaller, method writeLeftTuple, for the cases:
NodeTypeEnums.NotNode, NodeTypeEnums.ForallNotNode and NodeTypeEnums.ExistsNode.
The problem was that childLeftTuple was not taken from childLeftTuple but from leftTuple,
causing the infinite loop.
Sorry, I cannot give you more info on how to reproduce the problem, for us it appears
only in an certain integration test, but I did create a patch, and our code works with it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: