]
Jan Boboli updated JBRULES-1508:
--------------------------------
Attachment: TestProject.zip
Eclipse project that reproduces the problem
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, 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: