Bug 1013197 - AfterEvaluator.evaluateCachedRight throws NPE on persisted Session reload (Phreak, Stream, PseudoClock)
Summary: AfterEvaluator.evaluateCachedRight throws NPE on persisted Session reload (Ph...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.0
Hardware: Unspecified
OS: Mac OS
urgent
high
Target Milestone: ER5
: 6.0.0
Assignee: Mario Fusco
QA Contact: Tomas David
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-28 08:53 UTC by Richard Bourner
Modified: 2014-08-06 20:19 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:19:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DROOLS-275 0 Major Resolved RuleEngine AfterEvaluator.evaluateCachedRight throws NPE on persisted Session reload (Phreak, Stream, PseudoClock) 2014-02-25 09:00:15 UTC

Description Richard Bourner 2013-09-28 08:53:41 UTC
Description of problem:
Information on community issue : https://issues.jboss.org/browse/DROOLS-275

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Mario Fusco 2013-10-03 07:40:53 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/fd644d3aa

Comment 3 JBoss JIRA Server 2013-10-03 07:41:26 UTC
Mario Fusco <mario.fusco> updated the status of jira DROOLS-275 to Resolved

Comment 4 JBoss JIRA Server 2013-10-03 13:27:24 UTC
Tanguy Leroux <tanguy.leroux> made a comment on jira DROOLS-275

Hi,

Just to let you know, we encountered the same issue on 6.0.0.Beta2: 

java.lang.NullPointerException
	at org.drools.core.base.evaluators.BeforeEvaluatorDefinition$BeforeEvaluator.evaluateCachedLeft(BeforeEvaluatorDefinition.java:318)
	at org.drools.core.rule.constraint.EvaluatorConstraint.isAllowedCachedLeft(EvaluatorConstraint.java:67)
	at org.drools.core.common.TripleBetaConstraints.isAllowedCachedLeft(TripleBetaConstraints.java:91)
	at org.drools.core.reteoo.AccumulateNode.assertLeftTuple(AccumulateNode.java:183)
	at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.doPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:243)
	at org.drools.core.reteoo.CompositeLeftTupleSinkAdapter.createAndPropagateAssertLeftTuple(CompositeLeftTupleSinkAdapter.java:125)
	at org.drools.core.reteoo.LeftInputAdapterNode.assertObject(LeftInputAdapterNode.java:230)
	at org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateAssertObject(CompositeObjectSinkAdapter.java:498)
	at org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:383)
	at org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateAssertObject(CompositeObjectSinkAdapter.java:365)
	at org.drools.core.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:296)
	at org.drools.core.reteoo.EntryPointNode.assertObject(EntryPointNode.java:265)
	at org.drools.core.marshalling.impl.ProtobufInputMarshaller.assertHandleIntoOTN(ProtobufInputMarshaller.java:469)
	at org.drools.core.marshalling.impl.ProtobufInputMarshaller.readFactHandles(ProtobufInputMarshaller.java:446)
	at org.drools.core.marshalling.impl.ProtobufInputMarshaller.readSession(ProtobufInputMarshaller.java:249)
	at org.drools.core.marshalling.impl.ProtobufInputMarshaller.readSession(ProtobufInputMarshaller.java:154)
	at org.drools.core.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:114)
	at org.drools.core.marshalling.impl.ProtobufMarshaller.unmarshall(ProtobufMarshaller.java:56)

Comment 5 Tomas David 2013-12-12 09:42:56 UTC
Verified on BRMS 6.0.0.ER5.


Note You need to log in before you can comment on or make changes to this bug.