<div><br></div>   Ouch, more than 255 fields? As of 5.4.x there is no workaround, the engine always tries to generate the constructor. <div><br></div><div>   Can you please open a JIRA and we will fix this for the next release?</div>
<div><br></div><div>   Thank you,</div><div>   Edson<br><br><div class="gmail_quote">On Fri, Sep 7, 2012 at 9:05 AM, JP Chemali <span dir="ltr">&lt;<a href="mailto:jshemali@hotmail.com" target="_blank">jshemali@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br>
<br>
I just stumbled into the same issue in 5.4.0.Final, I think this is caused<br>
by <a href="https://issues.jboss.org/browse/JBRULES-2652" target="_blank">https://issues.jboss.org/browse/JBRULES-2652</a><br>
When declaring a type, a constructor with all fields as parameters is<br>
generated automatically, but this causes in our case to hit a barrier of the<br>
Java language because the generated constructor has more than 255 parameters<br>
<br>
Anyone knows if this generation can be skipped (annotation or something<br>
else), maybe a safeguard not to generate the constructor when the limit is<br>
reached would be nice too?<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Guvnor-Declarative-Model-tp4019419p4019637.html" target="_blank">http://drools.46999.n3.nabble.com/Guvnor-Declarative-Model-tp4019419p4019637.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><br clear="all"><div><br></div>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>