GenericConversionService.convert() has thrown a ConversionFailedException

java.lang.IllegalArgumentException
Javadoc
Thrown to indicate that a method has been passed an illegal or inappropriate argument. @author unascribed @since JDK1.0
at java.lang.Enum.valueOf
(source)
at org.springframework.core.convert.support.StringToEnumConverterFactory$StringToEnum.convert
(source)
at org.springframework.core.convert.support.StringToEnumConverterFactory$StringToEnum.convert
(source)
at org.springframework.core.convert.support.GenericConversionService$ConverterFactoryAdapter.convert
(source)
at org.springframework.core.convert.support.ConversionUtils.invokeConverter
(source)
org.springframework.core.convert.ConversionFailedException
Javadoc
Exception to be thrown when an actual type conversion attempt fails. @author Keith Donald @author Juergen Hoeller @since 3.0
at org.springframework.core.convert.support.ConversionUtils.invokeConverter
(source)
at org.springframework.core.convert.support.GenericConversionService.convert
(source)
6 frames hidden

Typical Exception Messages

  1. Failed to convert from type java.lang.String to type com.capitalone.dashboard.model.CollectorType for value 'Build2'; nested exception is java.lang.IllegalArgumentException: No enum constant com.capitalone.dashboard.model.CollectorType.Build2

Origin

ConversionUtils.invokeConverter() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
4 frames hidden
org.springframework.core.convert.support.ConversionUtils.invokeConverter
3Web pages

Similar

External results for this pattern (1)

  1. benathmanevia GitHub2 years ago
    Failed to convert from type java.lang.String to type com.capitalone.dashboard.model.CollectorType for value 'Build2'; nested exception is java.lang.IllegalArgumentException: No enum constant com.capitalone.dashboard.model.CollectorType.Build2
    Show stack trace