Bug 724801 (BRMS-641)

Summary: Supported one-off patch for BRMS-637
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Tihomir Surdilovic <tsurdilo>
Component: BRE (Expert, Fusion)Assignee: Tihomir Surdilovic <tsurdilo>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: high    
Version: 5.1.0 GACC: rwagner, tschloss
Target Milestone: ---   
Target Release: One Off Releases   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-641
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-22 12:26:27 UTC Type: Support Patch
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 724797    
Bug Blocks:    

Description Tihomir Surdilovic 2011-07-15 23:18:41 UTC
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000007p3Un&sfdc.override=1
Patch Instructions: PATCH NAME:
        JBPAPP-641
PRODUCT NAME:
        JBoss Enterprise BRMS Platform
VERSION:
        5.1
SHORT DESCRIPTION:
        NullPointerException in FromNode.destroyCreatedHandles
LONG DESCRIPTION:
        NullPointerException in FromNode.destroyCreatedHandles
MANUAL INSTALL INSTRUCTIONS:
        <TODO>
COMPATIBILITY:
        N/A
DEPENDENCIES:
        N/A
SUPERSEDES:
        N/A
SUPERSEDED BY:
        JBoss Enterprise BRMS 5.2
CREATOR:
        Tihomir Surdilovic
DATE:
        07-15-2011
SVN / CVS Isolated Branch: https://svn.jboss.org/repos/labs/labs/jbossrules/soa_branches/BRMS-5.1-GA_BRMS-641/
Support Case Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000007p3Un&sfdc.override=1
securitylevel_name: Public

The NullPointerException is being thrown when the rule executes "update($build);" where $build is set in the LHS from a Build in working memory.

Caused by: java.lang.NullPointerException
at org.drools.reteoo.FromNode.destroyCreatedHandles(FromNode.java:336)
at org.drools.reteoo.FromNode.retractLeftTuple(FromNode.java:326)
at org.drools.reteoo.CompositeLeftTupleSinkAdapter.doPropagateRetractLeftTuple(CompositeLeftTupleSinkAdapter.java:238)
at org.drools.reteoo.CompositeLeftTupleSinkAdapter.propagateRetractRightTuple(CompositeLeftTupleSinkAdapter.java:155)
at org.drools.reteoo.JoinNode.retractRightTuple(JoinNode.java:151)
at org.drools.reteoo.ModifyPreviousTuples.retractTuples(ModifyPreviousTuples.java:126)
at org.drools.reteoo.EntryPointNode.modifyObject(EntryPointNode.java:176)

Comment 1 Tihomir Surdilovic 2011-07-15 23:19:11 UTC
Link: Added: This issue is a dependency of BRMS-637


Comment 2 Tihomir Surdilovic 2011-07-15 23:49:53 UTC
Link: Removed: This issue is a dependency of BRMS-637 


Comment 3 Tihomir Surdilovic 2011-07-15 23:50:11 UTC
Link: Added: This issue depends BRMS-637


Comment 4 Alessandro Lazarotti 2011-07-15 23:52:12 UTC
Help Desk Ticket Reference: Added: https://c.na7.visual.force.com/apex/Case_View?id=500A0000007p3Un&sfdc.override=1
Patch Instructions: Added: PATCH NAME:
        JBPAPP-641
PRODUCT NAME:
        JBoss Enterprise BRMS Platform
VERSION:
        5.1
SHORT DESCRIPTION:
        NullPointerException in FromNode.destroyCreatedHandles
LONG DESCRIPTION:
        NullPointerException in FromNode.destroyCreatedHandles
MANUAL INSTALL INSTRUCTIONS:
        <TODO>
COMPATIBILITY:
        N/A
DEPENDENCIES:
        N/A
SUPERSEDES:
        N/A
SUPERSEDED BY:
        JBoss Enterprise BRMS 5.2
CREATOR:
        Tihomir Surdilovic
DATE:
        07-15-2011


Comment 5 Tihomir Surdilovic 2011-07-15 23:56:30 UTC
SVN / CVS Isolated Branch: Added: https://svn.jboss.org/repos/labs/labs/jbossrules/soa_branches/BRMS-5.1-GA_BRMS-641/


Comment 7 Rick Wagner 2011-07-19 15:20:51 UTC
Good observation, Tomas!  We agree, BRMS-599 appears to fix these symptoms.  We'll ask the customer to validate it fixes their scenario, and will close this issue if it's true.  Many thanks, this will save time for GSS, Engineering and of course QE!

Comment 8 Rick Wagner 2011-07-22 12:26:27 UTC

*** This bug has been marked as a duplicate of bug 724761 ***

Comment 9 Rick Wagner 2011-07-22 12:28:42 UTC
Closed this BZ, as the patch is not necessary.  (The fix made for JIRA BRMS-599 solved the problem.)

Additional notes about BZ, as this is the first 'live' BZ I've worked:
- The JIRA corresponding to this BZ (JIRA BRMS-641) was not entirely read-only.  It offered workflow buttons.
- BRMS-641 did not have a reference to this BZ.  Searching for the description turned this BZ up, though.