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

No partner support email when urlPathText is null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Kirin
    • Fix Version/s: Kirin
    • Labels:
      None
    • Environment:

      Core 2.9.7 beta 2

    • Sprint:
      Sprint 3

      Description

      1) Make urlPathText null in DB for any of the BAs
      eg., SELECT * FROM mms_common.businessAreas WHERE id=250004;
      2) Deploy an order with the BA used in step 1.
      Actual Result:
      Error seen in tomcat and jboss
      Expected Result: Order should get deployed sucessfully with a partment support email.
      Jboss log:

      Payload: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:getOperationErrorDetailsResponse xmlns:ns2="http://thesearchagency.com/smb/core"><getOperationErrorDetailsResponse><operationErrorDetails><category>TextAd</category><campaignID>4814</campaignID><keywordListID>7577</keywordListID><itemPath><description>a398_250004_400009_4814_GM</description><externalID>Parent: 439460814</externalID><status>Unknown Status</status></itemPath><operationErrorCodes><code>0006</code><trigger>path1</trigger><field>ad/path2</field><reason>required.</reason><policyName>required.</policyName><policyDescription>required.</policyDescription></operationErrorCodes><itemFields><field>ad/path2</field><value>path1</value></itemFields></operationErrorDetails><operationErrorDetails><category>TextAd</category><campaignID>4814</campaignID><keywordListID>7577</keywordListID><itemPath><description>a398_250004_400009_4814_GM</description><externalID>Parent: 439460814</externalID><status>Unknown

      Tomcat log:

      2017-01-17 07:57:13,146-78557101 [OrderScheduler_Worker-5] ERROR com.thesearchagency.sapi.services.order.OrderService [] - Could not check the deployment status for Order[cdc01238-ba78-43e5-beeb-7b4e147afb6e] due to exception: null!
      2017-01-17 07:57:13,147-78557102 [OrderScheduler_Worker-5] 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) ~[aml-order-service-3.1.4-BETA1.jar:3.1.4-BETA1]
      at com.thesearchagency.sapi.services.order.error.ErrorRetriever.getErrors(ErrorRetriever.java:63) ~[aml-order-service-3.1.4-BETA1.jar:3.1.4-BETA1]
      at com.thesearchagency.sapi.services.order.error.ErrorHandler.handle(ErrorHandler.java:96) ~[aml-order-service-3.1.4-BETA1.jar:3.1.4-BETA1]
      at com.thesearchagency.sapi.services.order.DeploymentServiceHelper.getDeploymentState(DeploymentServiceHelper.java:220) ~[aml-order-service-3.1.4-BETA1.jar:3.1.4-BETA1]
      at com.thesearchagency.sapi.services.order.DeploymentServiceHelper.checkDeploymentState(DeploymentServiceHelper.java:167) ~[aml-order-service-3.1.4-BETA1.jar:3.1.4-BETA1]
      at com.thesearchagency.sapi.services.order.OrderService.updateOrderStatus(OrderService.java:787) [aml-order-service-3.1.4-BETA1.jar:3.1.4-BETA1]
      at com.thesearchagency.sapi.services.order.OrderService.updateOrderProxyStatus(OrderService.java:743) [aml-order-service-3.1.4-BETA1.jar:3.1.4-BETA1]
      at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source) ~[na:na]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_30]
      at java.lang.reflect.Method.invoke(Method.java:622) ~[na:1.6.0_30]
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319) ~[aml-data-tool-2.9.5-SNAPSHOT.jar:2.9.5-SNAPSHOT]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) ~[aml-data-tool-2.9.5-SNAPSHOT.jar:2.9.5-SNAPSHOT]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) ~[aml-data-tool-2.9.5-SNAPSHOT.jar:2.9.5-SNAPSHOT]
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) ~[aml-data-tool-2.9.5-SNAPSHOT.jar:2.9.5-SNAPSHOT]
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) ~[aml-data-tool-2.9.5-SNAPSHOT.jar:2.9.5-SNAPSHOT]
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) ~[aml-data-tool-2.9.5-SNAPSHOT.jar:2.9.5-SNAPSHOT]
      at com.sun.proxy.$Proxy47.updateOrderProxyStatus(Unknown Source) ~[na:na]
      at com.thesearchagency.sapi.services.order.OrderStatusUpdateJob.updateDeployedOrders(OrderStatusUpdateJob.java:130) ~[aml-order-service-3.1.4-BETA1.jar:3.1.4-BETA1]
      at com.thesearchagency.sapi.services.order.OrderStatusUpdateJob.doRunUpdates(OrderStatusUpdateJob.java:85) ~[aml-order-service-3.1.4-BETA1.jar:3.1.4-BETA1]
      at com.thesearchagency.sapi.services.order.OrderStatusUpdateJob.execute(OrderStatusUpdateJob.java:57) ~[aml-order-service-3.1.4-BETA1.jar:3.1.4-BETA1]
      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]
      2017-01-17 07:58:00,000-78603955 [analytics-email-scheduler-1] INFO com.admaxlocal.analytics.AnalyticsReportIMAPDownloader [] - Downloading Reports
      2017-01-17 07:58:01,533-78605488 [analytics-email-scheduler-1] INFO com.admaxlocal.analytics.AnalyticsReportIMAPDownloader [] - Skipping message with subject : aml-stack-that-doesnt-exist This email should not get deleted. and timestamp : 1467832357000 from sender : dev-analytics-reports <dev-analytics-reports@admaxlocal.com> as it does not contain the stackname : ${analytics-email-stackname}
      2017-01-17 07:58:01,711-78605666 [analytics-email-scheduler-1] INFO com.admaxlocal.analytics.AnalyticsReportIMAPDownloader [] - Finished

        Attachments

          Activity

            People

            • Assignee:
              varshini.padmanabhan Varshini Padmanabhan (Inactive)
              Reporter:
              varshini.padmanabhan Varshini Padmanabhan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: