[jboss-jira] [JBoss JIRA] Assigned: (JBRULES-523) JoinNode and NotNode with empty binder throw exception with getConstraints()

Ahti Kitsik (JIRA) jira-events at jboss.com
Tue Oct 17 17:44:41 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBRULES-523?page=all ]

Ahti Kitsik reassigned JBRULES-523:
-----------------------------------

    Assignee: Ahti Kitsik  (was: Mark Proctor)

> JoinNode and NotNode with empty binder throw exception with getConstraints()
> ----------------------------------------------------------------------------
>
>                 Key: JBRULES-523
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-523
>             Project: JBoss Rules
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Reteoo
>    Affects Versions: 3.1-m3
>            Reporter: Ahti Kitsik
>         Assigned To: Ahti Kitsik
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> Currently it is not possible to check if binder is null or not and getConstraints throws NPE if it is.
> Simple sanity check in getContraints would fix it (will be fixed in 3.0.x branch).
> Sample for reproducing
>         final JoinNode joinNode = new JoinNode( 1,
>                                                 this.tupleSource,
>                                                 this.objectSource, null);        
> joinNode.getConstraints(); // Throws NPE
>         final NotNode notNode = new NotNode( 1,
>                                                 this.tupleSource,
>                                                 this.objectSource, null);
> notNode.getConstraints(); // throws NPE

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list