There&#39;s a builder option to define a directory for storing the generated DRL: see DumpDirOption in org.drools.builder.conf<br><br>What about showing us the template file and the xls?<br><br>-w<br><br><div class="gmail_quote">
On 29 October 2012 21:05, lhorton <span dir="ltr">&lt;<a href="mailto:LHorton@abclegal.com" target="_blank">LHorton@abclegal.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I haven&#39;t worked with Templates, but I have seen this type of error when<br>
compiling XLS to DRL.  The line and column numbers refer to the generated<br>
DRL.  For spreadsheet debugging, I use code like this:<br>
<br>
   DecisionTableConfiguration dtconf =<br>
KnowledgeBuilderFactory.newDecisionTableConfiguration();<br>
   dtconf.setInputType(DecisionTableInputType.XLS);<br>
   String drlString =<br>
DecisionTableFactory.loadFromInputStream(ResourceFactory.newFileResource(path).getInputStream(),<br>
dtconf);<br>
<br>
and then look at the generated drlString at the line number cited in the<br>
exception, to find the offending rule.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/rules-users-errors-compiling-resources-returns-a-null-package-tp4020530p4020540.html" target="_blank">http://drools.46999.n3.nabble.com/rules-users-errors-compiling-resources-returns-a-null-package-tp4020530p4020540.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br>