Subject: "A error occurred while parsing the incoming message. The message was lost"
From: David (amdawong@starhub.net.sg)
Date: Mon Jan 06 2003 - 07:02:04 MET
Hi Jaders,
I wrote some simple agents all hosted on the same machine. When I run
the agents without the sniffer, all works fine.
However, when I tried to look at their communication messages, the whole
system just fail. Exceptions were thrown as follows.
Can anyone advised me what is happening and why is that so ?
Regards
David
"A error occurred while parsing the incoming message. The message was
lost"
jade.lang.acl.TokenMgrError: Lexical error at line 3, column 51.
Encountered: "y" (121), after : "S"
at jade.lang.acl.ACLParserTokenManager.getNextToken(Unknown
Source)
at jade.lang.acl.ACLParser.jj_ntk(Unknown Source)
at jade.lang.acl.ACLParser.AgentIdentifier(Unknown Source)
at jade.lang.acl.ACLParser.MessageParameter(Unknown Source)
at jade.lang.acl.ACLParser.Message(Unknown Source)
at jade.lang.acl.ACLParser.parse(Unknown Source)
at jade.lang.acl.StringACLCodec.decode(Unknown Source)
at
jade.tools.sniffer.Sniffer$SniffListenerBehaviour.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:484)
jade.lang.acl.ACLCodec$CodecException: fipa.acl.rep.string.std
ACLMessage decoding token exception
at jade.lang.acl.StringACLCodec.decode(Unknown Source)
at
jade.tools.sniffer.Sniffer$SniffListenerBehaviour.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:484)
Hi Jaders,
I wrote some simple agents all hosted on the same machine.
When I run the agents without the sniffer, all works
fine.
However, when I tried to look at their communication
messages, the whole system just fail. Exceptions were thrown as follows.
Can anyone advised me what is happening and why is that so ?
Regards
“A error occurred while
parsing the incoming message. The message was lost”
jade.lang.acl.TokenMgrError: Lexical
error at line 3, column 51. Encountered:
"y" (121), after : "S"
at jade.lang.acl.ACLParserTokenManager.getNextToken(Unknown
Source)
at jade.lang.acl.ACLParser.jj_ntk(Unknown
Source)
at jade.lang.acl.ACLParser.AgentIdentifier(Unknown
Source)
at jade.lang.acl.ACLParser.MessageParameter(Unknown
Source)
at jade.lang.acl.ACLParser.Message(Unknown
Source)
at jade.lang.acl.ACLParser.parse(Unknown
Source)
at jade.lang.acl.StringACLCodec.decode(Unknown
Source)
at jade.tools.sniffer.Sniffer$SniffListenerBehaviour.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:484)
jade.lang.acl.ACLCodec$CodecException: fipa.acl.rep.string.std ACLMessage
decoding token exception
at jade.lang.acl.StringACLCodec.decode(Unknown
Source)
at jade.tools.sniffer.Sniffer$SniffListenerBehaviour.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:484)
This archive was generated by hypermail 2a22 : Mon Jan 06 2003 - 07:01:00 MET