Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-4290

Deployment status is in processing state due to exceeded keywords on YJPROD

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: All Time Backlog
    • Component/s: None
    • Labels:
      None
    • Environment:

      YJPROD - Production

      Description

      One of the order went in processing state due to exceeded keyword limit, we did analysis and found there was a keyword limit issue. However the order has been processed correctly in listener but jboss didn't get the deployment response back.

      Below are the tomcat logs,

      2016-08-31 12:24:13,732-2930540787 [OrderScheduler_Worker-2] DEBUG com.thesearchagency.sapi.services.order.OrderStatusUpdateJob [] - Determining number of orders requiring update.
      2016-08-31 12:24:13,808-2930540863 [OrderScheduler_Worker-2] INFO com.thesearchagency.sapi.services.order.OrderStatusUpdateJob [] - Beginning update for 1 orders.
      2016-08-31 12:24:13,812-2930540867 [OrderScheduler_Worker-2] INFO com.thesearchagency.sapi.services.order.OrderService [] - Attempting to update order status for order 7053b14c-2311-4087-be26-7cbfa0e0999e
      2016-08-31 12:24:13,812-2930540867 [OrderScheduler_Worker-2] DEBUG com.thesearchagency.sapi.services.order.OrderService [] - Modifier ID: 73e546db-a7b0-4dac-98cb-3ace78327f8e
      2016-08-31 12:24:13,812-2930540867 [OrderScheduler_Worker-2] DEBUG com.thesearchagency.sapi.services.order.OrderService [] - Modifier Identifier: 73e546db-a7b0-4dac-98cb-3ace78327f8e
      2016-08-31 12:24:13,812-2930540867 [OrderScheduler_Worker-2] DEBUG com.thesearchagency.sapi.services.order.DeploymentServiceHelper [] - Checking deployment of order 7053b14c-2311-4087-be26-7cbfa0e0999e
      2016-08-31 12:24:13,812-2930540867 [OrderScheduler_Worker-2] DEBUG com.thesearchagency.sapi.services.order.DeploymentServiceHelper [] - Getting deployment state from ADS com.thesearchagency.core.common.service.clients.ads.ADSClientFactoryBean$1@7b9f706 for 7053b14c-2311-4087-be26-7cbfa0e0999e
      2016-08-31 12:24:13,922-2930540977 [OrderScheduler_Worker-2] INFO com.thesearchagency.sapi.services.order.error.ErrorHandler [] - Looking up soft errors for campaign[11443] for merchant[07632afe-6339-4f72-bebf-a6ab5594f444], on order [7053b14c-2311-4087-be26-7cbfa0e0999e]
      2016-08-31 12:24:13,952-2930541007 [OrderScheduler_Worker-2] INFO com.thesearchagency.sapi.services.order.error.ErrorHandler [] - ADS returned [0] soft errors for campaign[11443] for merchant[07632afe-6339-4f72-bebf-a6ab5594f444], on order [7053b14c-2311-4087-be26-7cbfa0e0999e]
      2016-08-31 12:24:13,952-2930541007 [OrderScheduler_Worker-2] INFO com.thesearchagency.sapi.services.order.error.ErrorHandler [] - Looking up soft errors for campaign[11444] for merchant[07632afe-6339-4f72-bebf-a6ab5594f444], on order [7053b14c-2311-4087-be26-7cbfa0e0999e]
      2016-08-31 12:24:13,981-2930541036 [OrderScheduler_Worker-2] INFO com.thesearchagency.sapi.services.order.error.ErrorHandler [] - ADS returned [0] soft errors for campaign[11444] for merchant[07632afe-6339-4f72-bebf-a6ab5594f444], on order [7053b14c-2311-4087-be26-7cbfa0e0999e]
      2016-08-31 12:24:13,981-2930541036 [OrderScheduler_Worker-2] INFO com.thesearchagency.sapi.services.order.error.ErrorHandler [] - Looking up soft errors for campaign[11445] for merchant[07632afe-6339-4f72-bebf-a6ab5594f444], on order [7053b14c-2311-4087-be26-7cbfa0e0999e]
      2016-08-31 12:24:14,011-2930541066 [OrderScheduler_Worker-2] INFO com.thesearchagency.sapi.services.order.error.ErrorHandler [] - ADS returned [0] soft errors for campaign[11445] for merchant[07632afe-6339-4f72-bebf-a6ab5594f444], on order [7053b14c-2311-4087-be26-7cbfa0e0999e]
      2016-08-31 12:24:14,011-2930541066 [OrderScheduler_Worker-2] INFO com.thesearchagency.sapi.services.order.error.ErrorHandler [] - Skipping soft error lookup for Success campaign[11446] for merchant[07632afe-6339-4f72-bebf-a6ab5594f444], on order [7053b14c-2311-4087-be26-7cbfa0e0999e]
      2016-08-31 12:24:14,012-2930541067 [OrderScheduler_Worker-2] INFO com.thesearchagency.sapi.services.order.error.ErrorHandler [] - Discovered deployment status for campaign[11446] for merchant[07632afe-6339-4f72-bebf-a6ab5594f444], on order [7053b14c-2311-4087-be26-7cbfa0e0999e] equal to Success...not handling
      2016-08-31 12:24:14,012-2930541067 [OrderScheduler_Worker-2] INFO com.thesearchagency.sapi.services.order.error.ErrorHandler [] - Looking up soft errors for campaign[11684] for merchant[07632afe-6339-4f72-bebf-a6ab5594f444], on order [7053b14c-2311-4087-be26-7cbfa0e0999e]
      2016-08-31 12:24:14,041-2930541096 [OrderScheduler_Worker-2] INFO com.thesearchagency.sapi.services.order.error.ErrorHandler [] - ADS returned [0] soft errors for campaign[11684] for merchant[07632afe-6339-4f72-bebf-a6ab5594f444], on order [7053b14c-2311-4087-be26-7cbfa0e0999e]
      2016-08-31 12:24:14,041-2930541096 [OrderScheduler_Worker-2] INFO com.thesearchagency.sapi.services.order.error.ErrorHandler [] - Looking up soft errors for campaign[11685] for merchant[07632afe-6339-4f72-bebf-a6ab5594f444], on order [7053b14c-2311-4087-be26-7cbfa0e0999e]
      2016-08-31 12:24:14,072-2930541127 [OrderScheduler_Worker-2] WARN com.thesearchagency.sapi.services.order.error.ErrorRetriever [] - Could not determine UUID for keyword list OperationErrorDetail[theCategory=Keyword,theCampaignID=a750_150316_400013_11685_GT,theKeywordListID=<null>,theItemPath=<null>,theOperationErrorCodes=[OperationErrorCode[theCode=0063,theTrigger=<null>,theField=<null>,theReason=<null>,thePolicyName=<null>,thePolicyDescription=Over limit.]],theItemFields=<null>]!
      2016-08-31 12:24:14,072-2930541127 [OrderScheduler_Worker-2] ERROR com.thesearchagency.sapi.services.order.OrderService [] - Could not check the deployment status for Order[7053b14c-2311-4087-be26-7cbfa0e0999e] due to exception: null!
      2016-08-31 12:24:14,073-2930541128 [OrderScheduler_Worker-2] ERROR com.thesearchagency.sapi.services.order.OrderService [] - Stack Trace
      java.lang.NullPointerException: null
      at com.thesearchagency.sapi.services.order.error.ErrorRetriever.getErrorDetails(ErrorRetriever.java:163) ~[ErrorRetriever.class:na]
      at com.thesearchagency.sapi.services.order.error.ErrorRetriever.getErrors(ErrorRetriever.java:63) ~[ErrorRetriever.class:na]
      at com.thesearchagency.sapi.services.order.error.ErrorHandler.handle(ErrorHandler.java:96) ~[ErrorHandler.class:na]
      at com.thesearchagency.sapi.services.order.DeploymentServiceHelper.getDeploymentState(DeploymentServiceHelper.java:220) ~[DeploymentServiceHelper.class:na]
      at com.thesearchagency.sapi.services.order.DeploymentServiceHelper.checkDeploymentState(DeploymentServiceHelper.java:167) ~[DeploymentServiceHelper.class:na]
      at com.thesearchagency.sapi.services.order.OrderService.updateOrderStatus(OrderService.java:787) [OrderService.class:na]
      at com.thesearchagency.sapi.services.order.OrderService.updateOrderProxyStatus(OrderService.java:743) [OrderService.class:na]
      at sun.reflect.GeneratedMethodAccessor189.invoke(Unknown Source) ~[na:na]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_33]
      at java.lang.reflect.Method.invoke(Method.java:622) ~[na:1.6.0_33]
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[spring-aop-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      at com.sun.proxy.$Proxy54.updateOrderProxyStatus(Unknown Source) ~[na:na]
      at com.thesearchagency.sapi.services.order.OrderStatusUpdateJob.updateDeployedOrders(OrderStatusUpdateJob.java:130) ~[OrderStatusUpdateJob.class:na]
      at com.thesearchagency.sapi.services.order.OrderStatusUpdateJob.doRunUpdates(OrderStatusUpdateJob.java:85) ~[OrderStatusUpdateJob.class:na]
      at com.thesearchagency.sapi.services.order.OrderStatusUpdateJob.execute(OrderStatusUpdateJob.java:57) ~[OrderStatusUpdateJob.class:na]
      at org.quartz.core.JobRunShell.run(JobRunShell.java:213) ~[quartz-2.1.7.jar:na]
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) ~[quartz-2.1.7.jar:na]

        Attachments

          Activity

            People

            • Assignee:
              atul.sanagar Atul Sanagar (Inactive)
              Reporter:
              prashanths Prashanth Simpi [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: