[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2453) Marshalling issue with not rules

Uli Bubenheimer (JIRA) jira-events at lists.jboss.org
Tue Nov 16 13:53:45 EST 2010


    [ https://jira.jboss.org/browse/JBRULES-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563675#comment-12563675 ] 

Uli Bubenheimer commented on JBRULES-2453:
------------------------------------------

I second Rajeshram's comment: this is still broken in 5.1.1. I get the same error, and only when using "not" on the LHS. If I take out the condition with "not", things work fine.
I am able to reproduce this only when persisting state *before* calling fireAllRules. If I persist state afterwards I don't get an error.

> Marshalling issue with not rules
> --------------------------------
>
>                 Key: JBRULES-2453
>                 URL: https://jira.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
>            Reporter: Kris Verlaenen
>            Assignee: Edson Tirelli
>             Fix For: 5.1.0.CR1
>
>
> 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