[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2453) Marshalling issue with not rules
Jordi Alvarez (JIRA)
jira-events at lists.jboss.org
Thu Jul 28 04:38:25 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617214#comment-12617214 ]
Jordi Alvarez commented on JBRULES-2453:
----------------------------------------
Just for completeness:
This problem was not specific to not nodes but also to exist nodes.
We are using version 5.1.1. In our situation, the write of the rete tree state enters in a infinite loop whenever:
- An exists node is reached which is blocked and has a child.
In this situation an infinite loop occurs in method OutputMarshaller.writeInitialFactHandleLeftTuples when persisting the exists node.
The changes already applied to OutputMarshaller class in the current development version fixed the problem for our situation.
> Marshalling issue with not rules
> --------------------------------
>
> Key: JBRULES-2453
> URL: https://issues.jboss.org/browse/JBRULES-2453
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-core (expert)
> Affects Versions: 5.1.0.M1, 5.1.1.FINAL
> Reporter: Kris Verlaenen
> Assignee: Edson Tirelli
> Fix For: 5.3.0.Beta1
>
>
> Issue with OutputMarshaller in specific case of Not rules:
> java.lang.OutOfMemoryError: Java heap space
> at java.util.Arrays.copyOf(Arrays.java:2786)
> at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
> at
> java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1838)
> at
> java.io.ObjectOutputStream$BlockDataOutputStream.write(ObjectOutputStream.java:1769)
> at java.io.DataOutputStream.writeInt(DataOutputStream.java:182)
> at
> java.io.ObjectOutputStream$BlockDataOutputStream.writeInt(ObjectOutputStream.java:1904)
> at java.io.ObjectOutputStream.writeInt(ObjectOutputStream.java:769)
> at
> org.drools.marshalling.impl.OutputMarshaller.writeLeftTuple(OutputMarshaller.java:459)
> at
> org.drools.marshalling.impl.OutputMarshaller.writeInitialFactHandleLeftTuples(OutputMarshaller.java:356)
> at
> org.drools.marshalling.impl.OutputMarshaller.writeFactHandles(OutputMarshaller.java:251)
> at
> org.drools.marshalling.impl.OutputMarshaller.writeSession(OutputMarshaller.java:85)
> at
> org.drools.marshalling.impl.DefaultMarshaller.marshall(DefaultMarshaller.java:117)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list