Bug 1298579

Summary: NPE removing a rule that contains a subnetwork
Product: [Retired] JBoss BRMS Platform 6 Reporter: Anton Giertli <agiertli>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED EOL QA Contact: Tibor Zimanyi <tzimanyi>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: rzhang
Target Milestone: ER2   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:12:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
[0] reproducer none

Description Anton Giertli 2016-01-14 13:25:59 UTC
Created attachment 1114800 [details]
[0] reproducer

Description of problem:
BZ for corresponding JIRA DROOLS-1025

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

BRMS 6.2.0
Drools (6.4.0)
How reproducible:
always

Steps to Reproduce:

In order to reproduce issue, I suggest you to download PATCH binaries from
https://bugzilla.redhat.com/show_bug.cgi?id=1292828
Extract them to your file system, and then execute:


       $ mvn install:install-file -Dfile=drools-core-6.3.0.Final-redhat-5-BZ-1292828.jar -Dsources=drools-core-6.3.0.Final-redhat-5-BZ-1292828-sources.jar -DgroupId=org.drools -DartifactId=drools-core -Dversion=6.3.0.Final-redhat-5-BZ-1292828 -DpomFile=drools-core-6.3.0.Final-redhat-5-BZ-1292828.pom -Dpackaging=jar

       $ mvn install:install-file -Dfile=drools-compiler-6.3.0.Final-redhat-5-BZ-1292828.jar -Dsources=drools-compiler-6.3.0.Final-redhat-5-BZ-1292828-sources.jar -DgroupId=org.drools -DartifactId=drools-compiler -Dversion=6.3.0.Final-redhat-5-BZ-1292828 -DpomFile=drools-compiler-6.3.0.Final-redhat-5-BZ-1292828.pom -Dpackaging=jar
       
       $ mvn install:install-file -Dfile=drools-reteoo-6.3.0.Final-redhat-5-BZ-1292828.jar -Dsources=drools-reteoo-6.3.0.Final-redhat-5-BZ-1292828-sources.jar -DgroupId=org.drools -DartifactId=drools-reteoo -Dversion=6.3.0.Final-redhat-5-BZ-1292828 -DpomFile=drools-reteoo-6.3.0.Final-redhat-5-BZ-1292828.pom -Dpackaging=jar

However, it seems that the tests fails in a same fashion with 6.4.0-SNAPSHOT version too.

If I test this with "6.3.0.Final-redhat-5" version then only 1 test fails out of three, so it may be related directly to the changes made BZ-1292828
Actual results:

all JUnit test fails

Expected results:

none of the test fails

Additional info:

Comment 3 Mario Fusco 2016-03-09 17:54:28 UTC
Fixed by https://github.com/droolsjbpm/drools/commit/d1cdd567c

Comment 4 Marek Winkler 2016-03-18 14:54:00 UTC
Ryan, I cannot find the last commit (https://github.com/droolsjbpm/drools/commit/d1cdd567c) in ER1, could you please double check if it is really missing?

Thanks!

Comment 5 Ryan Zhang 2016-03-21 07:49:34 UTC
The cutting date is March 8, so you are correct that the second commit wasn't in the ER1 tag. 
My filter didn't work well for this case since there 2 "MODIFIED" date and the 2nd one didn't catch   ER1 tag.

Apology for all the inconvinience, Marek!
(Moving back to MODIFIED)

Comment 6 Marek Winkler 2016-03-21 09:16:10 UTC
Ryan, no problem at all, thanks for quick confirmation!

Comment 7 Tibor Zimanyi 2016-04-01 11:58:45 UTC
Verified by new tests from PRs and by running reproducer.