<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1234 "Could not process received email... java.lang.NumberFormatException" error thrown when attempting to start a process via email</title><link>https://community.appian.com/support/w/kb/449/kb-1234-could-not-process-received-email-java-lang-numberformatexception-error-thrown-when-attempting-to-start-a-process-via-email</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1234 "Could not process received email... java.lang.NumberFormatException" error thrown when attempting to start a process via email</title><link>https://community.appian.com/support/w/kb/449/kb-1234-could-not-process-received-email-java-lang-numberformatexception-error-thrown-when-attempting-to-start-a-process-via-email</link><pubDate>Wed, 25 Jul 2018 06:47:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ab2126a3-39ff-408f-9725-71b4fa7b793f</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/449/kb-1234-could-not-process-received-email-java-lang-numberformatexception-error-thrown-when-attempting-to-start-a-process-via-email#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 7/25/2018 6:47:31 AM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When attempting to start a process via email, at least one the following errors is seen in the application server log:&lt;/p&gt;
&lt;p&gt;Error 1:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR com.appiancorp.messaging.MessagePublisherServiceImpl - Could not process received email
java.lang.NumberFormatException: For input string: &amp;quot;&amp;lt;XXXX&amp;gt;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Error 2:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR com.appiancorp.mdb.EmailHandlerBean - Error receiving message in EmailHandlerBean MDB
javax.mail.MessagingException: Message could not be sent;
nested exception is:
java.lang.NumberFormatException: For input string: &amp;quot;&amp;lt;XXXX&amp;gt;&amp;quot;
...
Caused by: java.lang.NumberFormatException: For input string: &amp;quot;&amp;lt;XXXX&amp;gt;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This issue occurs when an invalid character is found in the parameter after the corresponding destination key (process, processmodel, event) in the email address used to start the process.&lt;/p&gt;
&lt;p&gt;For instance, in &lt;code&gt;process&amp;lt;id&amp;gt;@appian.com&lt;/code&gt;, &lt;code&gt;&amp;lt;id&amp;gt;&lt;/code&gt; should only consist of numbers, but if a non-numeric character is inserted somewhere in the &lt;code&gt;&amp;lt;id&amp;gt;&lt;/code&gt; parameter, then the NumberFormatException error will be thrown.&lt;/p&gt;
&lt;p&gt;Refer to &lt;a href="https://forum.appian.com/suite/help/16.2/Sending_an_Email_Message_to_a_Process.html#Cloud"&gt;Sending an Email Message to a Process&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;There are two solutions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If you are polling an email account that contains an Appian keyword from the list below, enable an alternate name to remove it from the email address and send the emails to the alternate name instead (e.g., change &amp;quot;&lt;a href="mailto:ProcessXYZ@appiancorp.com"&gt;ProcessXYZ@appiancorp.com&lt;/a&gt;&amp;quot; to &amp;quot;&lt;a href="mailto:ProcXYZ@appiancorp.com"&gt;ProcXYZ@appiancorp.com&lt;/a&gt;&amp;quot;). &lt;strong&gt;Note:&lt;/strong&gt; The Appian email-related keywords are &lt;strong&gt;process&lt;/strong&gt;, &lt;strong&gt;event&lt;/strong&gt;, &lt;strong&gt;processmodel&lt;/strong&gt;, and &lt;strong&gt;processmodeluuid&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;When using an email address that begins with an Appian email-related keyword, use the following formats:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;process&amp;lt;id&amp;gt;@domain.com&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;event&amp;lt;eventId&amp;gt;@domain.com&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;processmodel&amp;lt;id&amp;gt;@domain.com&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;processmodeluuid&amp;lt;model_uuid&amp;gt;@domain.com&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;March 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: email, process models, application design, processes, infrastructure&lt;/div&gt;
</description></item><item><title>KB-1234 "Could not process received email... java.lang.NumberFormatException" error thrown when attempting to start a process via email</title><link>https://community.appian.com/support/w/kb/449/kb-1234-could-not-process-received-email-java-lang-numberformatexception-error-thrown-when-attempting-to-start-a-process-via-email/revision/1</link><pubDate>Mon, 06 Mar 2017 22:06:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ab2126a3-39ff-408f-9725-71b4fa7b793f</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/449/kb-1234-could-not-process-received-email-java-lang-numberformatexception-error-thrown-when-attempting-to-start-a-process-via-email#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 3/6/2017 10:06:14 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When attempting to start a process via email, at least one the following errors is seen in the application server log:&lt;/p&gt;
&lt;p&gt;Error 1:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR com.appiancorp.messaging.MessagePublisherServiceImpl - Could not process received email
java.lang.NumberFormatException: For input string: &amp;quot;&amp;lt;XXXX&amp;gt;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Error 2:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR com.appiancorp.mdb.EmailHandlerBean - Error receiving message in EmailHandlerBean MDB
javax.mail.MessagingException: Message could not be sent;
nested exception is:
java.lang.NumberFormatException: For input string: &amp;quot;&amp;lt;XXXX&amp;gt;&amp;quot;
...
Caused by: java.lang.NumberFormatException: For input string: &amp;quot;&amp;lt;XXXX&amp;gt;&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This issue occurs when an invalid character is found in the parameter after the corresponding destination key (process, processmodel, event) in the email address used to start the process.&lt;/p&gt;
&lt;p&gt;For instance, in &lt;code&gt;process&amp;lt;id&amp;gt;@appian.com&lt;/code&gt;, &lt;code&gt;&amp;lt;id&amp;gt;&lt;/code&gt; should only consist of numbers, but if a non-numeric character is inserted somewhere in the &lt;code&gt;&amp;lt;id&amp;gt;&lt;/code&gt; parameter, then the NumberFormatException error will be thrown.&lt;/p&gt;
&lt;p&gt;Refer to &lt;a href="https://forum.appian.com/suite/help/16.2/Sending_an_Email_Message_to_a_Process.html#Cloud"&gt;Sending an Email Message to a Process&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;There are two solutions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If you are polling an email account that contains an Appian keyword from the list below, enable an alternate name to remove it from the email address and send the emails to the alternate name instead (e.g., change &amp;quot;&lt;a href="mailto:ProcessXYZ@appiancorp.com"&gt;ProcessXYZ@appiancorp.com&lt;/a&gt;&amp;quot; to &amp;quot;&lt;a href="mailto:ProcXYZ@appiancorp.com"&gt;ProcXYZ@appiancorp.com&lt;/a&gt;&amp;quot;). &lt;strong&gt;Note:&lt;/strong&gt; The Appian email-related keywords are &lt;strong&gt;process&lt;/strong&gt;, &lt;strong&gt;event&lt;/strong&gt;, &lt;strong&gt;processmodel&lt;/strong&gt;, and &lt;strong&gt;processmodeluuid&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;When using an email address that begins with an Appian email-related keyword, use the following formats:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;process&amp;lt;id&amp;gt;@domain.com&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;event&amp;lt;eventId&amp;gt;@domain.com&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;processmodel&amp;lt;id&amp;gt;@domain.com&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;processmodeluuid&amp;lt;model_uuid&amp;gt;@domain.com&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="affected-versions"&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Last Reviewed:&amp;nbsp;March 2017&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: email&lt;/div&gt;
</description></item></channel></rss>