Details
-
Type: Task
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Pluto
-
Component/s: None
-
Labels:None
-
Story Points:5
-
Sprint:Sprint 1
Description
Error Trace Bidmgr:
=================
2017-02-11 08:26:06.503 (1) [pool-3-thread-17]: Exception [Error during add campaigns request. ]:java.util.concurrent.ExecutionException: org.springframework.dao.IncorrectResultSizeDataAccessException: Incorrect result size: expected 1, actual 2
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at com.thesearchagency.admaxlistener.deployer.MultiplexAccountDeployer.createCampaigns(MultiplexAccountDeployer.java:222)
at com.thesearchagency.admaxlistener.worker.CampaignCreateWorker.call(CampaignCreateWorker.java:58)
at com.thesearchagency.admaxlistener.worker.CampaignCreateWorker.call(CampaignCreateWorker.java:32)
at com.thesearchagency.admaxlistener.worker.AccountWorker.createCampaigns(AccountWorker.java:477)
at com.thesearchagency.admaxlistener.worker.AccountWorker.deploySync(AccountWorker.java:406)
at com.thesearchagency.admaxlistener.worker.AccountWorker.call(AccountWorker.java:151)
at com.thesearchagency.admaxlistener.worker.RequestWorker.call(RequestWorker.java:297)
at com.thesearchagency.admaxlistener.worker.RequestWorker.call(RequestWorker.java:96)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.springframework.dao.IncorrectResultSizeDataAccessException: Incorrect result size: expected 1, actual 2
at org.springframework.dao.support.DataAccessUtils.requiredSingleResult(DataAccessUtils.java:74)
at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:732)
at com.thesearchagency.services.client.yahoojapan.dao.YahooCampaignStructureDAO.getByYahooId(YahooCampaignStructureDAO.java:88)
at com.thesearchagency.services.client.yahoojapan.dao.YahooCampaignStructureDAO.create(YahooCampaignStructureDAO.java:145)
at com.thesearchagency.services.client.yahoojapan.YahooCampaignServiceComponent.create(YahooCampaignServiceComponent.java:85)
at com.thesearchagency.services.client.yahoojapan.YahooCampaignServiceComponent.createCampaignStructures(YahooCampaignServiceComponent.java:164)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at $Proxy15.createCampaignStructures(Unknown Source)
at com.thesearchagency.searchengines.yahoojapan.YahooJapanAccountDeployer.createAccountStructure(YahooJapanAccountDeployer.java:281)
at com.thesearchagency.searchengines.yahoojapan.YahooJapanAccountDeployer.createCampaigns(YahooJapanAccountDeployer.java:270)
at com.thesearchagency.admaxlistener.worker.SearchEngineCampaignWorker.call(SearchEngineCampaignWorker.java:62)
at com.thesearchagency.admaxlistener.worker.SearchEngineCampaignWorker.call(SearchEngineCampaignWorker.java:23)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
... 5 more