Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
6.0.1
-
None
-
All All
Description
Description of problem:
KieRepositoryImpl.getInternalKieScanner swallows exceptions without printing an error. It is assumed that when the ScannerFactory cannot create a KieScanner, kie-ci is not on the classpath. While this may be the case, there could be other possibilities. In addition, there is not outward sign that anything bad occurred until the application fails to load a maven based kjar.
It would be useful if, at the very least, some log is printed saying the scanner couldn't be initialized with a portion of the exception.
Version-Release number of selected component (if applicable):
6.0.0+
How reproducible:
Consistent
Steps to Reproduce:
1. Attempt to utilize kie-ci functionality when kie-ci is not on the classpath
2. Everything works
3. Maven repo access silently fails
Actual results:
Maven repo access silently fails
Expected results:
An error in the log noting the exception and that there's a problem, or even a proper exception.
Additional info: