Bug 1298579 - NPE removing a rule that contains a subnetwork
Summary: NPE removing a rule that contains a subnetwork
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: 6.3.0
Assignee: Mario Fusco
QA Contact: Tibor Zimanyi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-14 13:25 UTC by Anton Giertli
Modified: 2020-03-27 19:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:12:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
[0] reproducer (9.73 KB, application/zip)
2016-01-14 13:25 UTC, Anton Giertli
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DROOLS-1025 0 Major Resolved NPE removing a rule that contains a subnetwork 2016-05-11 07:32:16 UTC

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.


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