I'm getting the following error when running a servlet, which doesn't alter
the program running. Has anyone else experienced this? Is it my code that's
wromg or is it really a bug as the error suggests??

regular output:
JSDK WebServer Version 2.1
Loaded configuration from file:C:\jdk1.2.2\jsdk2.1/default.cfg
endpoint created: :8080
com.sun.web.core.InvokerServlet: init
MyServlet: init

error:
A nonfatal internal JIT (3.10.107(x)) error 'Structured Exception(c0000005)'
has
 occurred in :
  'jess/Value.equals (Ljess/Value;)Z': Interpreting method.
  Please report this error in detail to
http://java.sun.com/cgi-bin/bugreport.cgi

It happens when the following code is invoked in the servlet, after
initialziation, and after 1 successful doGet (the 1st doGet() creates a rete
engine, resets it, and runs it all with no problem)

     else if ("debbie".equals(action)){

       //create a fact and assert it

       try{
       Fact f = new Fact("user", r);
       f.setSlotValue("name", new Value(action, RU.STRING));
       r.assert(f);
       }catch (JessException e){}

       try{
         //run jess
        r.executeCommand("(run)");
       }catch (JessException e){
         System.out.println("Error: cannot run #2!");
         }
      }

I do have a deftemplate for "user" in my .clp file

Many thanks.

Debbie Lampon



______________________________________________
public boolean junkmail=false;



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