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

Cannot find minPrice NPE in Reseller1 domain

    Details

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

      QA:
      SAPI 432
      UI 28

    • Sprint:
      Sprint 2

      Description

      The system cannot find a Min Price property in the reseller1 domain and is throwing an NPE. The min-price property is set in the realm. I tried setting minPrice property too without any luck. Here is the exception:

      2013-02-07 21:40:40,848-3149836 [http-8080-1] WARN com.thesearchagency.saas.core.services.campaign.TSABudgetEstimateResultTranslator [timezone=UTC, principalId=273c4aab-e844-42d1-8c5a-2063ca535bba, requestId=30e60051-fecb-4de6-baf2-b96fd59799d0, locale=en_US, authToken=X2CU34D5NWDJUP4JZFGGCG6XINKUMC25RE7R6OQ3XPHOSKHPE6FBFC6LSINEZVTNZ2H4AAG7KQY5PUQVXKGHQHHEAPLKVYZKNB2XN2YITECWJ6SFWR776GNVZJ5JO3DIKXLMAKXGYCRPHFM6FJUPLTWK55IBGAGWYRK4C2USFO33ZLWH24SEXWEOXJ46UXSGK5WNZIZK2TVBELJEXSAL45O5UY======, hostname=70.166.144.17, ipAddress=70.166.144.17] - Unable to get the Minimum Price property (minPrice) from reseller properties! Defaulting to 0F: com.reseller1
      java.lang.NullPointerException: null
      at com.thesearchagency.saas.core.services.campaign.TSABudgetEstimateResultTranslator.translate(TSABudgetEstimateResultTranslator.java:35) ~[saas-core-services-campaign-service-component-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
      at com.thesearchagency.saas.core.services.campaign.CampaignServiceComponent.getCampaignEstimate(CampaignServiceComponent.java:135) [saas-core-services-campaign-service-component-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
      at com.thesearchagency.sapi.services.campaign.CampaignService.getCampaignEstimate(CampaignService.java:119) [CampaignService.class:na]
      at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source) ~[na:na]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_24]
      at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_24]
      at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180) [cxf-api-2.6.2.jar:2.6.2]
      at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96) [cxf-api-2.6.2.jar:2.6.2]
      at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167) [cxf-rt-frontend-jaxrs-2.6.2.jar:2.6.2]
      at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94) [cxf-rt-frontend-jaxrs-2.6.2.jar:2.6.2]
      at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58) [cxf-api-2.6.2.jar:2.6.2]
      at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94) [cxf-api-2.6.2.jar:2.6.2]
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262) [cxf-api-2.6.2.jar:2.6.2]
      at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) [cxf-api-2.6.2.jar:2.6.2]
      at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211) [cxf-rt-transports-http-2.6.2.jar:2.6.2]
      at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213) [cxf-rt-transports-http-2.6.2.jar:2.6.2]
      at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154) [cxf-rt-transports-http-2.6.2.jar:2.6.2]
      at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130) [cxf-rt-transports-http-2.6.2.jar:2.6.2]
      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221) [cxf-rt-transports-http-2.6.2.jar:2.6.2]
      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:141) [cxf-rt-transports-http-2.6.2.jar:2.6.2]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) [tomcat6-servlet-2.5-api-6.0.24.jar:na]
      at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197) [cxf-rt-transports-http-2.6.2.jar:2.6.2]
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina-6.0.24.jar:na]
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina-6.0.24.jar:na]
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina-6.0.24.jar:na]
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina-6.0.24.jar:na]
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina-6.0.24.jar:na]
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina-6.0.24.jar:na]
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina-6.0.24.jar:na]
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) [catalina-6.0.24.jar:na]
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) [tomcat-coyote-6.0.24.jar:na]
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) [tomcat-coyote-6.0.24.jar:na]
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) [tomcat-coyote-6.0.24.jar:na]
      at java.lang.Thread.run(Thread.java:679) [na:1.6.0_24]

        Attachments

          Activity

            People

            • Assignee:
              gavin.nicol Gavin Nicol (Inactive)
              Reporter:
              jeff.brown Jeff Brown (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: