[jboss-jira] [JBoss JIRA] (DROOLS-543) Invalid type declaration in DRL throws a NullPointerException instead of the real error

Esteban Aliverti (JIRA) issues at jboss.org
Thu Jul 3 14:47:24 EDT 2014


    [ https://issues.jboss.org/browse/DROOLS-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982152#comment-12982152 ] 

Esteban Aliverti commented on DROOLS-543:
-----------------------------------------

Added test case and simple solution: https://github.com/droolsjbpm/drools/pull/352

> Invalid type declaration in DRL throws a NullPointerException instead of the real error
> ---------------------------------------------------------------------------------------
>
>                 Key: DROOLS-543
>                 URL: https://issues.jboss.org/browse/DROOLS-543
>             Project: Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 6.2.0.CR1
>            Reporter: Esteban Aliverti
>            Assignee: Mark Proctor
>            Priority: Minor
>
> When a declared type has compilation errors, kbuilder continues with the compilation of the rules. Under certain scenarios this causes a confusing NPE.   



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list