ReflectionUtils.doWithMethods() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
Javadoc
Thrown to indicate that a method has been passed an illegal or inappropriate argument. @author unascribed @since JDK1.0
at org.springframework.util.Assert.isNull
(source)
at org.springframework.integration.util.MessagingMethodInvokerHelper$HandlerMethod.setExclusiveTargetParameterType
(source)
at org.springframework.integration.util.MessagingMethodInvokerHelper$HandlerMethod.generateExpression
(source)
at org.springframework.integration.util.MessagingMethodInvokerHelper$HandlerMethod.<init>
(source)
at org.springframework.integration.util.MessagingMethodInvokerHelper$1.doWith
at org.springframework.util.ReflectionUtils.doWithMethods
(source)
5 frames hidden

Typical Exception Messages

  1. Found more than one parameter type candidate: [int] and [org.aopalliance.aop.Advice]
  2. Found more than one parameter type candidate: [java.lang.Class[]] and [java.lang.Object[]]
  3. Found more than one parameter type candidate: [org.springframework.aop.Advisor] and [org.springframework.aop.Advisor]

Origin

MessagingMethodInvokerHelper$HandlerMethod.generateExpression() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
2 frames hidden
org.springframework.integration.util.MessagingMethodInvokerHelper$HandlerMethod.generateExpression
8Web pages

Specific cases

External results for this pattern (6)

  1. Karen Christensonvia Spring JIRA3 weeks ago
    Found more than one parameter type candidate: [org.springframework.aop.Advisor] and [org.springframework.aop.Advisor]
    Show stack trace
  2. Johannes Smutnyvia Spring JIRA3 weeks ago
    Found more than one parameter type candidate: [java.lang.Class[]] and [java.lang.Object[]]
    Show stack trace
  3. Gary Russellvia Spring JIRA3 weeks ago
    Found more than one parameter type candidate: [int] and [org.aopalliance.aop.Advice]
    Show stack trace
  4. Gary Russellvia Spring JIRA2 years ago
    Found more than one parameter type candidate: [int] and [org.aopalliance.aop.Advice]
    Show stack trace
  5. Karen Christensonvia Spring JIRA2 years ago
    Found more than one parameter type candidate: [int] and [org.aopalliance.aop.Advice]
    Show stack trace
  6. Johannes Smutnyvia Spring JIRA2 years ago
    Found more than one parameter type candidate: [java.lang.Class[]] and [java.lang.Object[]]
    Show stack trace