[Bug 181] enum issue with icedtea
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Wed Aug 6 12:58:28 PDT 2008
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=181
------- Comment #3 from ranger at opennms.org 2008-08-06 19:58 -------
...and the test failure:
-------------------------------------------------------------------------------
Test set: org.openjdk.test.BeanWrapperTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.189 sec <<<
FAILURE!
testBeanWrapper(org.openjdk.test.BeanWrapperTest) Time elapsed: 0.13 sec <<<
ERROR!
org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessException details (1) are:
PropertyAccessException 1:
org.springframework.beans.TypeMismatchException: Failed to convert property
value of type [java.lang.String] to required type
[org.openjdk.test.RelativeTime] for property 'time'; nested exception is
java.lang.IllegalArgumentException: Unsupported value: YESTERDAY
at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:855)
at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:651)
at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)
at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)
at
org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:55)
at
org.openjdk.test.BeanWrapperTest.testBeanWrapper(BeanWrapperTest.java:30)
Caused by: java.lang.IllegalArgumentException: Unsupported value: YESTERDAY
at sun.beans.editors.EnumEditor.setValue(EnumEditor.java:71)
at sun.beans.editors.EnumEditor.setAsText(EnumEditor.java:101)
at
org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:374)
at
org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:350)
at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:173)
at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)
at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:832)
... 31 more
--
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the distro-pkg-dev
mailing list