[jboss-jira] [JBoss JIRA] (DROOLS-212) java.lang.NullPointerException if the rule imports the wrong class
Mario Fusco (JIRA)
jira-events at lists.jboss.org
Wed Aug 7 12:13:26 EDT 2013
[ https://issues.jboss.org/browse/DROOLS-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco updated DROOLS-212:
-------------------------------
Priority: Minor (was: Major)
> 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
>
> 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