<font size="1"><font size="2">Hi all,<br><br>I generate this drl from using these lines of code.<br><br></font></font><div style="margin-left: 160px;"><font style="color: rgb(255, 0, 0);" size="1"><font size="2">String drl = 
compiler.compile(getSpreadsheetStream(), InputType.XLS);</font></font><br style="color: rgb(255, 0, 0);"><font style="color: rgb(255, 0, 0);" size="1"><font size="2">builder.addPackageFromDrl(new StringReader(drl));</font>
</font><br style="color: rgb(255, 0, 0);"><font style="color: rgb(255, 0, 0);" size="1"><font size="2">Package pkg = builder.getPackage(); &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </font></font><br style="color: rgb(255, 0, 0);"><font style="color: rgb(255, 0, 0);" size="1">
<font size="2">RuleBase ruleBase = RuleBaseFactory.newRuleBase();</font></font><br></div><font size="1"><font size="2"><br></font></font><font size="1"><font size="2"> when I try to execute </font></font><font style="color: rgb(255, 0, 0);" size="1">
<font size="2">ruleBase.addPackage(pkg);</font></font><span style="color: rgb(255, 0, 0);"> <span style="color: rgb(0, 0, 0);">I get this error:<br></span></span><font size="1"><span style="color: rgb(0, 0, 153);">[9,50]: unknown:9:50 mismatched token
&#39;[@93,392:392=&#39;.&#39;,&lt;8&gt;,9:50]&#39; expecting set null[9,51]:
unknown:9:51 mismatched token &#39;[@94,393:393=&#39;.&#39;,&lt;8&gt;,9:51]&#39;
expecting set null[9,57]: unknown:9:57 mismatched token
&#39;[@97,399:399=&#39;)&#39;,&lt;12&gt;,9:57]&#39; expecting set null[32,16]:
unknown:32:16 mismatched token: [@207,787:787=&#39;2&#39;,&lt;25&gt;,32:16];
expecting type RIGHT_PAREN[42,16]: unknown:42:16 mismatched token:
[@274,1043:1043=&#39;1&#39;,&lt;25&gt;,42:16]; expecting type
RIGHT_PAREN[52,16]: unknown:52:16 mismatched token:
[@341,1308:1308=&#39;1&#39;,&lt;25&gt;,52:16]; expecting type
RIGHT_PAREN[53,16]: unknown:53:16 mismatched token:
[@378,1443:1443=&#39;1&#39;,&lt;25&gt;,53:16]; expecting type
RIGHT_PAREN[63,16]: unknown:63:16 mismatched token:
[@453,1682:1682=&#39;1&#39;,&lt;25&gt;,63:16]; expecting type
RIGHT_PAREN[64,16]: unknown:64:16 mismatched token:
[@490,1825:1825=&#39;1&#39;,&lt;25&gt;,64:16]; expecting type
RIGHT_PAREN[74,16]: unknown:74:16 mismatched token:
[@565,2066:2066=&#39;1&#39;,&lt;25&gt;,74:16]; expecting type
RIGHT_PAREN[75,16]: unknown:75:16 mismatched token:
[@602,2201:2201=&#39;1&#39;,&lt;25&gt;,75:16]; expecting type
RIGHT_PAREN[76,16]: unknown:76:16 mismatched token:
[@627,2278:2278=&#39;1&#39;,&lt;25&gt;,76:16]; expecting type
RIGHT_PAREN[86,16]: unknown:86:16 mismatched token:
[@702,2517:2517=&#39;1&#39;,&lt;25&gt;,86:16]; expecting type
RIGHT_PAREN[87,16]: unknown:87:16 mismatched token:
[@739,2660:2660=&#39;1&#39;,&lt;25&gt;,87:16]; expecting type
RIGHT_PAREN[88,16]: unknown:88:16 mismatched token:
[@760,2740:2740=&#39;1&#39;,&lt;25&gt;,88:16]; expecting type RIGHT_PAREN</span><br><br><font size="2">What is my fault???<br><br>Thanks<br>Raffo</font></font><br><font size="1"><br><span style="color: rgb(0, 0, 153);">package 
com.RuleEngine.ControlloreNodo;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">#generated from Decision Table</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">import 
com.RuleEngine.ControlloreNodo.OggettiControllo.Azione;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">import com.RuleEngine.ControlloreNodo.OggettiStato.StatoNodo;</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">import java.util.*;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">import java.lang.Integer;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
global Azione azione;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">global StatoNodo stato;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;function boolean variabiliInOR (String a,String ... args)
</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;{</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp; boolean risultato=false;</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">&nbsp; int sev=Integer.parseInt(a);</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp; for(String indName : args)</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
&nbsp; {</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; if(sev==stato.getSeverityIndicatore(indName))</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; {</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">&nbsp;&nbsp;&nbsp; azione.setIndicatore(indName);</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp;&nbsp; risultato=true;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
&nbsp;&nbsp; }</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp; }</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp; return risultato;</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">&nbsp;}</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;function void setAzione(String a)</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
&nbsp;{</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp; azione.setNomeAzione(a);</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;}</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">#From row number: 13</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">rule &quot;Controllo Stato_13&quot;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
&nbsp;&nbsp; &nbsp;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;salience 9</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;when</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;variabiliInOR(2,Throughput ass INVITE Pisa,Throughput der INVITE Pisa,Throughput ass INVITE Cagliari,Throughput der INVITE Cagliari)</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
&nbsp;&nbsp; &nbsp;then</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;setAzione(taglio INVITE da lista di SD)</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">end</span>
<br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">#From row number: 14</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">rule &quot;Controllo Stato_14&quot;
</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;salience 10</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
&nbsp;&nbsp; &nbsp;when</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;variabiliInOR(1,Throughput ass REGISTER Pisa,Throughput der REGISTER Pisa,Throughput ass REGISTER Cagliari,Throughput der REGISTER Cagliari)
</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;then</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;setAzione(taglio REGISTER da lista di SD)</span>
<br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">end</span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">#From row number: 15</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">rule &quot;Controllo Stato_15&quot;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
&nbsp;&nbsp; &nbsp;salience 5</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;when</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;variabiliInOR(1,Throughput ass INVITE Pisa,Throughput der INVITE Pisa,Throughput ass INVITE Cagliari,Throughput der INVITE Cagliari)
</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;variabiliInOR(1,CPU RS1,CPU RS2,CPU RS3,CPU RS4,CPU RS5,memoria RS1,memoria RS2,memoria RS3,memoria RS4,memoria RS5)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;then</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;setAzione(taglio INVITE da lista di SD)</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
end</span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">#From row number: 16</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">rule &quot;Controllo Stato_16&quot;
</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;salience 6</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
&nbsp;&nbsp; &nbsp;when</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;variabiliInOR(1,Throughput ass REGISTER Pisa,Throughput der REGISTER Pisa,Throughput ass REGISTER Cagliari,Throughput der REGISTER Cagliari)
</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;variabiliInOR(1,CPU RS1,CPU RS2,CPU RS3,CPU RS4,CPU RS5,memoria RS1,memoria RS2,memoria RS3,memoria RS4,memoria RS5)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;then</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;setAzione(taglio REGISTER da lista di SD)</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
end</span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">#From row number: 17</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">rule &quot;Controllo Stato_17&quot;
</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;salience 7</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
&nbsp;&nbsp; &nbsp;when</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;variabiliInOR(1,Throughput ass INVITE Pisa,Throughput der INVITE Pisa,Throughput ass INVITE Cagliari,Throughput der INVITE Cagliari)
</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;variabiliInOR(1,Tempi Risp ass INVITE Pisa,Tempi Risp ass INVITE Cagliari)</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;variabiliInOR(1,CPU RS1,CPU RS2,CPU RS3,CPU RS4,CPU RS5,memoria RS1,memoria RS2,memoria RS3,memoria RS4,memoria RS5)</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;then</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;setAzione(taglio INVITE da lista di SD)</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">end</span><br style="color: rgb(0, 0, 153);"><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">#From row number: 18</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">rule &quot;Controllo Stato_18&quot;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">
&nbsp;&nbsp; &nbsp;</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;salience 8</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;when</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;variabiliInOR(1,Throughput ass REGISTER Pisa,Throughput der REGISTER Pisa,Throughput ass REGISTER Cagliari,Throughput der REGISTER Cagliari)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;variabiliInOR(1,THRIn-THROut REGISTER&nbsp;&nbsp; Pisa,THRIn-THROut REGISTER&nbsp; Cagliari)</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;variabiliInOR(1,CPU RS1,CPU RS2,CPU RS3,CPU RS4,CPU RS5,memoria RS1,memoria RS2,memoria RS3,memoria RS4,memoria RS5)
</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;then</span><br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;setAzione(taglio REGISTER da lista di SD)</span>
<br style="color: rgb(0, 0, 153);"><span style="color: rgb(0, 0, 153);">end</span><br></font>