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

Edson Tirelli (JIRA) jira-events at lists.jboss.org
Tue Mar 18 13:27:51 EDT 2008


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

Edson Tirelli reassigned JBRULES-1508:
--------------------------------------

    Assignee: Edson Tirelli  (was: Mark Proctor)

> 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: 4.0.5, 5.0.0-M1
>            Reporter: Jan Boboli
>         Assigned To: Edson Tirelli
>            Priority: Critical
>             Fix For: 4.0.5, 5.0.0-M1
>
>         Attachments: MVELDataProvider.patch, TestProject.zip
>
>
> 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