[
https://issues.jboss.org/browse/DROOLS-212?page=com.atlassian.jira.plugin...
]
Mario Fusco resolved DROOLS-212.
--------------------------------
Fix Version/s: 5.5.1.Final
6.0.0.CR2
Resolution: Done
java.lang.NullPointerException if the rule imports the wrong class
------------------------------------------------------------------
Key: DROOLS-212
URL:
https://issues.jboss.org/browse/DROOLS-212
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 6.0.0.CR1
Reporter: Alessandro Di Bella
Assignee: Mario Fusco
Priority: Minor
Fix For: 5.5.1.Final, 6.0.0.CR2
Method org.drools.compiler.rule.builder.dialect.mvel.addStaticPackageImport checks if the
imported class can be loaded from the class loader (line 442) but line 444 calls
cls.getDeclaredMethods() even if cls is null.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira