[jboss-jira] [JBoss JIRA] (DROOLS-212) java.lang.NullPointerException if the rule imports the wrong class
Alessandro Di Bella (JIRA)
jira-events at lists.jboss.org
Wed Aug 7 09:49:26 EDT 2013
Alessandro Di Bella created DROOLS-212:
------------------------------------------
Summary: 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: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: 6.0.0.CR1
Reporter: Alessandro Di Bella
Assignee: Mark Proctor
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
More information about the jboss-jira
mailing list