Support Questions
Find answers, ask questions, and share your expertise

Latest NIFI Seems to have a bug in PutJMS

I see the following exception when running one of the online cookbooks for nifi and jms.

It is complaining about an invalid composite URI.. despite the fact that this is valid. [tcp://127.0.0.1:10000]

I am using the latest version of nifi: 1.7.1: 1.7.1

07/12/2018 12:54:43 EDT

Tagged nifi-1.7.1-RC1

2018-09-19 08:39:29,643 INFO [Flow Service Tasks Thread-1] o.a.nifi.controller.StandardFlowService Saved flow controller org.apache.nifi.controller.FlowController@f099b1c // Another save pending = false
2018-09-19 08:39:30,656 ERROR [Timer-Driven Process Thread-3] o.apache.nifi.processors.standard.PutJMS PutJMS[id=f1cb7c8c-0165-1000-b827-f5581fd61e1a] PutJMS[id=f1cb7c8c-0165-1000-b827-f5581fd61e1a] failed to process session due to java.lang.IllegalArgumentException: Attempting to initiate JMS with invalid composite URI [tcp://127.0.0.1:10000]; Processor Administratively Yielded for 1 sec: java.lang.IllegalArgumentException: Attempting to initiate JMS with invalid composite URI [tcp://127.0.0.1:10000]
java.lang.IllegalArgumentException: Attempting to initiate JMS with invalid composite URI [tcp://127.0.0.1:10000]
	at org.apache.nifi.processors.standard.util.JmsFactory.isSSL(JmsFactory.java:394)
	at org.apache.nifi.processors.standard.util.JmsFactory.createConnectionFactory(JmsFactory.java:370)
	at org.apache.nifi.processors.standard.util.JmsFactory.createConnection(JmsFactory.java:111)
	at org.apache.nifi.processors.standard.util.JmsFactory.createConnection(JmsFactory.java:104)
	at org.apache.nifi.processors.standard.util.JmsFactory.createMessageProducer(JmsFactory.java:317)
	at org.apache.nifi.processors.standard.PutJMS.onTrigger(PutJMS.java:175)
	at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
	at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1165)
	at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:203)
	at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:117)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)


0 REPLIES 0