I think [EMAIL PROTECTED] wrote:
> 
> Hello, Ernest!
> 
> I downloaded and installed Jess version 6.1p7. I even slightly hacked error message 
> code, but still can't find an error. I am using Protege2.1 and JessTab1.1. First I 
> map an ontology to Jess. After that I have in Jess a list of facts like this: 
> (MAIN::object (is-a.. and a corresponding deftemplate. I check this. After that I 
> try to load the rules and get the error message below. Also, all this staff was 
> tested in CLIPS and goes there fine. Can you somehow guess about a reason of a 
> problem on a stack trace and give some advices? Thank you very much in advance. 
> JessTab output:
> 

The error happens in a call the ValueVector.set(), but there are three
such calls in the routine given in the stack trace. I can't tell which
one it is because the line numbers don't match the released version of
Jess 6.1p7; it appears that you've modified at least the file
jess/Node1MTMF.java . Can you try this with an unmodified copy of
Jess, and if you still get an error, let's see that one, please.



> Jess, the Java Expert System Shell
> 
> Copyright (C) 2001 E.J. Friedman Hill and the Sandia Corporation
> 
> Jess Version 6.1p7 5/7/2004
> 
> 
> 
> Jess> (batch d:/Scenario/jess/clp/init.clp)
> _________ _________ ..
> 
> 
> 
> ?*OpenMapTab*=<External-Address:ru.igis.omtab.OpenMapTab>
> 
> ?*RuNA*=<External-Address:ru.igis.omtab.RuNA>
> 
> ?*types*=<External-Address:java.util.Hashtable>
> 
> Jess reported an error in routine ValueVector.set
>  while executing rule LHS (MTELN)
>  while executing rule LHS (TECT)
>  while executing (batch d:/Scenario/jess/clp/Create-Rules.clp)
>  while executing (batch d:/Scenario/jess/clp/init.clp).
>   Message: Bad index 51 of 51 in call to set() on this vector: (MAIN::object (is-a 
> _______-_______) (is-a-name "_______-_______") (OBJECT 
> <External-Address:edu.stanford.smi.protege.model.DefaultCls>) (________ ) (________ 
> ) (______ ) (____-__________ ) (_____-________ ) (_________-_____ ) (_______-____ ) 
> (________-_____ ) (________ ) (_________-____ ) (________ ) (________ ) (____ ) 
> (_______-________ ) (____ ) (________ ) (____ ) (______ ) (___ ) (_______ ) (___ ) 
> (______ ) (_______ ) (___2 ) (___1 ) (____________ ) (______ ) (_______ ) (_____ ) 
> (_____ ) (_________ ) (_____ ) (_________ ) (____ ) (____ ) (________ ) (________ ) 
> (____________ ) (:ROLE Concrete) (:DOCUMENTATION ) (:SLOT-CONSTRAINTS ) 
> (:DIRECT-INSTANCES 
> <External-Address:edu.stanford.smi.protege.model.DefaultSimpleInstance>) 
> (:DIRECT-SUPERCLASSES <External-Address:edu.stanford.smi.protege.model.DefaultCls>) 
> (:DIRECT-SUBCLASSES ) (:DIRECT-TEMPLATE-SLOTS 
> <External-Address:edu.stanford.smi.protege.model.DefaultSlot>) (:NAME "__________") 
> (:DIRECT-TYPE <External-Address:edu.stanford.smi.protege.model.DefaultCls>) 
> (_______-_______ "(if (____-__________ ?____) then 1 else 2)")).
>   Program text: ( batch d:/Scenario/jess/clp/init.clp )  at line 1.
> 
>  at jess.ValueVector.set(ValueVector.java:111)
> 
>  at jess.Node1MTMF.createModifiedFact(Node1MTMF.java:144)
> 
>  at jess.Node1MTMF.process(Node1MTMF.java:100)
> 
>  at jess.Node1MTMF.partition(Node1MTMF.java:66)
> 
>  at jess.Node1MTMF.callNodeRight(Node1MTMF.java:48)
> 
>  at jess.Node1.passAlong(Node1.java:60)
> 
>  at jess.Node1MTELN.callNodeRight(Node1MTELN.java:38)
> 
>  at jess.Node1.passAlong(Node1.java:60)
> 
>  at jess.Node1TECT.callNodeRight(Node1TECT.java:43)
> 
>  at jess.Rete.updateNodes(Rete.java:997)
> 
>  at jess.ReteCompiler.addRule(ReteCompiler.java:103)
> 
>  at jess.Rete.addDefrule(Rete.java:817)
> 
>  at jess.Jesp.addARule(Jesp.java:1012)
> 
>  at jess.Jesp.doParseDefrule(Jesp.java:968)
> 
>  at jess.Jesp.parseDefrule(Jesp.java:893)
> 
>  at jess.Jesp.parseSexp(Jesp.java:149)
> 
>  at jess.Jesp.parse(Jesp.java:69)
> 
>  at jess.Jesp.parse(Jesp.java:54)
> 
>  at jess.Batch.batch(Batch.java:43)
> 
>  at jess.Batch.call(Batch.java:57)
> 
>  at jess.FunctionHolder.call(FunctionHolder.java:30)
> 
>  at jess.Funcall.execute(Funcall.java:266)
> 
>  at jess.Jesp.parseAndExecuteFuncall(Jesp.java:1596)
> 
>  at jess.Jesp.parseSexp(Jesp.java:173)
> 
>  at jess.Jesp.parse(Jesp.java:69)
> 
>  at jess.Jesp.parse(Jesp.java:54)
> 
>  at jess.Batch.batch(Batch.java:43)
> 
>  at jess.Batch.call(Batch.java:57)
> 
>  at jess.FunctionHolder.call(FunctionHolder.java:30)
> 
>  at jess.Funcall.execute(Funcall.java:266)
> 
>  at jess.Jesp.parseAndExecuteFuncall(Jesp.java:1596)
> 
>  at jess.Jesp.parseSexp(Jesp.java:173)
> 
>  at jess.Jesp.parse(Jesp.java:69)
> 
>  at jess.Jesp.parse(Jesp.java:54)
> 
>  at jess.Main.execute(Main.java:126)
> 
>  at JessTab.JessTabEngine.run(Unknown Source)
> 
>  at java.lang.Thread.run(Unknown Source)
> 
> Jess> 
> Sincerely,
>      Ru
> 
> Ruslan P. Sorokin       [EMAIL PROTECTED]
> OOGIS RL                  http://niggis.iias.spb.su
> SPIIRAS                     http://www.spiiras.nw.ru
> St.Petersburg, Russia



---------------------------------------------------------
Ernest Friedman-Hill  
Science and Engineering PSEs        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov


--------------------------------------------------------------------
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