[jboss-jira] [JBoss JIRA] Created: (JBRULES-2724) OOME on Marshalling (JPA), caused by infinite cycle on OutputMarshaller.writeLeftTuple
Dan Danciu (JIRA)
jira-events at lists.jboss.org
Thu Oct 7 08:58:39 EDT 2010
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: Mark Proctor
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: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list