Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.1.0-RC1
-
Fix Version/s: None
-
Component/s: Site Generation Service
-
Labels:None
-
Environment:
optus-qa-jboss7
Description
Soap request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sit="http://www.thesearchagency.com/SiteGenerationService/">
<soapenv:Header/>
<soapenv:Body>
<sit:deploySiteRequest>
<header>
<requestID>1</requestID>
<retryID>1</retryID>
</header>
<customer>
<customerID>qacustomer1</customerID>
<domainName>www.optus-qa-domain1.com</domainName>
<!-Optional:->
<customerURL>www.optus-qa1.com</customerURL>
<primaryBusinessAreaID>20000065</primaryBusinessAreaID>
<primaryBusinessLocationID>1</primaryBusinessLocationID>
</customer>
<ipPoolID>A</ipPoolID>
<!-Zero or more repetitions:->
<branchAddressList>
<branchAddressID>1</branchAddressID>
<!-Optional:->
<branchName>QA Branch</branchName>
<!-Optional:->
<addressLine1>test line1</addressLine1>
<!-Optional:->
<addressLine2>test line2</addressLine2>
<!-Optional:->
<addressLine3>test line3</addressLine3>
<!-Optional:->
<addressLine4>test line4</addressLine4>
<!-Optional:->
<town>Sydney</town>
<!-Optional:->
<state>NSW</state>
<!-Optional:->
<countryCode>AU</countryCode>
<!-Optional:->
<postCode>2154</postCode>
<mainBranchFlag>false</mainBranchFlag>
<!-Optional:->
<linkedBusinessLocationID>10</linkedBusinessLocationID>
</branchAddressList>
<branchAddressList>
<branchAddressID>2</branchAddressID>
<!-Optional:->
<branchName>QA Branch 2</branchName>
<!-Optional:->
<addressLine1>test line1 2</addressLine1>
<!-Optional:->
<addressLine2>test line2 2</addressLine2>
<!-Optional:->
<addressLine3>test line3 2</addressLine3>
<!-Optional:->
<addressLine4>test line4 2</addressLine4>
<!-Optional:->
<town>Sydney</town>
<!-Optional:->
<state>NSW</state>
<!-Optional:->
<countryCode>AU</countryCode>
<!-Optional:->
<postCode>2154</postCode>
<mainBranchFlag>false</mainBranchFlag>
<!-Optional:->
<linkedBusinessLocationID>10</linkedBusinessLocationID>
</branchAddressList>
<!-Optional:->
<telephoneList>
<telephoneID>1</telephoneID>
<!-Optional:->
<formattedCountryCode>011</formattedCountryCode>
<!-Optional:->
<formattedTelephoneNumber>(444) 555-6666</formattedTelephoneNumber>
<!-Optional:->
<formattedFaxCountryCode>011</formattedFaxCountryCode>
<!-Optional:->
<formattedFaxTelephoneNumber>(444) 555-7777</formattedFaxTelephoneNumber>
</telephoneList>
<!-1 or more repetitions:->
<campaignSiteInfoList>
<campaignInfo>
<campaignID>qacampaign</campaignID>
<businessAreaID>1</businessAreaID>
<businessLocationID>10</businessLocationID>
</campaignInfo>
<siteInfo>
<!-1 or more repetitions:->
<customMerchantAttributeList>
<sequenceNumber>1</sequenceNumber>
<attribute>We make house calls!</attribute>
</customMerchantAttributeList>
<callToAction>Call us now!</callToAction>
<businessName>The QA people</businessName>
<!-Optional:->
<branchAddressID>1</branchAddressID>
<!-Optional:->
<telephoneID>1</telephoneID>
<!-Optional:->
<emailAddress>qatesters@theqapeople.com</emailAddress>
</siteInfo>
</campaignSiteInfoList>
</sit:deploySiteRequest>
</soapenv:Body>
</soapenv:Envelope>
Log:
2011-10-20 13:30:08,904 WARN [com.thesearchagency.optus.service.sitegeneration.SiteGenerationService] (http-0.0.0.0-8080-1) Queueing DeploySiteRequest
2011-10-20 13:30:08,907 ERROR [com.thesearchagency.optus.service.sitegeneration.SiteGenerationService] (http-0.0.0.0-8080-1) Error in site generation:
java.lang.NullPointerException
at com.thesearchagency.optus.service.sitegeneration.mapper.CustomerMapper.convert(CustomerMapper.java:15)
at com.thesearchagency.optus.service.sitegeneration.mapper.DeploySiteRequestMapper.convert(DeploySiteRequestMapper.java:12)
at com.thesearchagency.optus.service.sitegeneration.SiteGenerationService.deploySite(SiteGenerationService.java:67)
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.jboss.wsf.common.invocation.AbstractInvocationHandlerJSE.invoke(AbstractInvocationHandlerJSE.java:129)
at org.jboss.wsf.stack.cxf.AbstractInvoker._invokeInternal(AbstractInvoker.java:164)
at org.jboss.wsf.stack.cxf.AbstractInvoker.invoke(AbstractInvoker.java:112)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)
at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:97)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:461)
at org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:172)
at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:57)
at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:162)
at org.jboss.wsf.stack.cxf.CXFNonSpringServletExt.invoke(CXFNonSpringServletExt.java:90)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:662)