com.jgoodies.binding.beans.PropertyAccessException: Failed to read an adapted Java Bean property. bean =Can't read bean type=jhomenet.binding.CustomConverterFactory$DataConverter property name =value property type =java.lang.Object property reader=public java.lang.Object com.jgoodies.binding.value.AbstractConverter.getValue()

Coderanch | David Irwin | 1 decade 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.
  1. 0

    Custom converter in JGoodies Binding

    Coderanch | 1 decade ago | David Irwin
    com.jgoodies.binding.beans.PropertyAccessException: Failed to read an adapted Java Bean property. bean =Can't read bean type=jhomenet.binding.CustomConverterFactory$DataConverter property name =value property type =java.lang.Object property reader=public java.lang.Object com.jgoodies.binding.value.AbstractConverter.getValue()

    Root Cause Analysis

    1. java.lang.ClassCastException

      The subject value must be of type HardwareData.

      at jhomenet.binding.CustomConverterFactory$DataConverter.convertFromSubject()
    2. jhomenet.binding
      CustomConverterFactory$DataConverter.convertFromSubject
      1. jhomenet.binding.CustomConverterFactory$DataConverter.convertFromSubject(Unknown Source)
      1 frame
    3. com.jgoodies.binding
      AbstractConverter.getValue
      1. com.jgoodies.binding.value.AbstractConverter.getValue(AbstractConverter.java:134)
      1 frame