[rules-users] Error is Java.lang.RuntimeException

Wolfgang Laun wolfgang.laun at gmail.com
Wed Aug 24 13:22:47 EDT 2011


For the conditions where a field is tested for equality with some value, the
field name alone is sufficient. So, use [age] rather than [age==]. For other
comparison operators, add the operator, and each value is appended, as
written in a cell below. For more complicated expressions, use an expression
containing $param but make sure to surround it with quotes if the field is
of type String.

-W


On 24 August 2011 17:02, FrankVhh <frank.vanhoenshoven at agserv.eu> wrote:

> Hi,
>
> Maybe you can put something like the following in the code:
>
> SpreadsheetCompiler xlsCompiler = new SpreadsheetCompiler();
> String drl =
>
> xlsCompiler.compile(ResourceFactory.newClassPathResource("Sample.xls").getInputStream(),InputType.XLS);
> System.out.println(drl);
>
> This should enable you to see the generated drl (Syntax not checked, also I
> am not entirely certain whether it always works)
>
> Otherwise, maybe you could post your .xls file. Together with your code, it
> shouldn't be to hard to replicate the error.
>
> Regards,
> Frank
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/rules-users-no-subject-tp3280773p3281195.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110824/27099d8b/attachment.html 


More information about the rules-users mailing list