<?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-1645 NullPointerException when using Post System Event to Feed Smart Service</title><link>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1645 NullPointerException when using Post System Event to Feed Smart Service</title><link>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service</link><pubDate>Sun, 12 Aug 2018 23:47:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c5c17a0-de14-420b-acd2-dee332ee4998</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 8/12/2018 11:47:12 PM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;a href="https://docs.appian.com/suite/help/latest/Post_System_Event_to_Feed_Smart_Service.html" target="_blank"&gt;Post System Event to Feed Smart Service&lt;/a&gt; fails, generating a system alert. In the app server log, the following error is printed:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) YYYY-MM-DD HH:MM:SS [ajp-/0.0.0.0:8009-18] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=268456448, classname=com.appiancorp.process.runtime.activities.PostSystemEventToFeedSmartService4 
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.eventNotSent.userMsg=Internal error. The system event was not sent.] alertMsg[error.eventNotSent.alertMsg=Internal error (java.lang.NullPointerException). The system event was not sent.]
...
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) Caused by: java.lang.NullPointerException
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.user.User.&amp;lt;init&amp;gt;(User.java:49)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.audit.AuditInfo.initForCreate(AuditInfo.java:62)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.bindEntryDataFromKToRdbms(RdbmsFeedSourceImpl.java:1499)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.addEntry(RdbmsFeedSourceImpl.java:546)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.process.runtime.activities.FeedHelper.postToFeed(FeedHelper.java:63)&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The username of the user designated to run this smart service is different in the primary database and the Appian engines. This difference causes a &lt;code&gt;NullPointerException&lt;/code&gt; when attempting to invoke the smart service.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Compare the corresponding username in the primary database with the username that is referenced by the Appian engines. The username referenced by the engines can be observed in the User section of the administrator console. The username in the primary database can obtained with a SQL query against the &lt;code&gt;usr&lt;/code&gt; table.&lt;/p&gt;
&lt;p&gt;If these are different, update the component that has the incorrect username such that both usernames are the same. If you require assistance with this or any step, reach out to Appian Technical Support for assistance.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last Reviewed: August 2018&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, engines, smart service, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX NullPointerException when using Post System Event to Feed Smart Service</title><link>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service/revision/6</link><pubDate>Thu, 02 Aug 2018 03:25:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c5c17a0-de14-420b-acd2-dee332ee4998</guid><dc:creator>Tristan Newmann</dc:creator><comments>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Tristan Newmann on 8/2/2018 3:25:04 AM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The Post System Event to Feed smart service fails, generating a system alert. In the app server log, the following error is printed:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) YYYY-MM-DD HH:MM:SS [ajp-/0.0.0.0:8009-18] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=268456448, classname=com.appiancorp.process.runtime.activities.PostSystemEventToFeedSmartService4 
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.eventNotSent.userMsg=Internal error. The system event was not sent.] alertMsg[error.eventNotSent.alertMsg=Internal error (java.lang.NullPointerException). The system event was not sent.]
...
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) Caused by: java.lang.NullPointerException
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.user.User.&amp;lt;init&amp;gt;(User.java:49)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.audit.AuditInfo.initForCreate(AuditInfo.java:62)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.bindEntryDataFromKToRdbms(RdbmsFeedSourceImpl.java:1499)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.addEntry(RdbmsFeedSourceImpl.java:546)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.process.runtime.activities.FeedHelper.postToFeed(FeedHelper.java:63)&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The username of the user designated to run this smart service is different in the primary database and the Appian engines. This difference causes a &lt;code&gt;NullPointerException&lt;/code&gt; when attempting to invoke the smart service.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Compare the corresponding username in the primary database with the username that is referenced by the Appian engines. The username referenced by the engines can be observed in the User section of the administrator console. The username in the primary database can obtained with a SQL query against the &lt;code&gt;usr&lt;/code&gt; table.&lt;/p&gt;
&lt;p&gt;If these are different, update the component that has the incorrect username such that both usernames are the same. If you require assistance with this or any step, reach out to Appian Technical Support for assistance.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last Reviewed: July 2018&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, engines, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX NullPointerException when using Post System Event to Feed Smart Service</title><link>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service/revision/5</link><pubDate>Tue, 24 Jul 2018 00:08:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c5c17a0-de14-420b-acd2-dee332ee4998</guid><dc:creator>Tristan Newmann</dc:creator><comments>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Tristan Newmann on 7/24/2018 12:08:47 AM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The Post System Event to Feed smart service fails, generating a system alert. In the app server log, the following error is printed:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) YYYY-MM-DD HH:MM:SS [ajp-/0.0.0.0:8009-18] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=268456448, classname=com.appiancorp.process.runtime.activities.PostSystemEventToFeedSmartService4 
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.eventNotSent.userMsg=Internal error. The system event was not sent.] alertMsg[error.eventNotSent.alertMsg=Internal error (java.lang.NullPointerException). The system event was not sent.]
...
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) Caused by: java.lang.NullPointerException
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.user.User.&amp;lt;init&amp;gt;(User.java:49)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.audit.AuditInfo.initForCreate(AuditInfo.java:62)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.bindEntryDataFromKToRdbms(RdbmsFeedSourceImpl.java:1499)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.addEntry(RdbmsFeedSourceImpl.java:546)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.process.runtime.activities.FeedHelper.postToFeed(FeedHelper.java:63)&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The username of the user configured in the smart service is different in the primary database and the Appian engines. This difference causes a &lt;code&gt;NullPointerException&lt;/code&gt; when attempting to invoke the smart service.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Compare the corresponding username in the primary database with the username that is referenced by the Appian engines. The username referenced by the engines can be observed in the User section of the administrator console. The username in the primary database can obtained with a SQL query against the &lt;code&gt;usr&lt;/code&gt; table.&lt;/p&gt;
&lt;p&gt;If these are different, update the component that has the incorrect username such that both usernames are the same. If you require assistance with this or any step, reach out to Appian Technical Support for assistance.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last Reviewed: July 2018&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, engines, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX NullPointerException when using Post System Event to Feed Smart Service</title><link>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service/revision/4</link><pubDate>Tue, 24 Jul 2018 00:08:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c5c17a0-de14-420b-acd2-dee332ee4998</guid><dc:creator>Tristan Newmann</dc:creator><comments>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Tristan Newmann on 7/24/2018 12:08:34 AM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The Post System Event to Feed smart service fails, generating a system alert. In the app server log, the following error is printed:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) YYYY-MM-DD HH:MM:SS [ajp-/0.0.0.0:8009-18] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=268456448, classname=com.appiancorp.process.runtime.activities.PostSystemEventToFeedSmartService4 
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.eventNotSent.userMsg=Internal error. The system event was not sent.] alertMsg[error.eventNotSent.alertMsg=Internal error (java.lang.NullPointerException). The system event was not sent.]
...
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) Caused by: java.lang.NullPointerException
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.user.User.&amp;lt;init&amp;gt;(User.java:49)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.audit.AuditInfo.initForCreate(AuditInfo.java:62)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.bindEntryDataFromKToRdbms(RdbmsFeedSourceImpl.java:1499)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.addEntry(RdbmsFeedSourceImpl.java:546)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.process.runtime.activities.FeedHelper.postToFeed(FeedHelper.java:63)&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The username of the user configured in the smart service is different in the primary database and the Appian engines. This difference causes a &lt;code&gt;NullPointerException&lt;/code&gt; when attempting to invoke the smart service.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Compare the corresponding username in the primary database with the username that is referenced by the Appian engines. The username referenced by the engines can be observed in the User section of the administrator console. The username in the primary database can obtainted with a SQL query against the &lt;code&gt;usr&lt;/code&gt; table.&lt;/p&gt;
&lt;p&gt;If these are different, update the component that has the incorrect username such that both usernames are the same. If you require assistance with this or any step, reach out to Appian Technical Support for assistance.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last Reviewed: July 2018&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, engines, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX NullPointerException when using Post System Event to Feed Smart Service</title><link>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service/revision/3</link><pubDate>Tue, 24 Jul 2018 00:07:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c5c17a0-de14-420b-acd2-dee332ee4998</guid><dc:creator>Tristan Newmann</dc:creator><comments>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Tristan Newmann on 7/24/2018 12:07:05 AM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The Post System Event to Feed smart service fails, generating a system alert. In the app server log, the following error is printed:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) YYYY-MM-DD HH:MM:SS [ajp-/0.0.0.0:8009-18] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=268456448, classname=com.appiancorp.process.runtime.activities.PostSystemEventToFeedSmartService4 
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.eventNotSent.userMsg=Internal error. The system event was not sent.] alertMsg[error.eventNotSent.alertMsg=Internal error (java.lang.NullPointerException). The system event was not sent.]
...
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) Caused by: java.lang.NullPointerException
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.user.User.&amp;lt;init&amp;gt;(User.java:49)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.audit.AuditInfo.initForCreate(AuditInfo.java:62)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.bindEntryDataFromKToRdbms(RdbmsFeedSourceImpl.java:1499)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.addEntry(RdbmsFeedSourceImpl.java:546)
HH:MM:SS INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.process.runtime.activities.FeedHelper.postToFeed(FeedHelper.java:63)&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The username of the user configured in the smart service is different in the primary database and the Appian engines. This difference causes a &lt;code&gt;NullPointerException&lt;/code&gt; when attempting to invoke the smart service.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Compare the corresponding username in the primary database with the username that is referenced by the Appian engines. This can be peformed by observing the username listed in the Appian Administration Console to obtain the username as stored in the Appian Engines. The username in the primary database can obtainted with a SQL query against the &lt;code&gt;usr&lt;/code&gt; table.&lt;/p&gt;
&lt;p&gt;If these are different, update the component that has the incorrect username such that both usernames are the same. If you require assistance with this or any step, reach out to Appian Technical Support for assistance.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last Reviewed: July 2018&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, engines, infrastructure&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX NullPointerException when using Post System Event to Feed Smart Service</title><link>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service/revision/1</link><pubDate>Wed, 18 Jul 2018 05:23:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c5c17a0-de14-420b-acd2-dee332ee4998</guid><dc:creator>Tristan Newmann</dc:creator><comments>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Tristan Newmann on 7/18/2018 5:23:51 AM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The Post System Event to Feed smart service fails generating a system alert. In the app server log, the following error is printed:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;03:25:20,338 INFO [stdout] (ajp-/0.0.0.0:8009-18) 2018-07-10 03:25:20,336 [ajp-/0.0.0.0:8009-18] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=268456448, classname=com.appiancorp.process.runtime.activities.PostSystemEventToFeedSmartService4 03:25:20,338 INFO [stdout] (ajp-/0.0.0.0:8009-18) com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.eventNotSent.userMsg=Internal error. The system event was not sent.] alertMsg[error.eventNotSent.alertMsg=Internal error (java.lang.NullPointerException). The system event was not sent.]&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;...&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;03:25:20,342 INFO [stdout] (ajp-/0.0.0.0:8009-18) Caused by: java.lang.NullPointerException
03:25:20,342 INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.user.User.&amp;lt;init&amp;gt;(User.java:49)
03:25:20,342 INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.audit.AuditInfo.initForCreate(AuditInfo.java:62)
03:25:20,342 INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.bindEntryDataFromKToRdbms(RdbmsFeedSourceImpl.java:1499)
03:25:20,342 INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.addEntry(RdbmsFeedSourceImpl.java:546)
03:25:20,342 INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.process.runtime.activities.FeedHelper.postToFeed(FeedHelper.java:63)&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The username of the user configured in the smart service is configured differently in the primary database and the Appian engines. This difference causes a NullPointerException when attempting to invoke the smart service.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Compare the username defined in the primary database for the user, and the ones referenced by the Appian engines. If these are different, update the component that has the incorrect username such that both usernames are the same. If you require assistance with this step, reach out to Appian Technical Support for assistance.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last Reviewed: July 2018&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX NullPointerException when using Post System Event to Feed Smart Service</title><link>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service/revision/2</link><pubDate>Wed, 18 Jul 2018 01:25:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c5c17a0-de14-420b-acd2-dee332ee4998</guid><dc:creator>Tristan Newmann</dc:creator><comments>https://community.appian.com/support/w/kb/1028/kb-1645-nullpointerexception-when-using-post-system-event-to-feed-smart-service#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Tristan Newmann on 7/18/2018 1:25:49 AM&lt;br /&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The Post System Event to Feed smart service fails generating a system alert. In the app server log, the following error is printed:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span style="font-weight:400;"&gt;03:25:20,338 INFO [stdout] (ajp-/0.0.0.0:8009-18) 2018-07-10 03:25:20,336 [ajp-/0.0.0.0:8009-18] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=268456448, classname=com.appiancorp.process.runtime.activities.PostSystemEventToFeedSmartService4 03:25:20,338 INFO [stdout] (ajp-/0.0.0.0:8009-18) com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.eventNotSent.userMsg=Internal error. The system event was not sent.] alertMsg[error.eventNotSent.alertMsg=Internal error (java.lang.NullPointerException). The system event was not sent.]
...
03:25:20,342 INFO [stdout] (ajp-/0.0.0.0:8009-18) Caused by: java.lang.NullPointerException
03:25:20,342 INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.user.User.&amp;lt;init&amp;gt;(User.java:49)
03:25:20,342 INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.security.audit.AuditInfo.initForCreate(AuditInfo.java:62)
03:25:20,342 INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.bindEntryDataFromKToRdbms(RdbmsFeedSourceImpl.java:1499)
03:25:20,342 INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.tempo.rdbms.RdbmsFeedSourceImpl.addEntry(RdbmsFeedSourceImpl.java:546)
03:25:20,342 INFO [stdout] (ajp-/0.0.0.0:8009-18) at com.appiancorp.process.runtime.activities.FeedHelper.postToFeed(FeedHelper.java:63)&lt;/span&gt;&lt;/pre&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The username of the user configured in the smart service is configured differently in the primary database and the Appian engines. This difference causes a NullPointerException when attempting to invoke the smart service.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Action&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;Compare the username defined in the primary database for the user, and the ones referenced by the Appian engines. If these are different, update the component that has the incorrect username such that both usernames are the same. If you require assistance with this step, reach out to Appian Technical Support for assistance.&lt;/p&gt;
&lt;h2&gt;&lt;span style="font-weight:400;"&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last Reviewed: July 2018&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>