Summary:

An error may occur whereby a mailshot generated using an e-marketing campaign results in emails not being sent. After the mailshot is completed, a blue banner displays the following:

Recipient list creation in progress

However, emails are never sent.

 

Symptoms:

The following error appears in the stdout.log:

Exception in thread "SyncEngine thread" java.lang.IllegalArgumentException
at java.net.URI.create(Unknown Source)
at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:69)
at com.sage.scrm.core.httpconsumer.HttpConsumer.doGet(HttpConsumer.java:535)
at com.sage.scrm.syncengine.emarketing.scheduler.utils.RecipientsHelper.getRecipients(RecipientsHelper.java:140)
at com.sage.scrm.syncengine.emarketing.scheduler.EmailBlastThread.processData(EmailBlastThread.java:221)
at com.sage.scrm.syncengine.emarketing.scheduler.EmailBlastThread.run(EmailBlastThread.java:120)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.URISyntaxException: Illegal character in fragment at index 13: #ENDPOINT_URL#/$service/getEmarketingRecipients?waveItemID=23&groupID=253&emailField=Pers_EmailAddress&pageNumber=1&recipientsPerPage=1000
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
... 7 more

Work around / Resolution:

The syncengine.properties file for the SP sync engine webapp was not populated correctly. This should be in the following format. The user is named CRMUser, with a password of Password. the server is named crmserver, and the CRM instance is called crminstance.

syncengine.crmuser=CRMUser
syncengine.ignoreSSLCertificateErrors=true
syncengine.configurationpollinginterval=5
syncengine.crmpassword=Password
scrm.version=${scrm.version}
syncengine.statusSyncHistoryDepth=20
syncengine.configurationurl= http\://CRMSERVER/sdata/crminstancej/
scrm.language=${scrm.language}
syncengine.authenticateRequests=true
syncengine.maxsyncthreadinactivityperiod=15