[jboss-jira] [JBoss JIRA] Updated: (JBRULES-1508) NPE in MVELDataProvider

Jan Boboli (JIRA) jira-events at lists.jboss.org
Mon Mar 17 12:23:53 EDT 2008


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

Jan Boboli updated JBRULES-1508:
--------------------------------

    Attachment: MVELDataProvider.patch

> NPE in MVELDataProvider
> -----------------------
>
>                 Key: JBRULES-1508
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1508
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.0.0-M1, 4.0.5
>            Reporter: Jan Boboli
>         Assigned To: Mark Proctor
>            Priority: Critical
>             Fix For: 5.0.0-M1, 4.0.5
>
>         Attachments: MVELDataProvider.patch
>
>
> After fix for 1446 bug, NPE can occur if the result in getResults() method is null.
> NPE occurs on line :
> 63: else if ( result.getClass().isArray() ) {
> It occurs because you try to call getClass() on null object.  
> i created a patch for 4.0.x that solves the problem

-- 
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