Bug 1093174 - NPE when there is a null value in a list used by a from element
Summary: NPE when there is a null value in a list used by a from element
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: BRE (Expert, Fusion)
Version: BRMS 5.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1080634
TreeView+ depends on / blocked
 
Reported: 2014-04-30 19:44 UTC by Alessandro Lazarotti
Modified: 2025-02-10 03:35 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:35:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DROOLS-71 0 Major Resolved NPE when there is a null value in a list used by a from element 2018-02-04 13:05:47 UTC

Description Alessandro Lazarotti 2014-04-30 19:44:41 UTC
Platform BZ for https://issues.jboss.org/browse/DROOLS-71

The following rule throws an NPE if the list contains a null item:

global java.util.List list

rule R
when
    $other : Integer( ) from list
then
end

Comment 1 Edson Tirelli 2014-04-30 19:58:49 UTC
Backported:

(5.3.x) http://github.com/droolsjbpm/drools/commit/8e9c18cc0

Comment 2 Marek Winkler 2014-07-17 15:03:31 UTC
Verified on 5.3.1.BRMS-P06.

Comment 5 Red Hat Bugzilla 2025-02-10 03:35:44 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


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