2011/9/6 Swindells, Thomas <[email protected]>

>  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
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to