[jboss-jira] [JBoss JIRA] (DROOLS-193) KnowledgeBuilderResult does not always contain a Resource

Michael Anstis (JIRA) jira-events at lists.jboss.org
Thu Jul 18 09:42:26 EDT 2013


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

Michael Anstis commented on DROOLS-193:
---------------------------------------

org.drools.compiler.kie.builder.impl.MessageImpl's constructor that takes a KnowledgeBuilderResult parameter expects the KnowledgeBuilderResult to contain a non-null Resource (i.e. the resource added to KieBuilder that contains the error). This is not always the case. MessageImpl hacked to check for null; however the real fix is to ensure that KnowledgeBuilderResult always contains a non-null Resource reference. Unit Test made demonstrating (one of possible many different ways to replicate the error). See xxxx.
                
> KnowledgeBuilderResult does not always contain a Resource
> ---------------------------------------------------------
>
>                 Key: DROOLS-193
>                 URL: https://issues.jboss.org/browse/DROOLS-193
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Michael Anstis
>            Assignee: Mark Proctor
>


--
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