[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:28:26 EDT 2013


     [ https://issues.jboss.org/browse/DROOLS-212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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


More information about the jboss-jira mailing list