You are right, I upgraded jess and now it runs.
Thank you

Ernest Friedman-Hill wrote:
>
> What version of Jess are yo using? If it's not a current version
> (7.0p2 or 7.1b3) please upgrade and see if that fixes the problem.
> Otherwise, if you're using a current version, please send along a
> complete program that reproduces the error for you.
>
>
> On Jun 4, 2008, at 12:52 PM, carmen-unileon wrote:
>
>>
>> Hi, I have problems with a rule that has an "(not (and" , when I put
>> more
>> than 5 patterns inside I get this error:
>> Caused by: java.lang.ArrayIndexOutOfBoundsException: 6
>>
>> The rule is:
>> (defrule test
>> (activator)
>> (not
>>   (and
>>        (person ?name ?age)
>>        (address ?person ?address)
>>        (a a)
>>        (a a a)
>>        (x x x)
>>        (z z z)
>>   )
>> )
>> =>
>> (printout t "hola" crlf)
>> )
>>
>> Any suggestion?
>> Thank you in advance.
>> Regards
>>    Carmen
>> --
>> View this message in context:
>> http://www.nabble.com/is-limited-the-number-of-patterns-inside-an-%22%28not-%28and%22--tp17651353p17651353.html
>> Sent from the Jess mailing list archive at Nabble.com.
>>
>>
>>
>> --------------------------------------------------------------------
>> To unsubscribe, send the words 'unsubscribe jess-users
>> [EMAIL PROTECTED]'
>> in the BODY of a message to [EMAIL PROTECTED], NOT to the list
>> (use your own address!) List problems? Notify [EMAIL PROTECTED]
>> .
>> --------------------------------------------------------------------
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Informatics & Decision Sciences          Phone: (925) 294-2154
> Sandia National Labs                FAX:   (925) 294-2234
> PO Box 969, MS 9012                 [EMAIL PROTECTED]
> Livermore, CA 94550                 http://www.jessrules.com
>
>
>
>
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the list
> (use your own address!) List problems? Notify [EMAIL PROTECTED]
> --------------------------------------------------------------------
>
>
>

--
View this message in context: 
http://www.nabble.com/is-limited-the-number-of-patterns-inside-an-%22%28not-%28and%22--tp17651353p17652942.html
Sent from the Jess mailing list archive at Nabble.com.



--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to