[jboss-jira] [JBoss JIRA] Created: (JBRULES-2216) Drools call failed with CassCastException when the loca cache is turned on

Sean Han (JIRA) jira-events at lists.jboss.org
Wed Jul 22 16:53:29 EDT 2009


Drools call failed with CassCastException when the loca cache is turned on
--------------------------------------------------------------------------

                 Key: JBRULES-2216
                 URL: https://jira.jboss.org/jira/browse/JBRULES-2216
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 5.0.0.CR1
            Reporter: Sean Han
            Assignee: Mark Proctor


When the local cache is turned on, Drools call failed with the following exception:

java.lang.ClassCastException: org.drools.reteoo.BetaMemory cannot be cast to org.drools.reteoo.FromNode$FromMemory
	at org.drools.reteoo.FromNode.assertLeftTuple(FromNode.java:93)
	at org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:145)
	at org.drools.reteoo.CompositeLeftTupleSinkAdapter.createAndPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:57)
	at org.drools.reteoo.LeftInputAdapterNode.assertObject(LeftInputAdapterNode.java:142)
	at org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:42)
	at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:184)
	at org.drools.reteoo.EntryPointNode.assertObject(EntryPointNode.java:146)
	at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:1066)
	at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:1022)
	at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:810)

Steps to reproduce:
   1. Turn on the local cache 
   2. Start the application using Drools
   3. Shut down Drools Guvnor
   4. Wait the poll period for Rule Agent
   5. Run the application with Drools rules
       You will see the exception.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list