You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by Brian You got this <27...@qq.com> on 2019/11/12 09:55:37 UTC

[add attachment]Apache ShardingSphere (Incubating) 4.0.0-RC3 ROUND 4 DataConversionException: Cannot determine value type from string 'NO'

Hi Juan,
The cause is <resultSet.getBoolean(IS_NULLABLE/IS_AUTOINCREMENT)&gt; in TableMetaDataLoader.class.
That's my analysis result, Please confirm it.






------------------ 原始邮件 ------------------
发件人:&nbsp;"Juan Pan"<panjuan@apache.org&gt;;
发送时间:&nbsp;2019年11月12日(星期二) 中午1:03
收件人:&nbsp;"dev@shardingsphere.apache.org"<dev@shardingsphere.apache.org&gt;;
抄送:&nbsp;"dev"<dev@shardingsphere.apache.org&gt;;
主题:&nbsp;Re:[VOTE] Release Apache ShardingSphere (Incubating) 4.0.0-RC3 ROUND 4



Hi Brian,


This thread is for checking and voting for Release 4.0.0-RC3, you need to go through the check list and cast your vote. Notice: 4.0.0-RC3 has not been released until now. Did the exception you mentioned happen when you did checking?


&nbsp;Juan Pan


panjuan@apache.org
Juan Pan(Trista), Apache ShardingSphere


On 11/12/2019 10:09,Brian You got this<2714510131@qq.com&gt; wrote:
Hi:


Thanks for&amp;nbsp;your reply. But I got a exception When I&amp;nbsp;switched to&amp;nbsp;4.0.0-RC3.&amp;nbsp;


Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'healthIndicatorRegistry' defined in class path resource [org/springframework/boot/actuate/autoconfigure/health/HealthIndicatorAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.health.HealthIndicatorRegistry]: Factory method 'healthIndicatorRegistry' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptDataSource' defined in class path resource [org/apache/shardingsphere/shardingjdbc/spring/boot/SpringBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'encryptDataSource' threw exception; nested exception is java.sql.SQLDataException: Cannot determine value type from string 'NO'
&amp;nbsp;at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:627)
&amp;nbsp;at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:607)
&amp;nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1305)
&amp;nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1144)
&amp;nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
&amp;nbsp;at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
&amp;nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
&amp;nbsp;at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
&amp;nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318)
&amp;nbsp;at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
&amp;nbsp;at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:277)
&amp;nbsp;at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1247)
&amp;nbsp;at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1167)
&amp;nbsp;at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:857)
&amp;nbsp;at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:760)
&amp;nbsp;... 105 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.actuate.health.HealthIndicatorRegistry]: Factory method 'healthIndicatorRegistry' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.actuate.autoconfigure.jdbc.DataSourceHealthIndicatorAutoConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptDataSource' defined in class path resource [org/apache/shardingsphere/shardingjdbc/spring/boot/SpringBootConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'encryptDataSource' threw exception; nested exception is java.sql.SQLDataException: Cannot determine value type from string 'NO'
&amp;nbsp;at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
&amp;nbsp;at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:622)
&amp;nbsp;... 119 common frames omitted



------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
发件人:&amp;nbsp;"Juan Pan"<panjuan@apache.org&amp;gt;;
发送时间:&amp;nbsp;2019年11月11日(星期一) 晚上6:40
收件人:&amp;nbsp;"dev@shardingsphere.apache.org"<dev@shardingsphere.apache.org&amp;gt;;"benh@apache.org"<benh@apache.org&amp;gt;;"clr@apache.org"<clr@apache.org&amp;gt;;"vongosling@apache.org"<vongosling@apache.org&amp;gt;;"ningjiang@apache.org"<ningjiang@apache.org&amp;gt;;

主题:&amp;nbsp;[VOTE] Release Apache ShardingSphere (Incubating) 4.0.0-RC3 ROUND 4



Hi everyone,


With the help and effort of our community, the previous issues were fixed already. I am glad to invite everyone to move on to check and vote for our 4.0.0-RC3 ROUND 4.


Release notes:
https://github.com/apache/incubator-shardingsphere/blob/dev/RELEASE-NOTES.md


The release candidates:
https://dist.apache.org/repos/dist/dev/incubator/shardingsphere/4.0.0-RC3/


Maven 2 staging repository:
https://repository.apache.org/content/repositories/orgapacheshardingsphere-1027/org/apache/shardingsphere/


Git tag for the release:
https://github.com/apache/incubator-shardingsphere/tree/4.0.0-RC3/


Release Commit ID:
https://github.com/apache/incubator-shardingsphere/commit/78a67e8c088ffc0b6f0e2c7418b0217cdc3bb87d


Keys to verify the Release Candidate:
https://dist.apache.org/repos/dist/dev/incubator/shardingsphere/KEYS


Look at here for how to verify this release candidate:
https://shardingsphere.apache.org/community/en/contribute/release/


The vote will be open for at least 72 hours or until necessary number of votes are reached.


Please vote accordingly:


[ ] +1 approve


[ ] +0 no opinion
&amp;nbsp;
[ ] -1 disapprove with the reason


Checklist for reference:


[ ] Download links are valid.


[ ] Checksums and PGP signatures are valid.


[ ] DISCLAIMER is included.


[ ] Source code artifacts have correct names matching the current release.


[ ] LICENSE and NOTICE files are correct for each ShardingSphere repo.


[ ] All files have license headers if necessary.


[ ] No compiled archives bundled in source archive.




Best wishes,
Trista


&amp;nbsp;Juan Pan


panjuan@apache.org
Juan Pan(Trista), Apache ShardingSphere