<?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-1242 "Unable to convert to expected Date/Time Java types" error repeated in application server log</title><link>https://community.appian.com/support/w/kb/457/kb-1242-unable-to-convert-to-expected-date-time-java-types-error-repeated-in-application-server-log</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1242 "Unable to convert to expected Date/Time Java types" error repeated in application server log</title><link>https://community.appian.com/support/w/kb/457/kb-1242-unable-to-convert-to-expected-date-time-java-types-error-repeated-in-application-server-log</link><pubDate>Mon, 23 Jul 2018 17:36:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9ac005c4-31c9-431d-a1d2-ae7aef0c24f0</guid><dc:creator>Jordan Horwat</dc:creator><comments>https://community.appian.com/support/w/kb/457/kb-1242-unable-to-convert-to-expected-date-time-java-types-error-repeated-in-application-server-log#comments</comments><description>Current Revision posted to Appian Knowledge Base by Jordan Horwat on 7/23/2018 5:36:39 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is repeated in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR com.appiancorp.process.runtime.activities.QueryRdbmsActivity - Unable to convert to expected Date/Time Java types
java.lang.NullPointerException
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;There is no error on the front end.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This will happen if Appian pulls back a date/datetime column from a database and one of the values in that column is null.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;This error can be ignored. This has been reported to the Appian product team as&amp;nbsp;&lt;strong&gt;AN-45088&lt;/strong&gt; to improve the exception handling.&lt;/p&gt;
&lt;p&gt;To determine what table is causing the problem, follow the steps below:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/resources&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Search for the following line in the &lt;strong&gt;appian_log4j.properties&lt;/strong&gt; and change the logging level to &lt;code&gt;DEBUG&lt;/code&gt; as follows:&lt;/p&gt;
&lt;p&gt;log4j.logger.com.appiancorp.process.runtime.activities.QueryRdbmsActivity=DEBUG&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This will print &lt;code&gt;DEBUG&lt;/code&gt; lines in the application server log and the output will show what query is causing this problem. You can then decide from there whether you should add a default value to that field which is null.&lt;/p&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: March 2017&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, application server, infrastructure, open issues&lt;/div&gt;
</description></item><item><title>KB-1242 "Unable to convert to expected Date/Time Java types" error repeated in application server log</title><link>https://community.appian.com/support/w/kb/457/kb-1242-unable-to-convert-to-expected-date-time-java-types-error-repeated-in-application-server-log/revision/1</link><pubDate>Mon, 06 Mar 2017 22:30:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9ac005c4-31c9-431d-a1d2-ae7aef0c24f0</guid><dc:creator>Nick Vigilante</dc:creator><comments>https://community.appian.com/support/w/kb/457/kb-1242-unable-to-convert-to-expected-date-time-java-types-error-repeated-in-application-server-log#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Nick Vigilante on 3/6/2017 10:30:44 PM&lt;br /&gt;
&lt;div class="row content_container"&gt;
&lt;h2 id="symptoms"&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following error is repeated in the application server log:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ERROR com.appiancorp.process.runtime.activities.QueryRdbmsActivity - Unable to convert to expected Date/Time Java types
java.lang.NullPointerException
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;There is no error on the front end.&lt;/p&gt;
&lt;h2 id="cause"&gt;Cause&lt;/h2&gt;
&lt;p&gt;This will happen if Appian pulls back a date/datetime column from a database and one of the values in that column is null.&lt;/p&gt;
&lt;h2 id="action"&gt;Action&lt;/h2&gt;
&lt;p&gt;This error can be ignored. This has been reported to the Appian product team as&amp;nbsp;&lt;strong&gt;AN-45088&lt;/strong&gt; to improve the exception handling.&lt;/p&gt;
&lt;p&gt;To determine what table is causing the problem, follow the steps below:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/ear/suite.ear/resources&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Search for the following line in the &lt;strong&gt;appian_log4j.properties&lt;/strong&gt; and change the logging level to &lt;code&gt;DEBUG&lt;/code&gt; as follows:&lt;/p&gt;
&lt;p&gt;log4j.logger.com.appiancorp.process.runtime.activities.QueryRdbmsActivity=DEBUG&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This will print &lt;code&gt;DEBUG&lt;/code&gt; lines in the application server log and the output will show what query is causing this problem. You can then decide from there whether you should add a default value to that field which is null.&lt;/p&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: March 2017&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, application server, open issues&lt;/div&gt;
</description></item></channel></rss>