org.apache.commons.beanutils.ConversionException: No value specified at org.apache.commons.beanutils.converters.BigDecimalConverter.convert (BigDecimalConverter.java:148)

Coderanch | Ashok Mash | 1 decade ago
  1. 0

    java.lang.BigDecimal?

    Coderanch | 1 decade ago | Ashok Mash
    org.apache.commons.beanutils.ConversionException: No value specified at org.apache.commons.beanutils.converters.BigDecimalConverter.convert (BigDecimalConverter.java:148)
  2. 0

    If any of the reference data EnumeratedValue entities are attempted to be fetched from the database (using EnumerationManagementService.getEnumeratedValues, for example), the following error results: org.apache.commons.beanutils.ConversionException: No value specified for 'Date' at org.apache.commons.beanutils.converters.AbstractConverter.handleMissing(AbstractConverter.java:310) at org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:136) at org.apache.commons.beanutils.converters.ConverterFacade.convert(ConverterFacade.java:60) at org.apache.commons.beanutils.BeanUtilsBean.convert(BeanUtilsBean.java:1078) at org.apache.commons.beanutils.BeanUtilsBean.copyProperty(BeanUtilsBean.java:437) at org.apache.commons.beanutils.BeanUtilsBean.copyProperties(BeanUtilsBean.java:286) at org.apache.commons.beanutils.BeanUtils.copyProperties(BeanUtils.java:137) at org.kuali.student.core.enumerationmanagement.service.impl.util.EnumerationAssembler.toEnumeratedValueInfo(EnumerationAssembler.java:57) at org.kuali.student.core.enumerationmanagement.service.impl.util.EnumerationAssembler.toEnumeratedValueList(EnumerationAssembler.java:84) at org.kuali.student.core.enumerationmanagement.service.impl.EnumerationManagementServiceImpl.getEnumeratedValues(EnumerationManagementServiceImpl.java:150) This behavior can be repeated if you modify the EnumerationServiceImplTest and change one of the expiration dates to null in the "testFetchEnumeratedValue" method. The BeanUtils.copyProperty method needs to have a default value for java.util.Date properties that are set when the origin bean has a null value for the property. Or the assembler could be modified to copy properties one at a time via getters/setters.

    Kuali JIRA | 5 years ago | Andrew Lubbers
    org.apache.commons.beanutils.ConversionException: No value specified for 'Date'
  3. 0

    If any of the reference data EnumeratedValue entities are attempted to be fetched from the database (using EnumerationManagementService.getEnumeratedValues, for example), the following error results: org.apache.commons.beanutils.ConversionException: No value specified for 'Date' at org.apache.commons.beanutils.converters.AbstractConverter.handleMissing(AbstractConverter.java:310) at org.apache.commons.beanutils.converters.AbstractConverter.convert(AbstractConverter.java:136) at org.apache.commons.beanutils.converters.ConverterFacade.convert(ConverterFacade.java:60) at org.apache.commons.beanutils.BeanUtilsBean.convert(BeanUtilsBean.java:1078) at org.apache.commons.beanutils.BeanUtilsBean.copyProperty(BeanUtilsBean.java:437) at org.apache.commons.beanutils.BeanUtilsBean.copyProperties(BeanUtilsBean.java:286) at org.apache.commons.beanutils.BeanUtils.copyProperties(BeanUtils.java:137) at org.kuali.student.core.enumerationmanagement.service.impl.util.EnumerationAssembler.toEnumeratedValueInfo(EnumerationAssembler.java:57) at org.kuali.student.core.enumerationmanagement.service.impl.util.EnumerationAssembler.toEnumeratedValueList(EnumerationAssembler.java:84) at org.kuali.student.core.enumerationmanagement.service.impl.EnumerationManagementServiceImpl.getEnumeratedValues(EnumerationManagementServiceImpl.java:150) This behavior can be repeated if you modify the EnumerationServiceImplTest and change one of the expiration dates to null in the "testFetchEnumeratedValue" method. The BeanUtils.copyProperty method needs to have a default value for java.util.Date properties that are set when the origin bean has a null value for the property. Or the assembler could be modified to copy properties one at a time via getters/setters.

    Kuali JIRA | 5 years ago | Andrew Lubbers
    org.apache.commons.beanutils.ConversionException: No value specified for 'Date'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    AppFuse - User - throw org.apache.commons.beanutils.ConversionException: No value specified

    nabble.com | 1 month ago
    org.apache.commons.beanutils.ConversionException: No value specified

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.commons.beanutils.ConversionException

      No value specified at org.apache.commons.beanutils.converters.BigDecimalConverter.convert (BigDecimalConverter.java:148)

      at org.apache.commons.beanutils.BeanUtils.copyProperty()
    2. Apache Commons BeanUtils
      BeanUtils.copyProperties
      1. org.apache.commons.beanutils.BeanUtils.copyProperty(BeanUtils.java:447)
      2. org.apache.commons.beanutils.BeanUtils.copyProperties(BeanUtils.java:264)
      2 frames