This NPE seems to be caused by the channel property to be null. I think the reason is that the endpoint has not been activated yet, which means that you try to send a JBI exchange before the activate() method has been called on the endpoint. You can only send exchanges between the call to start() and stop(). Could you please raise a JIRA ? I guess a meaningful exception would be welcome.
On 5/18/07, Benamin <[EMAIL PROTECTED]> wrote:
bsnyder wrote: > > On 5/17/07, Benamin <[EMAIL PROTECTED]> wrote: > >>> For some reason, I still get the null pointer exception when trying to >>> do >>> the sendSync. Is there anything else I can try.? I am reposting the >>> relevant code from the MyEndpoint class. > >> If it were me, I'd start debugging at this point by checking every >> variable to make sure it's populated. I'm reasonably certain that it's >> not a problem with ServiceMix, so some println()s or conditions with >> println()s should help you find the culprit. > >> If you can provide a tarball of the source for the project, I can help >> you locate the issue. I'll need the source so that I can hack the >> code, recompile and deploy for manual testing purposes. BTW, the >> tarball will have to sent directly to me because I suspect it will be >> large enough that the mailing list will discard it, so please let me >> know if you're going to send it. > > ok, I am going to attempt to send the code in a tarball. I'll post it on here. If I need to email it or something, just let me know. I'll be debugging tomorrow. Thanks for the help. http://www.nabble.com/file/8519/servmix-work.tar.gz servmix-work.tar.gz -- View this message in context: http://www.nabble.com/SE-that-continually-reads-and-sends-data-tf3764809s12049.html#a10676827 Sent from the ServiceMix - User mailing list archive at Nabble.com.
-- Cheers, Guillaume Nodet ------------------------ Principal Engineer, IONA Blog: http://gnodet.blogspot.com/
