java.lang.NullPointerException

Spring JIRA | Oliver Becker | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    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!

    Spring JIRA | 8 years ago | Oliver Becker
    java.lang.NullPointerException
  2. 0

    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!

    Spring JIRA | 8 years ago | Oliver Becker
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.springframework.core.convert.service.GenericConversionService.findSuperConverter()
    2. org.springframework.core
      GenericConversionService.executeConversion
      1. org.springframework.core.convert.service.GenericConversionService.findSuperConverter(GenericConversionService.java:409)
      2. org.springframework.core.convert.service.GenericConversionService.findRegisteredSuperConverter(GenericConversionService.java:384)
      3. org.springframework.core.convert.service.GenericConversionService.getConversionExecutor(GenericConversionService.java:217)
      4. org.springframework.core.convert.service.GenericConversionService.executeConversion(GenericConversionService.java:172)
      4 frames
    3. Spring Expression Language (SpEL)
      SpelExpression.getValue
      1. org.springframework.expression.spel.support.StandardTypeConverter.convertValue(StandardTypeConverter.java:55)
      2. org.springframework.expression.spel.ExpressionState.convertValue(ExpressionState.java:119)
      3. org.springframework.expression.spel.ast.Indexer.getValueInternal(Indexer.java:56)
      4. org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:54)
      5. org.springframework.expression.spel.ast.SpelNodeImpl.getValue(SpelNodeImpl.java:51)
      6. org.springframework.expression.spel.SpelExpression.getValue(SpelExpression.java:66)
      6 frames