[rules-users] BRMS and package issue

rhickson rhickson at alcatel-lucent.com
Mon Mar 31 17:28:06 EDT 2008


Hi everyone

Relatively new to BRMS and Drools.  Built and tested some packages using 
BRMS for a couple of
weeks, now having some problems loading the package in the last couple 
of days.  The error comes
up:

Does anyone have some information on this?

Any help is appreciated.

Thanks
Rich Hickson
rhickson at alcatel-lucent.com


RuleAgent(FlexRoute) INFO (Mon Mar 31 16:26:22 CDT 2008): Configuring 
with newInstance=true, secondsToRefresh=30
RuleAgent(FlexRoute) INFO (Mon Mar 31 16:26:22 CDT 2008): Configuring 
package provider : URLScanner monitoring URLs:  
http://localhost:8080/drools-jbrms/org.drools.brms.JBRMS/package/com.sample/FlexRoute 
with local cache dir of /home/visage/cache
RuleAgent(FlexRoute) INFO (Mon Mar 31 16:26:22 CDT 2008): Configuring 
package provider : DirectoryScanner scanning dir: /home/visage/brms-pkgs 
found 1 file(s).
RuleAgent(FlexRoute) INFO (Mon Mar 31 16:26:22 CDT 2008): Configuring 
package provider : FileScanner scanning:
RuleAgent(FlexRoute) WARNING (Mon Mar 31 16:26:22 CDT 2008): Was an 
error contacting 
http://localhost:8080/drools-jbrms/org.drools.brms.JBRMS/package/com.sample/FlexRoute. 
Reponse header: {}
RuleAgent(FlexRoute) WARNING (Mon Mar 31 16:26:22 CDT 2008): Falling 
back to local cache.
java.lang.NullPointerException
    at org.drools.agent.FileScanner.readPackage(FileScanner.java:121)
    at org.drools.agent.FileScanner.getChangeSet(FileScanner.java:79)
    at org.drools.agent.FileScanner.loadPackageChanges(FileScanner.java:57)
    at 
org.drools.agent.DirectoryScanner.loadPackageChanges(DirectoryScanner.java:43)
    at org.drools.agent.RuleAgent.checkForChanges(RuleAgent.java:330)
    at org.drools.agent.RuleAgent.refreshRuleBase(RuleAgent.java:298)
    at org.drools.agent.RuleAgent.configure(RuleAgent.java:284)
    at org.drools.agent.RuleAgent.init(RuleAgent.java:208)
    at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:176)
    at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:148)
    at org.drools.agent.RuleAgent.newRuleAgent(RuleAgent.java:216)
    at com.sample.DroolsTest.main(DroolsTest.java:29)




More information about the rules-users mailing list