You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/10/10 06:31:32 UTC

[GitHub] [shardingsphere] zhaojinchao95 opened a new issue, #21053: Throws java.sql.SQLException: null when compile

zhaojinchao95 opened a new issue, #21053:
URL: https://github.com/apache/shardingsphere/issues/21053

   ### Which version of ShardingSphere did you use?
   
   `master` https://github.com/apache/shardingsphere/commit/9c83948cdb49af429851eb2eca9ce10da9dfb7a7
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   `ShardingSphere-Proxy`
   
   `mvn clean install -Dmaven.javadoc.skip=true -B -Drat.skip=true -Dspotless.apply.skip=true -Djacoco.skip=true  -Prelease`
   
   ```
   10:12:28.318 [main] ERROR org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepository - Get JDBC data by key: key failed
   java.sql.SQLException: null
           at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:281)
           at org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepository.get(JDBCRepository.java:76)
           at org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepositoryTest.assertGetFailure(JDBCRepositoryTest.java:107)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
           at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
           at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
           at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
           at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55)
           at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
           at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
           at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
           at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
           at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
           at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
           at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
           at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
           at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
           at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
           at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
           at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
           at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100)
           at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107)
           at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41)
           at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
           at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
           at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
           at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
           at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
           at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
           at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
           at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
           at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
   10:12:28.322 [main] ERROR org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepository - Persist JDBC data to key: key failed
   java.sql.SQLException: null
           at org.h2.jdbc.JdbcConnection.prepareStatement(JdbcConnection.java:281)
           at org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepository.update(JDBCRepository.java:158)
           at org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepository.persist(JDBCRepository.java:136)
           at org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepositoryTest.assertPersistFailureDuringUpdate(JDBCRepositoryTest.java:199)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:498)
           at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
           at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
           at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
           at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
           at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:55)
           at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
           at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
           at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
           at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
           at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
           at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
           at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
           at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
           at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
           at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
           at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
           at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
           at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:100)
           at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:107)
           at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:41)
           at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163)
           at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
           at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
           at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
           at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
           at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
           at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
           at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
           at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
   [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.772 s - in org.apache.shardingsphere.mode.repository.standalone.jdbc.JDBCRepositoryTest
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] LeeGuoPing commented on issue #21053: Throws java.sql.SQLException: null when compile

Posted by GitBox <gi...@apache.org>.
LeeGuoPing commented on issue #21053:
URL: https://github.com/apache/shardingsphere/issues/21053#issuecomment-1250479825

   I will have a try, dear zhaojinchao95


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] github-actions[bot] commented on issue #21053: Throws java.sql.SQLException: null when compile

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #21053:
URL: https://github.com/apache/shardingsphere/issues/21053#issuecomment-1272348373

   Hello , this issue has not received a reply for several days.
   This issue is supposed to be closed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] github-actions[bot] closed issue #21053: Throws java.sql.SQLException: null when compile

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #21053: Throws java.sql.SQLException: null when compile
URL: https://github.com/apache/shardingsphere/issues/21053


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] zhaojinchao95 commented on issue #21053: Throws java.sql.SQLException: null when compile

Posted by GitBox <gi...@apache.org>.
zhaojinchao95 commented on issue #21053:
URL: https://github.com/apache/shardingsphere/issues/21053#issuecomment-1321811805

   This problem are fixed in master branch, So i will close


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] zhaojinchao95 closed issue #21053: Throws java.sql.SQLException: null when compile

Posted by GitBox <gi...@apache.org>.
zhaojinchao95 closed issue #21053: Throws java.sql.SQLException: null when compile
URL: https://github.com/apache/shardingsphere/issues/21053


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org