Hi, I tried to run the drools-example-brms and I got the following error:
RuleAgent(insuranceconfig) INFO (Thu Aug 16 14:40:26 CDT 2007):
Configuring with newInstance=false, secondsToRefresh=30
RuleAgent(insuranceconfig) INFO (Thu Aug 16 14:40:26 CDT 2007):
Configuring package provider : URLScanner monitoring URLs:
http://localhost:8080/drools-jbrms/org.drools.brms.JBRMS/package/org.acme...
with local cache dir of
/home/.../jbossrules/drools-examples/drools-examples-brms/cache
RuleAgent(insuranceconfig) WARNING (Thu Aug 16 14:40:27 CDT 2007):
Falling back to local cache.
java.lang.NullPointerException
at org.drools.agent.FileScanner.readPackage(FileScanner.java:104)
at org.drools.agent.FileScanner.getChangeSet(FileScanner.java:79)
at org.drools.agent.FileScanner.loadPackageChanges(FileScanner.java:57)
at org.drools.agent.URLScanner.loadPackageChanges(URLScanner.java:93)
at org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:297)
at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:265)
at org.drools.agent.RuleAgent.configure(RuleAgent.java:251)
at org.drools.agent.RuleAgent.init(RuleAgent.java:183)
at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:192)
at
org.acme.insurance.launcher.InsuranceBusiness.loadRuleBase(InsuranceBusiness.java:26)
at
org.acme.insurance.launcher.InsuranceBusiness.executeExample(InsuranceBusiness.java:14)
at org.acme.insurance.launcher.MainClass.main(MainClass.java:13)
The JBoss Business Rules Management System are runing and with the
backup of the rules repository for the example imported.
The path in the brmsdeployedrules.properties for the localCacheDir was
changed to the path in my machine
(///home/.../jbossrules/drools-examples/drools-examples-brms/cache)
Regards
Xavier