2011/9/6 Swindells, Thomas <TSwindells@nds.com>

Are you sure that basicFlow.rf is in your classpath correctly?



The NPE does happen when the file is missing.

One can't test the returned org.drools.io.Resource object - an object is returned from
   ResourceFactory.newClassPathResource("no such filef")

So I think that either the ResourceFactory or the Builder should produce a decent error message. NPE is phooey.

-W