Seeing a NoSuchElementException when using a ftp reference binding on EAP 6.3.0.Beta + SY. Attaching a test case app.
TO REPRODUCE : tar zxvf example.tar.gz cd switchyard-example Edit src/main/resources/META-INF/switchyard.xml mvn clean install deploy the app Edit /tmp/foo/boo, add some data Stack should reproduce
16:09:07,749 WARN [org.apache.camel.management.DefaultManagementLifecycleStrategy] (Camel (camel-1) thread #1 - file:///tmp/foo) Could not register Component MBean: java.util.NoSuchElementException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:929) [rt.jar:1.7.0_45] at java.util.HashMap$KeyIterator.next(HashMap.java:960) [rt.jar:1.7.0_45] at org.jboss.as.jmx.PluggableMBeanServerImpl$LogAction.getCallerUserId(PluggableMBeanServerImpl.java:1249) at org.jboss.as.jmx.PluggableMBeanServerImpl$LogAction.doLog(PluggableMBeanServerImpl.java:1232) at org.jboss.as.jmx.PluggableMBeanServerImpl.log(PluggableMBeanServerImpl.java:1157) at org.jboss.as.jmx.MBeanServerAuditLogRecordFormatter.log(MBeanServerAuditLogRecordFormatter.java:330) at org.jboss.as.jmx.MBeanServerAuditLogRecordFormatter.isRegistered(MBeanServerAuditLogRecordFormatter.java:175) at org.jboss.as.jmx.PluggableMBeanServerImpl.isRegistered(PluggableMBeanServerImpl.java:797) at org.apache.camel.management.DefaultManagementAgent.isRegistered(DefaultManagementAgent.java:263) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.management.DefaultManagementAgent.registerMBeanWithServer(DefaultManagementAgent.java:328) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.management.DefaultManagementAgent.register(DefaultManagementAgent.java:238) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.management.DefaultManagementAgent.register(DefaultManagementAgent.java:233) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.management.ManagedManagementStrategy.manageNamedObject(ManagedManagementStrategy.java:77) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.management.ManagedManagementStrategy.manageObject(ManagedManagementStrategy.java:70) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.management.DefaultManagementLifecycleStrategy.manageObject(DefaultManagementLifecycleStrategy.java:805) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.management.DefaultManagementLifecycleStrategy.onComponentAdd(DefaultManagementLifecycleStrategy.java:285) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.DefaultCamelContext.addComponent(DefaultCamelContext.java:323) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:349) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:334) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:498) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.DefaultProducerTemplate.resolveMandatoryEndpoint(DefaultProducerTemplate.java:449) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:109) [camel-core-2.12.2.jar:2.12.2] at org.switchyard.component.camel.common.handler.OutboundHandler.handleInOnly(OutboundHandler.java:157) [switchyard-component-common-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.component.camel.common.handler.OutboundHandler.handleMessage(OutboundHandler.java:145) [switchyard-component-common-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.handlers.ProviderHandler.handleMessage(ProviderHandler.java:77) [switchyard-runtime-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.bus.camel.processors.HandlerProcessor.process(HandlerProcessor.java:61) [switchyard-bus-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.apache.camel.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:63) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) [camel-core-2.12.2.jar:2.12.2] at org.switchyard.bus.camel.audit.FaultProcessor.process(FaultProcessor.java:45) [switchyard-bus-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.Pipeline.process(Pipeline.java:118) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.Pipeline.process(Pipeline.java:80) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.TryProcessor.process(TryProcessor.java:109) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.TryProcessor.process(TryProcessor.java:81) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) [camel-core-2.12.2.jar:2.12.2] at org.switchyard.bus.camel.audit.FaultProcessor.process(FaultProcessor.java:45) [switchyard-bus-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:51) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:73) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:378) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:346) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:242) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:346) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:168) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:119) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:105) [camel-core-2.12.2.jar:2.12.2] at org.switchyard.bus.camel.ExchangeDispatcher.dispatch(ExchangeDispatcher.java:87) [switchyard-bus-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.bus.camel.CamelExchange.sendInternal(CamelExchange.java:238) [switchyard-bus-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.bus.camel.CamelExchange.send(CamelExchange.java:175) [switchyard-bus-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.component.camel.switchyard.SwitchYardProducer.process(SwitchYardProducer.java:110) [switchyard-component-camel-switchyard-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:110) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.Pipeline.process(Pipeline.java:118) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.Pipeline.process(Pipeline.java:80) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:105) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:87) [camel-core-2.12.2.jar:2.12.2] at org.switchyard.component.camel.switchyard.SwitchYardConsumer.invokeCamelProcessor(SwitchYardConsumer.java:182) [switchyard-component-camel-switchyard-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.component.camel.switchyard.SwitchYardConsumer.handleMessage(SwitchYardConsumer.java:96) [switchyard-component-camel-switchyard-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.handlers.ProviderHandler$1.run(ProviderHandler.java:60) [switchyard-runtime-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.handlers.ProviderHandler$1.run(ProviderHandler.java:58) [switchyard-runtime-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_45] at javax.security.auth.Subject.doAsPrivileged(Subject.java:536) [rt.jar:1.7.0_45] at org.switchyard.security.provider.DefaultSecurityProvider.runAs(DefaultSecurityProvider.java:169) [switchyard-security-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.handlers.ProviderHandler.handleMessage(ProviderHandler.java:65) [switchyard-runtime-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.bus.camel.processors.HandlerProcessor.process(HandlerProcessor.java:61) [switchyard-bus-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.apache.camel.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:63) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) [camel-core-2.12.2.jar:2.12.2] at org.switchyard.bus.camel.audit.FaultProcessor.process(FaultProcessor.java:45) [switchyard-bus-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.Pipeline.process(Pipeline.java:118) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.Pipeline.process(Pipeline.java:80) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.TryProcessor.process(TryProcessor.java:109) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.TryProcessor.process(TryProcessor.java:81) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) [camel-core-2.12.2.jar:2.12.2] at org.switchyard.bus.camel.audit.FaultProcessor.process(FaultProcessor.java:45) [switchyard-bus-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:91) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:51) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:73) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:378) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:346) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:242) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:346) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:168) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:119) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:105) [camel-core-2.12.2.jar:2.12.2] at org.switchyard.bus.camel.ExchangeDispatcher.dispatch(ExchangeDispatcher.java:87) [switchyard-bus-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.bus.camel.CamelExchange.sendInternal(CamelExchange.java:238) [switchyard-bus-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.bus.camel.CamelExchange.send(CamelExchange.java:175) [switchyard-bus-camel-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.switchyard.component.camel.switchyard.SwitchYardProducer.process(SwitchYardProducer.java:110) [switchyard-component-camel-switchyard-2.0.0-SNAPSHOT.jar:2.0.0-SNAPSHOT] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:110) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.Pipeline.process(Pipeline.java:118) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.Pipeline.process(Pipeline.java:80) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.component.file.GenericFileConsumer.processExchange(GenericFileConsumer.java:401) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.component.file.GenericFileConsumer.processBatch(GenericFileConsumer.java:201) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.component.file.GenericFileConsumer.poll(GenericFileConsumer.java:165) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:187) [camel-core-2.12.2.jar:2.12.2] at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:114) [camel-core-2.12.2.jar:2.12.2] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_45] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [rt.jar:1.7.0_45] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [rt.jar:1.7.0_45] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45] at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
|