|
|
@@ -960,3 +960,10768 @@ java.lang.NullPointerException
|
|
|
[2019-10-21 18:42:41] [WARN ] - Bad pool size config, start 3 < min 5. Using 5 as start.
|
|
|
[2019-10-22 14:41:38] [WARN ] - Bad pool size config, start 3 < min 5. Using 5 as start.
|
|
|
[2019-10-22 15:29:17] [WARN ] - Bad pool size config, start 3 < min 5. Using 5 as start.
|
|
|
+[2019-11-09 21:53:24] [WARN ] - Bad pool size config, start 3 < min 5. Using 5 as start.
|
|
|
+[2019-11-09 21:57:16] [WARN ] - Bad pool size config, start 3 < min 5. Using 5 as start.
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createMatchStage
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '452' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.MatchStageMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into match_stage ( id, del_flag, match_id, stage_order, type, third_battle, total_num, points_win_large, points_draw_large, points_lose_large, points_win_small, points_lose_small ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '452' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '452' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '452' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy44.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy45.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.MatchStageServiceImpl.createMatchStage(MatchStageServiceImpl.java:89)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.MatchInfoServiceImpl.createMatchInfo(MatchInfoServiceImpl.java:118)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:79)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '452' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8505' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8505' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8505' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8505' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8505' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8492' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8492' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8492' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8492' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8492' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8486' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8486' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8486' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8486' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8486' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8477' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8477' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8477' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8477' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8477' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8476' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8476' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8476' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8476' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8476' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8475' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8475' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8475' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8475' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8475' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8473' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8473' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8473' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8473' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8473' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8472' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8472' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8472' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8472' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8472' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8471' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8471' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8471' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8471' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8471' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8470' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8470' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8470' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8470' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8470' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8468' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8468' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8468' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8468' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8468' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8466' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8466' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8466' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8466' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8466' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8465' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8465' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8465' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8465' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8465' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8464' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8464' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8464' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8464' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8464' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8461' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8461' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8461' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8461' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8461' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8459' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8459' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8459' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8459' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8459' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 50 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8458' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8458' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8458' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8458' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8458' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:17] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8457' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8457' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8457' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8457' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8457' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8456' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8456' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8456' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8456' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8456' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8455' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8455' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8455' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8455' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8455' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8454' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8454' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8454' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8454' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8454' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8453' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8453' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8453' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8453' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8453' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8452' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8452' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8452' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8452' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8452' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8451' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8451' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8451' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8451' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8451' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8450' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8450' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8450' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8450' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8450' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8449' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8449' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8449' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8449' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8449' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8448' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8448' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8448' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8448' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8448' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8446' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8446' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8446' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8446' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8446' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8445' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, remark, match_id, rank ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8445' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8445' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8445' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8445' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8443' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8443' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8443' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8443' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8443' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8441' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8441' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8441' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8441' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8441' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8439' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8439' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8439' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8439' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8439' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8438' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8438' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8438' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8438' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8438' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8436' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8436' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8436' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8436' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8436' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8433' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8433' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8433' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8433' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8433' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8432' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8432' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8432' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8432' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8432' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8431' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8431' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8431' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8431' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8431' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8430' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8430' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8430' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8430' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8430' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8429' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8429' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8429' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8429' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8429' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8428' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8428' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8428' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8428' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8428' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8427' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8427' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8427' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8427' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8427' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8426' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8426' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8426' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8426' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8426' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8425' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8425' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8425' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8425' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8425' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8424' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8424' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8424' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8424' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8424' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:18] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8423' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8423' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8423' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8423' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8423' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8422' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8422' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8422' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8422' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8422' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8421' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8421' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8421' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8421' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8421' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8420' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8420' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8420' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8420' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8420' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8419' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8419' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8419' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8419' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8419' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8418' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8418' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8418' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8418' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8418' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8415' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8415' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8415' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8415' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8415' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8414' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8414' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8414' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8414' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8414' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8413' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8413' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8413' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8413' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8413' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8412' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8412' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8412' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8412' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8412' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8411' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8411' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8411' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8411' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8411' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8410' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8410' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8410' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8410' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8410' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8409' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8409' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8409' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8409' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8409' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8408' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8408' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8408' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8408' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8408' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8407' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8407' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8407' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8407' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8407' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8406' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8406' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8406' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8406' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8406' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8405' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8405' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8405' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8405' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8405' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8404' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8404' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8404' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8404' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8404' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8403' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8403' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8403' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8403' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8403' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8402' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8402' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8402' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8402' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8402' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8400' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8400' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8400' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8400' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8400' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8399' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8399' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8399' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8399' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8399' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8398' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8398' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8398' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8398' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8398' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8397' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8397' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8397' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8397' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8397' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8396' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8396' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8396' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8396' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8396' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8395' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8395' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8395' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8395' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8395' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8394' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8394' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8394' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8394' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8394' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8392' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8392' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8392' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8392' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8392' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8391' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8391' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8391' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8391' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8391' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:19] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8390' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8390' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8390' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8390' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8390' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8389' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8389' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8389' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8389' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8389' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8388' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8388' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8388' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8388' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8388' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8387' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8387' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8387' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8387' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8387' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8386' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8386' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8386' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8386' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8386' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8384' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8384' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8384' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8384' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8384' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8382' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8382' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8382' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8382' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8382' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8381' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8381' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8381' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8381' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8381' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8380' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8380' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8380' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8380' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8380' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8379' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8379' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8379' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8379' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8379' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8378' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8378' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8378' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8378' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8378' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8377' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8377' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8377' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8377' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8377' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8376' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8376' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8376' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8376' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8376' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8375' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8375' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8375' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8375' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8375' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8374' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8374' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8374' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8374' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8374' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8373' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8373' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8373' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8373' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8373' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8372' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8372' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8372' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8372' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8372' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8371' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8371' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8371' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8371' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8371' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8370' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8370' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8370' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8370' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8370' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8369' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8369' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8369' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8369' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8369' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8368' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8368' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8368' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8368' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8368' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8367' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8367' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8367' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8367' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8367' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8366' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8366' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8366' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8366' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8366' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8365' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8365' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8365' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8365' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8365' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8363' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8363' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8363' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8363' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8363' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8362' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8362' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8362' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8362' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8362' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8361' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8361' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8361' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8361' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8361' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8360' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8360' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8360' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8360' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8360' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8359' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8359' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8359' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8359' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8359' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:20] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8358' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8358' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8358' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8358' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8358' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:21] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8357' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8357' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8357' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8357' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8357' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:21] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8356' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8356' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8356' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8356' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8356' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:21] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8354' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8354' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8354' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8354' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8354' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:21] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8353' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8353' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8353' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8353' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8353' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:21] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8352' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8352' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8352' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8352' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8352' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:21] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8350' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8350' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8350' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8350' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8350' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:21] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8349' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8349' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8349' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8349' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8349' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:21] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8348' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8348' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8348' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8348' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8348' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:21] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8347' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8347' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8347' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8347' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8347' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:21] [ERROR] - createApplyInfo
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8346' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.ApplyInfoMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into apply_info ( id, del_flag, user_id, nickname, game_id, real_name, id_no, phone, qq, wx, team_name, remark, match_id, rank, team_info ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8346' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '8346' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8346' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy48.insertSelective(Unknown Source)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy49.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.ApplyInfoServiceImpl.createApplyInfo(ApplyInfoServiceImpl.java:97)
|
|
|
+ at MatchTest.lambda$testttt1$0(MatchTest.java:85)
|
|
|
+ at java.util.ArrayList.forEach(ArrayList.java:1257)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:83)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '8346' for key 'PRIMARY'
|
|
|
+ at sun.reflect.GeneratedConstructorAccessor25.newInstance(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:57:55] [WARN ] - Bad pool size config, start 3 < min 5. Using 5 as start.
|
|
|
+[2019-11-09 21:57:55] [ERROR] - createMatchStage
|
|
|
+org.springframework.dao.DuplicateKeyException:
|
|
|
+### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '452' for key 'PRIMARY'
|
|
|
+### The error may involve com.izouma.awesomeadmin.dao.MatchStageMapper.insertSelective-Inline
|
|
|
+### The error occurred while setting parameters
|
|
|
+### SQL: insert into match_stage ( id, del_flag, match_id, stage_order, type, third_battle, total_num, points_win_large, points_draw_large, points_lose_large, points_win_small, points_lose_small ) values ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
|
|
|
+### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '452' for key 'PRIMARY'
|
|
|
+; SQL []; Duplicate entry '452' for key 'PRIMARY'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '452' for key 'PRIMARY'
|
|
|
+ at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:239)
|
|
|
+ at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:73)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:371)
|
|
|
+ at com.sun.proxy.$Proxy28.insert(Unknown Source)
|
|
|
+ at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:240)
|
|
|
+ at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:52)
|
|
|
+ at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:53)
|
|
|
+ at com.sun.proxy.$Proxy44.insertSelective(Unknown Source)
|
|
|
+ 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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
|
|
|
+ at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
|
|
|
+ at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
|
|
|
+ at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
|
|
|
+ at com.sun.proxy.$Proxy45.insertSelective(Unknown Source)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.MatchStageServiceImpl.createMatchStage(MatchStageServiceImpl.java:89)
|
|
|
+ at com.izouma.awesomeadmin.service.impl.MatchInfoServiceImpl.createMatchInfo(MatchInfoServiceImpl.java:118)
|
|
|
+ at MatchTest.testttt1(MatchTest.java:79)
|
|
|
+ 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:50)
|
|
|
+ at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
|
|
|
+ at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
|
|
|
+ at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
|
|
|
+ at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
|
|
|
+ at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:252)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:94)
|
|
|
+ at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
|
|
|
+ at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
|
|
|
+ at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
|
|
|
+ at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
|
|
|
+ at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
|
|
|
+ at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
|
|
|
+ at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
|
|
|
+ at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:191)
|
|
|
+ at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
|
|
|
+ at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
|
|
|
+ at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
|
|
|
+ at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
|
|
|
+Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '452' for key 'PRIMARY'
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
|
|
|
+ at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
|
|
|
+ at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
|
|
|
+ at com.mysql.jdbc.Util.handleNewInstance(Util.java:409)
|
|
|
+ at com.mysql.jdbc.Util.getInstance(Util.java:384)
|
|
|
+ at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1039)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232)
|
|
|
+ at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615)
|
|
|
+ at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776)
|
|
|
+ at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082)
|
|
|
+ at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307)
|
|
|
+ at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.execute(NewProxyPreparedStatement.java:67)
|
|
|
+ at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:45)
|
|
|
+ at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:73)
|
|
|
+ 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.apache.ibatis.plugin.Plugin.invoke(Plugin.java:63)
|
|
|
+ at com.sun.proxy.$Proxy97.update(Unknown Source)
|
|
|
+ at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:49)
|
|
|
+ at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:115)
|
|
|
+ at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:75)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:170)
|
|
|
+ at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:157)
|
|
|
+ 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.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:358)
|
|
|
+ ... 49 more
|
|
|
+[2019-11-09 21:59:01] [WARN ] - Bad pool size config, start 3 < min 5. Using 5 as start.
|
|
|
+[2019-11-09 22:10:41] [WARN ] - Bad pool size config, start 3 < min 5. Using 5 as start.
|