java.lang.IllegalArgumentException: Invalid boolean value [${db.testdata}]

Spring JIRA | Axel Fontaine | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid boolean value [${db.testdata}]

      at org.springframework.beans.propertyeditors.CustomBooleanEditor.setAsText()
    2. Spring Beans
      TypeConverterSupport.doConvert
      1. org.springframework.beans.propertyeditors.CustomBooleanEditor.setAsText(CustomBooleanEditor.java:122)
      2. org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:430)
      3. org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:403)
      4. org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:181)
      5. org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:110)
      6. org.springframework.beans.TypeConverterSupport.doConvert(TypeConverterSupport.java:61)
      6 frames