[rules-users] Drools as a Webservice

andy reliable.android at gmail.com
Thu Jan 24 21:19:39 EST 2013


Working on a Drools as a service project. 
Am facing a similar issue as you and was wondering if you figured out the
reason for the exception you were getting. 

Error: 
java.lang.NullPointerException 
        at
org.drools.util.CompositeClassLoader.getResourceAsStream(CompositeClassLoader.java:122)
... 

While trying to add a drl file to builder:
kbuilder.add(ResourceFactory.newClassPathResource("Sample.drl"),
ResourceType.DRL); 

Any tips or pointer will be very helpful. 

Thanks!



--
View this message in context: http://drools.46999.n3.nabble.com/Drools-as-a-Webservice-tp3950198p4021811.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list