Problem in starting with version 2.6 - no schema found


Subject: Problem in starting with version 2.6 - no schema found
From: Ignazio Pi (ignazio_io@hotmail.com)
Date: Mon Jul 22 2002 - 17:53:41 MET DST


Hi JADErs,
I tried to use JADE version 2.6 to run the agents I was using on 2.5, but
one of my agents does not start; the code that cause the exception is this:
public class ServiceAgentServiceDescription extends ServiceDescription{
  public ServiceAgentServiceDescription(String serviceName,String action){
    this.addLanguage(SL0Codec.NAME);
    this.addOntologies(DMeArchitectureOntology.NAME);
    Property myProp= new Property();
    myProp.setName("Action");
    myProp.setValue(action);
    this.addProperties(myProp);
    this.setName(serviceName);
    this.setType("DMeArchitectureService");
  }

  public ServiceAgentServiceDescription(Service s){
    this(s.getName(),s.getAction());
  }

}
and the exception is this:

jade.domain.FIPAException: Error encoding REQUEST content.
jade.content.onto.Ont
ologyException: No schema found for class
dme.agents.ServiceAgentServiceDescript
ion
        at jade.domain.DFService.register(DFService.java:138)
        at jade.domain.DFService.register(DFService.java:156)
        at dme.agents.ServiceAgent.setup(ServiceAgent.java:184)
        at jade.core.Agent.run(Agent.java:1495)
        at java.lang.Thread.run(Thread.java:536)

I think it's depending on the new features, but can't think how to manage
this. Is there an explanation in the docs?
Thanks in advance,
Ignazio



This archive was generated by hypermail 2a22 : Mon Jul 22 2002 - 17:50:57 MET DST