padcom / grails-routing

Apache License 2.0
30 stars 31 forks source link

groovy.lang.MissingMethodException: No signature of method: #33

Closed jimternet closed 10 years ago

jimternet commented 11 years ago

Tried thsi a few different ways. :What gives?

grails> create-route FileRoute --stacktrace | Error Error running script create-route FileRoute --stacktrace: groovy.lang.MissingMethodException: No signature of method: CreateRoute.createArtifact() is applicable for argument types: () values: [](NOTE: Stack trace has been filtered. Use --verbose to see entire trace.) groovy.lang.MissingMethodException: No signature of method: CreateRoute.createArtifact() is applicable for argument types: () values: [] at CreateRoute$_run_closure1.doCall(CreateRoute:8) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1259) at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1259) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1259) at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90) at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1259) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1259) at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1259) at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1259) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1259) at gant.Gant$_dispatch_closure7.doCall(Gant.groovy) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1259) at gant.Gant.withBuildListeners(Gant.groovy:427) at gant.Gant.this$2$withBuildListeners(Gant.groovy) at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source) at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source) at gant.Gant.dispatch(Gant.groovy:415) at gant.Gant.this$2$dispatch(Gant.groovy) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1259) at gant.Gant.invokeMethod(Gant.groovy) at gant.Gant.executeTargets(Gant.groovy:591) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1259) at gant.Gant.executeTargets(Gant.groovy:590) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1259) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodInvoke(ReflectiveInterceptor.java:1259) | Error Error running script create-route FileRoute --stacktrace: groovy.lang.MissingMethodException: No signature of method: CreateRoute.createArtifact() is applicable for argument types: () values: [] grails>

zaregani commented 11 years ago

I get the same thing.

Some other postings on the web suggest that this may be because of a mismatched set of activemq jar files. I'm new enough to grails that I am having difficulty verifying/denying this theory.

I also get a wierd fail trying to post a message, which may also indicate a mismatched set of jars: code: pictureService.sendMessage("activemq:sleet.reconfigure", ["all"])

I am using activemq 0.4.1, routing 1.2.8, and routing-jms 1.2.0

Stacktrace: 23:01:19.637 ERROR o.c.g.g.w.c.GrailsContextLoader - Error initializing the application: Exception occurred during execution on the exchange: Exchange[Message: [all]] org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[Message: [all]] at org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1360) ~[camel-core-2.12.1.jar:2.12.1] at org.apache.camel.impl.DefaultExchange.setException(DefaultExchange.java:283) ~[camel-core-2.12.1.jar:2.12.1] at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:381) ~[camel-core-2.12.1.jar:2.12.1] at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:346) ~[camel-core-2.12.1.jar:2.12.1] at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:242) ~[camel-core-2.12.1.jar:2.12.1] at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:346) ~[camel-core-2.12.1.jar:2.12.1] at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:184) ~[camel-core-2.12.1.jar:2.12.1] at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:124) ~[camel-core-2.12.1.jar:2.12.1] at org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:137) ~[camel-core-2.12.1.jar:2.12.1] at org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:144) ~[camel-core-2.12.1.jar:2.12.1] at RoutingGrailsPlugin$_addDynamicMethods_closure7_closure14.doCall(RoutingGrailsPlugin.groovy:143) ~[plugin-classes/:na] at BootStrap$_closure1.doCall(BootStrap.groovy:219) ~[classes/:na] at grails.util.Environment.evaluateEnvironmentSpecificBlock(Environment.java:308) ~[grails-bootstrap-2.2.4.jar:2.2.4] at grails.util.Environment.executeForEnvironment(Environment.java:301) ~[grails-bootstrap-2.2.4.jar:2.2.4] at grails.util.Environment.executeForCurrentEnvironment(Environment.java:277) ~[grails-bootstrap-2.2.4.jar:2.2.4] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_15] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_15] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_15] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_15] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_15] Caused by: java.lang.NoSuchMethodError: org.apache.camel.util.ObjectHelper.notNull(Ljava/lang/Object;Ljava/lang/String;)V at org.apache.camel.component.jms.JmsBinding.makeJmsMessage(JmsBinding.java:283) ~[camel-jms-2.9.0.jar:2.9.0] at org.apache.camel.component.jms.JmsProducer$2.createMessage(JmsProducer.java:233) ~[camel-jms-2.9.0.jar:2.9.0] at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.doSendToDestination(JmsConfiguration.java:206) ~[camel-jms-2.9.0.jar:2.9.0] at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.access$100(JmsConfiguration.java:149) ~[camel-jms-2.9.0.jar:2.9.0] at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate$3.doInJms(JmsConfiguration.java:183) ~[camel-jms-2.9.0.jar:2.9.0] at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:180) ~[camel-jms-2.9.0.jar:2.9.0] at org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:355) ~[camel-jms-2.9.0.jar:2.9.0] at org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:311) ~[camel-jms-2.9.0.jar:2.9.0] at org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:109) ~[camel-jms-2.9.0.jar:2.9.0] at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191) ~[camel-core-2.12.1.jar:2.12.1] at org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:73) ~[camel-core-2.12.1.jar:2.12.1] at org.apache.camel.impl.ProducerCache$2.doInProducer(ProducerCache.java:378) ~[camel-core-2.12.1.jar:2.12.1] ... 17 common frames omitted

aaklilu commented 9 years ago

What's the solution here? am still getting the same issue on 1.3.2