]
Geoffrey De Smet updated DROOLS-2580:
-------------------------------------
Summary: KieScannerHolder throws an NullPointerException at non-kiecontainer drools
startup that is later catched somewhere. This is a pita for debugging (was:
KieScannerHolder throws an NullPointerException at normal drools startup that is later
catched somewhere. This is a pita for debugging)
KieScannerHolder throws an NullPointerException at non-kiecontainer
drools startup that is later catched somewhere. This is a pita for debugging
------------------------------------------------------------------------------------------------------------------------------------------------
Key: DROOLS-2580
URL:
https://issues.jboss.org/browse/DROOLS-2580
Project: Drools
Issue Type: Bug
Components: core engine
Reporter: Geoffrey De Smet
Assignee: Mario Fusco
Attachments: Selection_763.png
This method:
org.drools.compiler.kie.builder.impl.KieRepositoryImpl.KieScannerHolder#getInternalKieScanner
throws an NPE when starting an example in optaplanner-examples.
That NPE is then immediately caught by line 88 by the catch-all-exceptions, but meanwhile
it has stopped my debugger NPE breakpoint, which is pita. *Exceptions should not be used
for flow control.*