[rules-users] Exception: Conversion to long not supported for type: class org.drools.examples.BilboAndTheDwarfs$DwarfShadowProxy

2008-01-18 Thread gnumpf2006-drools
Hi Mailinglist, as discussed with tirelli in irc chat yesterday, I am sending my code: I modified the golfer example with an other riddle. I wrote all given rules and when I run the code I get an Exception in thread main org.drools.RuntimeDroolsException: Conversion to long not supported for

Re: [rules-users] Exception: Conversion to long not supported for type: class org.drools.examples.BilboAndTheDwarfs$DwarfShadowProxy

2008-01-18 Thread Edson Tirelli
Oliver, In you Bilbo pattern you wrote: pos $Ori, pos is an int attribute, while $Ori is bound to a Dwarf object. It is not possible to convert one type into the other to make the comparison. []s Edson 2008/1/18, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi