Hello,<br><br>Suppose I have a drl file(s) that defines a rules package. I have loaded this into the rule base. At runtime however, my user may change the file(s) that defines the package. Do I need to call RuleBase.removePackage
() before adding the newly modified drl code? Or will the rule base automatically update all the modified rules correctly?<br><br>When I call removePackage, I get the following exception, but I&#39;m not sure why...<br><br>
Warning: An error occurred compiling a semantic invoker. Errors should have been reported elsewhere.<br>Exception in thread &quot;main&quot; java.lang.NullPointerException<br>&nbsp;&nbsp;&nbsp; at org.drools.reteoo.ReteooBuilder.removeRule
(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at org.drools.reteoo.ReteooRuleBase.removeRule(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at org.drools.common.AbstractRuleBase.removePackage(Unknown Source)<br>&nbsp;&nbsp;&nbsp; at com.vsasset.rules.dynamic.RemovePkgTestCase.replaceRuleFile
(RemovePkgTestCase.java:58)<br>&nbsp;&nbsp;&nbsp; at com.vsasset.rules.dynamic.RemovePkgTestCase.testLoad1AssertLoad2(RemovePkgTestCase.java:38)<br>&nbsp;&nbsp;&nbsp; at com.vsasset.rules.dynamic.RemovePkgTestCase.main(RemovePkgTestCase.java:23)<br>&nbsp;&nbsp;&nbsp; at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>&nbsp;&nbsp;&nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br>&nbsp;&nbsp;&nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)<br>&nbsp;&nbsp;&nbsp; at java.lang.reflect.Method.invoke(Method.java:585)<br>&nbsp;&nbsp;&nbsp; at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)<br><br>Process finished with exit code 1<br><br><br>Thanks!<br>Justine<br><br><br>