Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting subsystem contains Java 6 API dependency [SPR-6349] #11015

Closed
spring-projects-issues opened this issue Nov 13, 2009 · 1 comment
Closed
Labels
type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Nov 13, 2009

Scott Andrews opened SPR-6349 and commented

Caused by: java.lang.NoSuchMethodError: java.lang.String.isEmpty()Z
at org.springframework.format.support.FormattingConversionService$ParserConverter.convert(FormattingConversionService.java:188)
at org.springframework.core.convert.support.ConversionUtils.invokeConverter(ConversionUtils.java:32)
at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:182)
at org.springframework.format.support.FormattingConversionService.convert(FormattingConversionService.java:133)
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:179)
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:135)
at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:442)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1351)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1310)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1067)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
... 31 more


Affects: 3.0 RC2

Issue Links:

@spring-projects-issues
Copy link
Collaborator Author

Keith Donald commented

Now using str.length(); also handling and testing null case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant