[
https://issues.apache.org/jira/browse/NIFI-895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14715408#comment-14715408
]
ASF subversion and git services commented on NIFI-895:
------------------------------------------------------
Commit f34d73e73e2216c15e0a10df7092287df665a001 in nifi's branch
refs/heads/master from [~bbende]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=f34d73e ]
NIFI-895 ensuring the session factory is re-set in the onTrigger method in the
case where the runner needed to be stopped
> ExecuteFlumeSource producing a NullPointerException
> ---------------------------------------------------
>
> Key: NIFI-895
> URL: https://issues.apache.org/jira/browse/NIFI-895
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Bryan Bende
> Assignee: Bryan Bende
> Priority: Minor
> Fix For: 0.3.0
>
> Attachments: NIFI-895.patch
>
>
> When using ExecuteFlumeSource to wrap SyslogUDPSource, the following
> exception was repeatedly encountered after a few successful runs:
> {code}
> java.lang.NullPointerException: null
> at
> org.apache.nifi.processors.flume.NifiSessionFactoryChannel.createTransaction(NifiSessionFactoryChannel.java:43)
> ~[na:na]
> at
> org.apache.flume.channel.BasicChannelSemantics.getTransaction(BasicChannelSemantics.java:122)
> ~[na:na]
> at
> org.apache.flume.channel.ChannelProcessor.processEvent(ChannelProcessor.java:260)
> ~[na:na]
> at
> org.apache.flume.source.SyslogUDPSource$syslogHandler.messageReceived(SyslogUDPSource.java:82)
> ~[na:na]
> at
> org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
> ~[na:na]
> at
> org.jboss.netty.channel.socket.oio.OioDatagramWorker.process(OioDatagramWorker.java:52)
> ~[na:na]
> at
> org.jboss.netty.channel.socket.oio.AbstractOioWorker.run(AbstractOioWorker.java:73)
> ~[na:na]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [na:1.8.0_45]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [na:1.8.0_45]
> at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)