<?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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>NullPointerExcpetion in Parse Excel to CDT Plugin</title><link>https://community.appian.com/discussions/f/plug-ins/11932/nullpointerexcpetion-in-parse-excel-to-cdt-plugin</link><description>Hi, 
 I am using &amp;quot;Parse Excel to CDT&amp;quot; plugin to parse excel.I added some rows and deleted some row by &amp;quot;clear the content&amp;quot; instead of deleting entire row.So the plugin is considering those rows and tries to parse.As a result am getting NullPointerException</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: NullPointerExcpetion in Parse Excel to CDT Plugin</title><link>https://community.appian.com/thread/77639?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2020 06:29:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ec3f4f0f-24ba-402d-acfc-43e0438ff503</guid><dc:creator>rohito498543</dc:creator><description>&lt;p&gt;Hi Prakash ,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the above mentioned logic do we need to the remove the null entries from the excel sheet ? If yes then how would reject function work on a pv of type document ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please suggest.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NullPointerExcpetion in Parse Excel to CDT Plugin</title><link>https://community.appian.com/thread/61581?ContentTypeID=1</link><pubDate>Mon, 15 Oct 2018 12:47:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c0232e4a-d985-431d-8cf2-7eb60a26a23b</guid><dc:creator>bhargavip0001</dc:creator><description>Hi prakash ,I am facing the similar issue but the node is failing by throwing null pointer exception, how i can reject null after the smart service as the node it self failing with red mark ??&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NullPointerExcpetion in Parse Excel to CDT Plugin</title><link>https://community.appian.com/thread/53439?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 14:04:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6bc745ae-3562-44d1-9bc2-61931c18f237</guid><dc:creator>Amit Mishra</dc:creator><description>Hi Subhar,&lt;br /&gt;
&lt;br /&gt;
Yes, eliminate the null entry within a script task node using reject() before you parse it to CDT (as Prakash gave an example). All rows without null will be parsed successfully. Thanks.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NullPointerExcpetion in Parse Excel to CDT Plugin</title><link>https://community.appian.com/thread/52773?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2018 09:56:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:722b36b1-f99a-471d-a488-cb1c50580841</guid><dc:creator>prakashb9987</dc:creator><description>Hi subhar,&lt;br /&gt;
&lt;br /&gt;
We have faced this situation recently,&lt;br /&gt;
&lt;br /&gt;
For that you have to take one script task immediately after Parse Excel to CDT smart service,&lt;br /&gt;
In script task output you have to  take reject() function,this reject function is used to suppress the null fields which are coming from excel sheet,the output of the script task is contain only fields without null rows.&lt;br /&gt;
&lt;br /&gt;
Do like:&lt;br /&gt;
a!forEach(&lt;br /&gt;
  items:{pv variable},&lt;br /&gt;
  expression:reject(isnull(_),{fv!item})&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>