Schema and Java Class do not match


Subject: Schema and Java Class do not match
wenbo_luo@btamail.net.cn
Date: Tue Jan 07 2003 - 08:17:47 MET


 Hi,Jaders
 I have been developing my project using JADE. I design and implement my ontology based on the tutorial of content languages and ontologies in the doc.

I do this step by step carefully, but when I run my project, it throw such exceptions shown in the following, I don't know what's wrong in my code? please to help me. thanks in advance.

BTW: I have searched the mailist archive and found a similar question to mine.
Unfortunately, it wasn't given an answer.

Regards
Luo Wenbo

jade.content.onto.OntologyException: Schema and Java class do not match [nested
message is: null]
        at jade.content.onto.ReflectiveIntrospector.externalise(Unknown Source)
        at jade.content.onto.Ontology.fromObject(Unknown Source)
        at jade.content.onto.Ontology.fromObject(Unknown Source)
        at jade.content.onto.Ontology.fromObject(Unknown Source)
        at jade.content.onto.ReflectiveIntrospector.externalise(Unknown Source)
        at jade.content.onto.Ontology.fromObject(Unknown Source)
        at jade.content.onto.Ontology.fromObject(Unknown Source)
        at jade.content.onto.Ontology.fromObject(Unknown Source)
        at jade.content.ContentManager.fillContent(Unknown Source)
        at luo.scm.supply.BidResponder.prepareResponse(BidResponder.java:44)
        at jade.proto.ContractNetResponder$1.action(Unknown Source)
        at jade.core.behaviours.Behaviour.actionWrapper(Unknown Source)
        at jade.core.behaviours.CompositeBehaviour.action(Unknown Source)
        at jade.core.behaviours.Behaviour.actionWrapper(Unknown Source)
        at jade.core.Agent.mainLoop(Unknown Source)
        at jade.core.Agent.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:536)
Nested Exception is:
java.lang.ClassCastException
        at jade.content.onto.ReflectiveIntrospector.externalise(Unknown Source)
        at jade.content.onto.Ontology.fromObject(Unknown Source)
        at jade.content.onto.Ontology.fromObject(Unknown Source)
        at jade.content.onto.Ontology.fromObject(Unknown Source)
        at jade.content.onto.ReflectiveIntrospector.externalise(Unknown Source)
        at jade.content.onto.Ontology.fromObject(Unknown Source)
        at jade.content.onto.Ontology.fromObject(Unknown Source)
        at jade.content.onto.Ontology.fromObject(Unknown Source)
        at jade.content.ContentManager.fillContent(Unknown Source)
        at luo.scm.supply.BidResponder.prepareResponse(BidResponder.java:44)
        at jade.proto.ContractNetResponder$1.action(Unknown Source)
        at jade.core.behaviours.Behaviour.actionWrapper(Unknown Source)
        at jade.core.behaviours.CompositeBehaviour.action(Unknown Source)
        at jade.core.behaviours.Behaviour.actionWrapper(Unknown Source)
        at jade.core.Agent.mainLoop(Unknown Source)
        at jade.core.Agent.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:536)

----------------------------------------------
欢迎使用 BTA 电子邮件系统 http://btamail.net.cn
Thank you for useing BTA Email system



This archive was generated by hypermail 2a22 : Tue Jan 07 2003 - 08:16:11 MET