[jboss-jira] [JBoss JIRA] (DROOLS-1051) KieScanner does not initialize if missing to locate a kjar dependency of test scope

Matteo Mortari (JIRA) issues at jboss.org
Wed Feb 3 12:40:00 EST 2016


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

Matteo Mortari updated DROOLS-1051:
-----------------------------------
    Attachment: reproducer-DROOLS-1051.zip


Reproducers

> KieScanner does not initialize if missing to locate a kjar dependency of test scope
> -----------------------------------------------------------------------------------
>
>                 Key: DROOLS-1051
>                 URL: https://issues.jboss.org/browse/DROOLS-1051
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 6.2.0.Final, 6.3.0.Final
>            Reporter: Matteo Mortari
>            Assignee: Mark Proctor
>            Priority: Minor
>         Attachments: reproducer-DROOLS-1051.zip
>
>
> I will attach PR for proposal of patch for {{KieRepositoryScannerImpl}}.
> I will attach reproducer code.
> Suppose a kjar has a _test_ scope dependency which may not be resolvable at runtime; the KieContainer will be created correctly (warning raised in log) but the initialization of the KieScanner fail with NPE.
> Expected behavior: also the KieScanner shall be able to initialize if the KieContainer is working correctly.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list