DefaultConversionService.<init>() has thrown a NullPointerException

java.lang.NullPointerException
Javadoc
Thrown when an application attempts to use {@code null} in a case where an object is required. These include:
  • Calling the instance method of a {@code null} object.
  • Accessing or modifying the field of a {@code null} object.
  • Taking the length of {@code null} as if it were an array.
  • Accessing or modifying the slots of {@code null} as if it were an array.
  • Throwing {@code null} as if it were a {@code Throwable} value.

Applications should throw instances of this class to indicate other illegal uses of the {@code null} object. {@code NullPointerException} objects may be constructed by the virtual machine as if {@linkplain Throwable#Throwable(String, Throwable, boolean, boolean) suppression were disabled and/or the stack trace was not writable}. @author unascribed @since JDK1.0

at org.springframework.core.SerializableTypeWrapper$TypeProxyInvocationHandler.invoke
(source)
at org.springframework.core.$Proxy0.hashCode
at org.springframework.util.ObjectUtils.nullSafeHashCode
(source)
at org.springframework.core.ResolvableType.hashCode
(source)
at org.springframework.util.ConcurrentReferenceHashMap.getHash
(source)
at org.springframework.util.ConcurrentReferenceHashMap.getReference
(source)
at org.springframework.util.ConcurrentReferenceHashMap.get
(source)
at org.springframework.core.ResolvableType.forType
(source)
at org.springframework.core.ResolvableType.forType
(source)
at org.springframework.core.ResolvableType.forTypes
(source)
at org.springframework.core.ResolvableType.getInterfaces
(source)
at org.springframework.core.ResolvableType.as
(source)
at org.springframework.core.convert.support.GenericConversionService.getRequiredTypeInfo
(source)
at org.springframework.core.convert.support.GenericConversionService.addConverterFactory
(source)
at org.springframework.core.convert.support.DefaultConversionService.addScalarConverters
(source)
at org.springframework.core.convert.support.DefaultConversionService.addDefaultConverters
(source)
at org.springframework.core.convert.support.DefaultConversionService.<init>
(source)
16 frames hidden

Typical Exception Messages

  1. <No message>

Origin

DefaultConversionService.addDefaultConverters() has thrown a NullPointerException

java.lang.NullPointerException
15 frames hidden
org.springframework.core.convert.support.DefaultConversionService.addDefaultConverters
2Web pages

Specific cases

External results for this pattern (2)

  1. andreahgvia Stack Overflow6 months ago
    No message found for this stack trace.
    Show stack trace