groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.hasNext() is applicable for argument types: () values: [] Possible solutions: inspect(), asList(), last(), last(), set(int, java.lang.Object), set(int, java.lang.Object)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

You can also get this error if the objects you're passing to the method are out of order. In other words say your method takes, in order, a string, an integer, and a date. If you pass a date, then a string, then an integer you will get this error.

Solutions on the web

via MuleSoft JIRA by Damian Sima, 1 year ago
No signature of method: java.util.ArrayList.hasNext() is applicable for argument types: () values: [] Possible solutions: inspect(), asList(), last(), last(), set(int, java.lang.Object), set(int, java.lang.Object)
via MuleSoft JIRA by Damian Sima, 1 year ago
No signature of method: java.util.ArrayList.hasNext() is applicable for argument types: () values: [] Possible solutions: inspect(), asList(), last(), last(), set(int, java.lang.Object), set(int, java.lang.Object)
via GitHub by BenKaehler
, 1 year ago
No signature of method: java.lang.String.power() is applicable for argument types: (java.util.ArrayList) values: [[bpipe.DefinePipelineCategory$_plus_closure3@4686afc2]] Possible solutions: toSet(), toSet(), intern(), size(), size(), every()
via Google Groups by Makson Lee, 4 months ago
No signature of method: com.google.gerrit.server.api.accounts.AccountsImpl.get() is applicable for argument types: () values: [] Possible solutions: grep(), grep(java.lang.Object), getAt(java.lang.String), wait(), self(), any()
via GitHub by michschn
, 2 years ago
No signature of method: com.intellij.idea.IdeaLogger.addAll() is applicable for argument types: (java.util.ArrayList) values: [[liveplugin.implementation.Inspections$1@51dcd2ac, liveplugin.implementation.Inspections$1@51d05804]]Possible solutions: findAll(), findAll(groovy.lang.Closure)
via GitHub by jrock125
, 2 years ago
No signature of method: com.predic8.xml.util.BasicAuthenticationResolver.resolve() is applicable for argument types: (java.lang.String, java.lang.String) values: [...?wsdl, ...] Possible solutions: resolve(java.lang.Object)
groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.hasNext() is applicable for argument types: () values: [] Possible solutions: inspect(), asList(), last(), last(), set(int, java.lang.Object), set(int, java.lang.Object)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:58)
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:49)
at undefined.Script1.run(Script1.groovy:1)
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:323)
at javax.script.CompiledScript.eval(CompiledScript.java:92)
at org.mule.module.scripting.component.Scriptable.runScript(Scriptable.java:287)
at org.mule.expression.AbstractExpressionEvaluator.evaluateTyped(AbstractExpressionEvaluator.java:26)
at org.mule.expression.DefaultExpressionManager.evaluateTyped(DefaultExpressionManager.java:333)
at org.mule.expression.DefaultExpressionManager.evaluateTyped(DefaultExpressionManager.java:576)
at org.mule.enricher.MessageEnricher.enrich(MessageEnricher.java:85)
at org.mule.enricher.MessageEnricher$EnricherProcessor.processResponse(MessageEnricher.java:246)
at org.mule.processor.AbstractRequestResponseMessageProcessor.processBlocking(AbstractRequestResponseMessageProcessor.java:56)
at org.mule.enricher.MessageEnricher$EnricherProcessor.processBlocking(MessageEnricher.java:214)
at org.mule.processor.AbstractRequestResponseMessageProcessor.process(AbstractRequestResponseMessageProcessor.java:47)
at org.mule.enricher.MessageEnricher.process(MessageEnricher.java:71)
at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24)
at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:107)
at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44)
at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:88)
at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:59)
at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:24)
at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:44)
at org.mule.processor.BlockingProcessorExecutor.executeNext(BlockingProcessorExecutor.java:98)
at org.mule.processor.BlockingProcessorExecutor.execute(BlockingProcessorExecutor.java:59)
at org.mule.interceptor.AbstractEnvelopeInterceptor.processBlocking(AbstractEnvelopeInterceptor.java:58)
at org.mule.processor.AbstractRequestResponseMessageProcessor.process(AbstractRequestResponseMessageProcessor.java:47)
at org.mule.processor.AsyncInterceptingMessageProcessor.processNextTimed(AsyncInterceptingMessageProcessor.java:123)
at org.mule.processor.AsyncInterceptingMessageProcessor$AsyncMessageProcessorWorker$1.process(AsyncInterceptingMessageProcessor.java:208)
at org.mule.processor.AsyncInterceptingMessageProcessor$AsyncMessageProcessorWorker$1.process(AsyncInterceptingMessageProcessor.java:201)
at org.mule.execution.ExecuteCallbackInterceptor.execute(ExecuteCallbackInterceptor.java:16)
at org.mule.execution.CommitTransactionInterceptor.execute(CommitTransactionInterceptor.java:35)
at org.mule.execution.CommitTransactionInterceptor.execute(CommitTransactionInterceptor.java:22)
at org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:30)
at org.mule.execution.HandleExceptionInterceptor.execute(HandleExceptionInterceptor.java:14)
at org.mule.execution.BeginAndResolveTransactionInterceptor.execute(BeginAndResolveTransactionInterceptor.java:67)
at org.mule.execution.ResolvePreviousTransactionInterceptor.execute(ResolvePreviousTransactionInterceptor.java:44)
at org.mule.execution.SuspendXaTransactionInterceptor.execute(SuspendXaTransactionInterceptor.java:50)
at org.mule.execution.ValidateTransactionalStateInterceptor.execute(ValidateTransactionalStateInterceptor.java:40)
at org.mule.execution.IsolateCurrentTransactionInterceptor.execute(IsolateCurrentTransactionInterceptor.java:41)
at org.mule.execution.ExternalTransactionInterceptor.execute(ExternalTransactionInterceptor.java:48)
at org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:28)
at org.mule.execution.RethrowExceptionInterceptor.execute(RethrowExceptionInterceptor.java:13)
at org.mule.execution.TransactionalErrorHandlingExecutionTemplate.execute(TransactionalErrorHandlingExecutionTemplate.java:110)

Users with the same issue

Once, 1 month ago
Once, 1 month ago
Once, 4 months ago
Once, 6 months ago
Once, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.