Spring Core errors

https://github.com/spring-projects/spring-framework

Everything you need beyond the Java language to create enterprise applications in a wide range of scenarios and architectures

Documented:

Top patterns

  1. Assert.notNull() has thrown an IllegalArgumentException
    No solution
  2. ClassPathResource.getInputStream() has thrown a FileNotFoundException

    Use this method to gain access to the ApplicationContext:

    @Autowired
    private ApplicationContext applicationContext;
    

    Check the source of this solution for more info

  3. Assert.state() has thrown an IllegalStateException

    You need to set the type property in your bean XML file. <property name="targetType" value="some value" />


DescriptionException TypeEntry MethodWeb pages
ConverterNotFoundExceptionGenericConversionService.handleConverterNotFound79
ConverterNotFoundExceptionGenericConversionService.convert75
ConverterNotFoundExceptionGenericConversionService.convert43
NoSuchMethodErrorDefaultConversionService.addScalarConverters21
NoSuchMethodErrorDefaultConversionService.addDefaultConverters20
ConversionFailedExceptionGenericConversionService.convert17
NoSuchMethodErrorDefaultConversionService.<init>16
ConverterNotFoundExceptionGenericConversionService.convert14
ConversionFailedExceptionGenericConversionService.convert13
NoSuchMethodErrorGenericConversionService.getRequiredTypeInfo7
NumberFormatExceptionConversionUtils.invokeConverter6
NoSuchMethodErrorGenericConversionService.addConverter6
ConversionFailedExceptionGenericConversionService.convert4
NullPointerExceptionDefaultConversionService.addDefaultConverters4
NullPointerExceptionDefaultConversionService.<init>4
ConverterNotFoundExceptionGenericConversionService.convert4
IllegalArgumentExceptionGenericConversionService.convert4
IllegalArgumentExceptionConversionUtils.invokeConverter3
DomainClassConverter$ConversionMatchAbbreviationExceptionGenericConversionService.getConverter2
IllegalAccessErrorDefaultConversionService.addDefaultConverters2
ConversionFailedExceptionGenericConversionService.convert2
ConverterNotFoundExceptionConversionUtils.invokeConverter2
NumberFormatExceptionGenericConversionService.convert2
IllegalArgumentExceptionGenericConversionService.convert2
ConversionFailedExceptionConversionUtils.invokeConverter2
IllegalArgumentExceptionObjectToObjectConverter.convert2
ConverterNotFoundExceptionConversionUtils.invokeConverter2
ConverterNotFoundExceptionConversionUtils.invokeConverter2
NoSuchMethodErrorDefaultConversionService.<init>2
ConversionFailedExceptionGenericConversionService.convert1
NullPointerExceptionDefaultConversionService.addDefaultConverters1
IllegalArgumentExceptionConversionUtils.invokeConverter1
NumberFormatExceptionGenericConversionService.convert1
ConverterNotFoundExceptionGenericConversionService.convert1
NumberFormatExceptionConversionUtils.invokeConverter1
IllegalArgumentExceptionGenericConversionService.convert1
ConversionFailedExceptionGenericConversionService.convert1
ConverterNotFoundExceptionConversionUtils.invokeConverter0
IllegalArgumentExceptionConversionUtils.invokeConverter0
ConversionFailedExceptionGenericConversionService.convert0
ConversionFailedExceptionGenericConversionService.convert0
Package nameClass namePatterns foundSolution coverageDescription coverage
org.springframework.core.convert.supportGenericConversionService22
org.springframework.core.convert.supportConversionUtils10
org.springframework.core.convert.supportDefaultConversionService8
org.springframework.core.convert.supportObjectToObjectConverter1
Package nameClass nameMethod namePatterns foundSolution coverage
org.springframework.core.convert.supportGenericConversionServiceconvert18
org.springframework.core.convert.supportConversionUtilsinvokeConverter10
org.springframework.core.convert.supportDefaultConversionServiceaddDefaultConverters4
org.springframework.core.convert.supportDefaultConversionService<init>3
org.springframework.core.convert.supportGenericConversionServiceaddConverter1
org.springframework.core.convert.supportGenericConversionServicegetConverter1
org.springframework.core.convert.supportGenericConversionServicehandleConverterNotFound1
org.springframework.core.convert.supportDefaultConversionServiceaddScalarConverters1
org.springframework.core.convert.supportGenericConversionServicegetRequiredTypeInfo1
org.springframework.core.convert.supportObjectToObjectConverterconvert1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
org.springframework.core.convert.supportGenericConversionServiceconvertConversionFailedException8
org.springframework.core.convert.supportGenericConversionServiceconvertConverterNotFoundException5
org.springframework.core.convert.supportConversionUtilsinvokeConverterConverterNotFoundException4
org.springframework.core.convert.supportGenericConversionServiceconvertIllegalArgumentException3
org.springframework.core.convert.supportConversionUtilsinvokeConverterIllegalArgumentException3
org.springframework.core.convert.supportDefaultConversionService<init>NoSuchMethodError2
org.springframework.core.convert.supportGenericConversionServiceconvertNumberFormatException2
org.springframework.core.convert.supportConversionUtilsinvokeConverterNumberFormatException2
org.springframework.core.convert.supportDefaultConversionServiceaddDefaultConvertersNullPointerException2
org.springframework.core.convert.supportGenericConversionServicegetConverterDomainClassConverter$ConversionMatchAbbreviationException1
org.springframework.core.convert.supportDefaultConversionServiceaddDefaultConvertersIllegalAccessError1
org.springframework.core.convert.supportConversionUtilsinvokeConverterConversionFailedException1
org.springframework.core.convert.supportDefaultConversionServiceaddDefaultConvertersNoSuchMethodError1
org.springframework.core.convert.supportDefaultConversionServiceaddScalarConvertersNoSuchMethodError1
org.springframework.core.convert.supportDefaultConversionService<init>NullPointerException1
org.springframework.core.convert.supportObjectToObjectConverterconvertIllegalArgumentException1
org.springframework.core.convert.supportGenericConversionServiceaddConverterNoSuchMethodError1
org.springframework.core.convert.supportGenericConversionServicehandleConverterNotFoundConverterNotFoundException1
org.springframework.core.convert.supportGenericConversionServicegetRequiredTypeInfoNoSuchMethodError1