-
Bug
-
Resolution: Done
-
Major
-
None
-
7.45.0.Final, 7.66.0.Final
-
None
-
2022 Week 08-10 (from Feb 21)
-
-
NEW
-
NEW
To speed-up the startup of my drools-based application, I precompile rules during the build and serialize the resulting KieBase; then, at startup, I simply deserialize this ready-made KieBase. This trick works fine up to version 7.44.0.Final but I get a NPE in org.drools.core.rule.EvalCondition.createContext() with more recent versions (not always: it depends on given rules). Of course I have no exception if I execute the same rules with a "fresh" KieBase.
I attach here a minimal test that reproduces the issue (an excerpt from my application source code)