Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: Aquidneck
-
Fix Version/s: 2.0.0, sprint 14: 12-05-2012, Aquidneck
-
Component/s: None
-
Labels:None
-
Environment:
QA Env SAPI 274 UI 280.
-
Sprint:Sprint 14
Description
I am getting this NPE in the tomcat log for each call to BES. I get this creating orders or review orders (estimate get refreshed). I've tried a bunch of different BA and LOCs (Cosmetic Dentists in AZ, Car Audio in CO, etc.)
2012-12-04 18:00:04,058-11756423 [http-8080-7] DEBUG com.thesearchagency.saas.core.services.campaign.CampaignServiceComponent - New campaign target:
{businessAreaID: 11822 businessLocationID: 55}2012-12-04 18:00:04,099-11756464 [http-8080-7] ERROR com.thesearchagency.saas.core.services.campaign.TSABudgetEstimateResultTranslator - Unable to get the Minimum Price property (minPrice) from reseller properties! Defaulting to 0F: com.reseller1
java.lang.NullPointerException
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1009)
at java.lang.Float.parseFloat(Float.java:439)
at com.thesearchagency.saas.core.services.campaign.TSABudgetEstimateResultTranslator.translate(TSABudgetEstimateResultTranslator.java:31)
at com.thesearchagency.saas.core.services.campaign.CampaignServiceComponent.getCampaignEstimate(CampaignServiceComponent.java:135)
at com.thesearchagency.sapi.services.campaign.CampaignService.getCampaignEstimate(CampaignService.java:123)
at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:167)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:94)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:94)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:130)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:221)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:141)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:197)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:679)
2012-12-04 18:00:04,104-11756469 [http-8080-7] INFO com.thesearchagency.saas.core.services.campaign.CampaignServiceComponent - Google Aggregate Estimate
min price: 28.995 max price: 3841.352 min clicks: 3.0 max clicks: 357.706
2012-12-04 18:00:04,104-11756469 [http-8080-7] DEBUG com.thesearchagency.sapi.services.campaign.CampaignService - Core returned: {Status=VALID, ComponentEstimates=[{Status=VALID, Service=GOOGLE, ComponentEstimates=[
], MinimumClicks=3.0, MaximumClicks=357.706, MinimumPrice=28.995, MaximumPrice=3841.352, Criteria=campaigns (businessAreaId in ('11822') and locationId in ('55') and services in ('GOOGLE'))}], MinimumClicks=3.0, MaximumClicks=357.706, MinimumPrice=28.995, MaximumPrice=3841.352, Criteria=campaigns (services in ('GOOGLE') and businessAreaId in ('11822') and locationId in ('55'))}