java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • We are getting the following NullPointerException when a root object in an evaluation context that is accessed from SPEL is a Map instance (more general: if a Map is *not* resolved via the ReflectivePropertyResolver): java.lang.NullPointerException at org.springframework.core.convert.service.GenericConversionService.findSuperConverter(GenericConversionService.java:409) at org.springframework.core.convert.service.GenericConversionService.findRegisteredSuperConverter(GenericConversionService.java:384) at org.springframework.core.convert.service.GenericConversionService.getConversionExecutor(GenericConversionService.java:217) at org.springframework.core.convert.service.GenericConversionService.executeConversion(GenericConversionService.java:172) at org.springframework.expression.spel.support.StandardTypeConverter.convertValue(StandardTypeConverter.java:55) at org.springframework.expression.spel.ExpressionState.convertValue(ExpressionState.java:119) at org.springframework.expression.spel.ast.Indexer.getValueInternal(Indexer.java:56) at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:54) at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:51) at org.springframework.expression.spel.SpelExpression.getValue(SpelExpression.java:66) This exception is caused by the incomplete implementation of getMayKeyType() in org.springframework.core.convert.TypeDescriptor that simply returns null in the described case. It would be great if this bug could be fixed as soon as possible. Thanks a lot!
    via by Oliver Becker,
  • We are getting the following NullPointerException when a root object in an evaluation context that is accessed from SPEL is a Map instance (more general: if a Map is *not* resolved via the ReflectivePropertyResolver): java.lang.NullPointerException at org.springframework.core.convert.service.GenericConversionService.findSuperConverter(GenericConversionService.java:409) at org.springframework.core.convert.service.GenericConversionService.findRegisteredSuperConverter(GenericConversionService.java:384) at org.springframework.core.convert.service.GenericConversionService.getConversionExecutor(GenericConversionService.java:217) at org.springframework.core.convert.service.GenericConversionService.executeConversion(GenericConversionService.java:172) at org.springframework.expression.spel.support.StandardTypeConverter.convertValue(StandardTypeConverter.java:55) at org.springframework.expression.spel.ExpressionState.convertValue(ExpressionState.java:119) at org.springframework.expression.spel.ast.Indexer.getValueInternal(Indexer.java:56) at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:54) at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:51) at org.springframework.expression.spel.SpelExpression.getValue(SpelExpression.java:66) This exception is caused by the incomplete implementation of getMayKeyType() in org.springframework.core.convert.TypeDescriptor that simply returns null in the described case. It would be great if this bug could be fixed as soon as possible. Thanks a lot!
    via by Oliver Becker,
    • java.lang.NullPointerException at org.springframework.core.convert.service.GenericConversionService.findSuperConverter(GenericConversionService.java:409) at org.springframework.core.convert.service.GenericConversionService.findRegisteredSuperConverter(GenericConversionService.java:384) at org.springframework.core.convert.service.GenericConversionService.getConversionExecutor(GenericConversionService.java:217) at org.springframework.core.convert.service.GenericConversionService.executeConversion(GenericConversionService.java:172) at org.springframework.expression.spel.support.StandardTypeConverter.convertValue(StandardTypeConverter.java:55) at org.springframework.expression.spel.ExpressionState.convertValue(ExpressionState.java:119) at org.springframework.expression.spel.ast.Indexer.getValueInternal(Indexer.java:56) at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:54) at org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:51) at org.springframework.expression.spel.SpelExpression.getValue(SpelExpression.java:66)
    No Bugmate found.