I'm getting errors like this in my application:

[2009-12-01 05:53:21,813][WARN][Thread: 2
org.apache.camel.component.file.filecompon...@62681b][camel.impl.scheduledpollconsumer(ScheduledPollConsumer)-run(68)]:
An exception occured while polling:
Endpoint[file:data/input?consumer.recursive=false&lock=true&consumer.exclusiveReadLock=true&noop=true]:
null
java.lang.NullPointerException

Unfortunately, there is no stack trace, and by the time I noticed there was
a problem my logs had rolled over so I don't know what my app was doing when
this started.  I know this isn't much to go on, but does anyone have any
suggestions for what might cause this?

I am using Camel 1.6.2-SNAPSHOT, build #194.  My endpoint looks like:
<endpoint id="input_dir_endpoint"
uri="file:data/input?consumer.recursive=false&amp;lock=true&amp;consumer.exclusive
ReadLock=true&amp;noop=true" />
...
<route>
   <from ref="input_dir_endpoint"/>
   <to uri="bean:filemonitor?method=process"/>
</route>

Thanks,
eric
-- 
View this message in context: 
http://old.nabble.com/NullPointerException-in-FileComponent-tp26594231p26594231.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to