<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Code generation fails when a table widget with only one row is used in a GUI in GUI Guider</title>
    <link>https://community.nxp.com/t5/GUI-Guider/Code-generation-fails-when-a-table-widget-with-only-one-row-is/m-p/1575236#M205</link>
    <description>&lt;P&gt;I was trying to add a table widget in my project. Only need 1 row that gets created in the GuiGuider and additional rows get added runtime by user code&lt;/P&gt;&lt;P&gt;Code generation however fails (always) with Java errors:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;15:56:56.257 [main] ERROR org.apache.velocity.directive.parse - Exception rendering #parse(lv_table.vm) at common.vm[line 69, column 17] Exception in thread "main" java.lang.reflect.InvocationTargetException 15:56:56.261 [main] ERROR org.apache.velocity.directive.parse - Exception rendering #parse(common.vm) at gui_guilder.vm[line 144, column 9] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) etc......&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;This error is 100% reproducable. Just start a new project, add a table widget and remove all rows except the first one. Then hit the 'Generate Code' button and the Java errors will show up.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;For now I need to leave an extra row in my table, if not I cannot generate the code files. Would be nice if this could be fixed ?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Dec 2022 15:02:39 GMT</pubDate>
    <dc:creator>PragmaLab</dc:creator>
    <dc:date>2022-12-28T15:02:39Z</dc:date>
    <item>
      <title>Code generation fails when a table widget with only one row is used in a GUI</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Code-generation-fails-when-a-table-widget-with-only-one-row-is/m-p/1575236#M205</link>
      <description>&lt;P&gt;I was trying to add a table widget in my project. Only need 1 row that gets created in the GuiGuider and additional rows get added runtime by user code&lt;/P&gt;&lt;P&gt;Code generation however fails (always) with Java errors:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;15:56:56.257 [main] ERROR org.apache.velocity.directive.parse - Exception rendering #parse(lv_table.vm) at common.vm[line 69, column 17] Exception in thread "main" java.lang.reflect.InvocationTargetException 15:56:56.261 [main] ERROR org.apache.velocity.directive.parse - Exception rendering #parse(common.vm) at gui_guilder.vm[line 144, column 9] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) etc......&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;This error is 100% reproducable. Just start a new project, add a table widget and remove all rows except the first one. Then hit the 'Generate Code' button and the Java errors will show up.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;For now I need to leave an extra row in my table, if not I cannot generate the code files. Would be nice if this could be fixed ?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 15:02:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Code-generation-fails-when-a-table-widget-with-only-one-row-is/m-p/1575236#M205</guid>
      <dc:creator>PragmaLab</dc:creator>
      <dc:date>2022-12-28T15:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Code generation fails when a table widget with only one row is used in a GUI</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Code-generation-fails-when-a-table-widget-with-only-one-row-is/m-p/1576293#M206</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/81409"&gt;@PragmaLab&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which version do you used? I test on my side, I haven't find the error you mentioned:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alice_Yang_0-1672718864484.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/205901iC2A425ACB8B6FB06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alice_Yang_0-1672718864484.png" alt="Alice_Yang_0-1672718864484.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Alice&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 04:08:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Code-generation-fails-when-a-table-widget-with-only-one-row-is/m-p/1576293#M206</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2023-01-03T04:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Code generation fails when a table widget with only one row is used in a GUI</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Code-generation-fails-when-a-table-widget-with-only-one-row-is/m-p/1576950#M207</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/81409" target="_blank"&gt;@PragmaLab&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; This problem occurs when Micropython is generated, and the c code is fine. Thank you for your feedback. We will solve this problem in the v1.5.0 release.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Liubin&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 08:20:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Code-generation-fails-when-a-table-widget-with-only-one-row-is/m-p/1576950#M207</guid>
      <dc:creator>LiubinGong</dc:creator>
      <dc:date>2023-01-04T08:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Code generation fails when a table widget with only one row is used in a GUI</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Code-generation-fails-when-a-table-widget-with-only-one-row-is/m-p/1577965#M208</link>
      <description>&lt;P&gt;Dear Liubin,&lt;/P&gt;&lt;P&gt;thanks for diving into this problem. I'll wait for the next release!&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 12:06:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Code-generation-fails-when-a-table-widget-with-only-one-row-is/m-p/1577965#M208</guid>
      <dc:creator>PragmaLab</dc:creator>
      <dc:date>2023-01-05T12:06:08Z</dc:date>
    </item>
  </channel>
</rss>

