I edited the log

-----Original Message-----
From: Asankha Perera [mailto:[email protected]] On Behalf Of
Asankha C. Perera
Sent: Tuesday, 10 March 2009 8:23 PM
To: [email protected]
Subject: Re: POJOCommand Fails


> 2009-03-10 17:17:23,068 [192.168.0.204-icsws-kh] [HttpServerWorker-1]
ERROR
> POJOCommandMediator Error invoking setter method named : setUsernam
> t takes a single String, int, long, float, double or boolean parameter
> java.lang.NullPointerException
>   
This log is really difficult to read since its truncated along the 
width. Please "attach" log files etc into the email in future, and 
truncate any unnecessary parts out of them if they are large, before 
being attached.

http://www.catb.org/~esr/faqs/smart-questions.html
"/However, do /not/ wrap data (such as log file dumps or session 
transcripts) at any fixed column width. Data should be included as-is, 
so respondents can have confidence that they are seeing what you saw./"

Also keep the emails easy to read and reply to, since this is not the 
bug tracking JIRA; but a mailing list read by a people who are 
contributing time voluntarily, and we prefer emails with a courteous 
human touch :-)
>     <pojoCommand name="net.icsglobal.thelma.synapse.testPOJO">
>       <property name="username" context-name="literal"
> action="ReadAndUpdateContext">Fred</property>
>     </pojoCommand>
>   
The context name expects you to provide the literal name of a variable 
(e.g. property set before along the sequence) or an XPath over the 
message payload. So context-name="literal" is wrong.

You are free to provide us with a patch to improve the current 
documentation, and even add some more samples so that it will help 
another who encounters the same issue. Open source projects thrive when 
you give something back for what you get for free.

cheers
asankha

-- 
Asankha C. Perera
AdroitLogic, http://adroitlogic.org

http://esbmagic.blogspot.com




Reply via email to