<?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 Re: Error when generating code in GUI Guider in GUI Guider</title>
    <link>https://community.nxp.com/t5/GUI-Guider/Error-when-generating-code-in-GUI-Guider/m-p/1664759#M361</link>
    <description>&lt;P&gt;Hi Filo96&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; According to the log analysis, it should be that converting images consumes too much memory when generating MicroPython code.&lt;/P&gt;
&lt;P&gt;We currently support the win10 version, So some unknown issues in all win11 without verification.&lt;/P&gt;
&lt;P&gt;I have a workaround method, you can click "run-&amp;gt;simulator-&amp;gt;c" instead of "generated code". This will only generate C code and run the simulator.&lt;/P&gt;
&lt;P&gt;BTW,&amp;nbsp;&amp;nbsp;Version 1.6.0 will be released at the end of July. it will no longer depend on Java.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Liubin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2023 03:15:41 GMT</pubDate>
    <dc:creator>LiubinGong</dc:creator>
    <dc:date>2023-06-07T03:15:41Z</dc:date>
    <item>
      <title>Error when generating code in GUI Guider</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Error-when-generating-code-in-GUI-Guider/m-p/1664345#M360</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using GUI Guider 1.5.1-GA.&lt;/P&gt;&lt;P&gt;In my PC (Windows 11) I'm able to generate the code of the given examples in GUI Guider. However, in a project we are developing, &lt;STRONG&gt;I'm not able to generate the code anymore&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I got a list of Java errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Caused by: java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.AbstractStringBuilder.ensureCapacityInternal(Unknown Source)
at java.lang.AbstractStringBuilder.append(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at java.io.StringWriter.write(Unknown Source)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:625)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:171)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:171)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:171)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.directive.Foreach.renderBlock(Foreach.java:309)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:279)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:304)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.directive.Foreach.renderBlock(Foreach.java:309)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:279)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:304)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:439)
at org.apache.velocity.runtime.directive.Parse.render(Parse.java:284)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:304)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.directive.Foreach.renderBlock(Foreach.java:309)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:279)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:304)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:439)
at org.apache.velocity.Template.merge(Template.java:358)
at org.apache.velocity.Template.merge(Template.java:262)
at controller.Uit.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I encounter this problem only in my PC. When I use another PC with Windows 11 andh the same project it works well.&lt;/P&gt;&lt;P&gt;I attach both the logs when GUI Guider creates the code correctly and when it doesn't.&lt;/P&gt;&lt;P&gt;I noticed that the two log are very different.. Also, when it doesn't work, it seems to generate correctly the C code, but when it switches to MicroPython code it loops the same images for about 30 times (and it shouldn't do this)!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Other infos:&lt;/EM&gt; I tried to uninstall and re-install both GUI Guider and Java in their latest version, but it doesn't solve anything.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 12:28:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Error-when-generating-code-in-GUI-Guider/m-p/1664345#M360</guid>
      <dc:creator>filo96</dc:creator>
      <dc:date>2023-06-06T12:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating code in GUI Guider</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Error-when-generating-code-in-GUI-Guider/m-p/1664759#M361</link>
      <description>&lt;P&gt;Hi Filo96&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; According to the log analysis, it should be that converting images consumes too much memory when generating MicroPython code.&lt;/P&gt;
&lt;P&gt;We currently support the win10 version, So some unknown issues in all win11 without verification.&lt;/P&gt;
&lt;P&gt;I have a workaround method, you can click "run-&amp;gt;simulator-&amp;gt;c" instead of "generated code". This will only generate C code and run the simulator.&lt;/P&gt;
&lt;P&gt;BTW,&amp;nbsp;&amp;nbsp;Version 1.6.0 will be released at the end of July. it will no longer depend on Java.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Liubin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 03:15:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Error-when-generating-code-in-GUI-Guider/m-p/1664759#M361</guid>
      <dc:creator>LiubinGong</dc:creator>
      <dc:date>2023-06-07T03:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating code in GUI Guider</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Error-when-generating-code-in-GUI-Guider/m-p/1664956#M363</link>
      <description>&lt;P&gt;Thank you for your reply&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183848"&gt;@LiubinGong&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;We are not able to run the C simulator due to problems related to the 32k limit of the Windows command line.&lt;/P&gt;&lt;P&gt;This is why we'd like to use the MicroPython simulator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However I've been able to solve the problem&lt;/STRONG&gt;! I installed the last version of JAVA JDK and the problem has instantly disappeared!&lt;/P&gt;&lt;P&gt;&lt;U&gt;I didn't know that JDK is required&lt;/U&gt;. Also, the other examples were working without JDK installed!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here my versions of java:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\Users\user&amp;gt;java --version&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;java 20.0.1 2023-04-18&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Java(TM) SE Runtime Environment (build 20.0.1+9-29)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Java HotSpot(TM) 64-Bit Server VM (build 20.0.1+9-29, mixed mode, sharing)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;C:\Users\user&amp;gt;javac --version&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;javac 20.0.1&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;[ I'm happy to read that Java will be removed for the next version of GUI Guider &lt;LI-EMOJI id="lia_face-with-tongue" title=":face_with_tongue:"&gt;&lt;/LI-EMOJI&gt; ]&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:38:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Error-when-generating-code-in-GUI-Guider/m-p/1664956#M363</guid>
      <dc:creator>filo96</dc:creator>
      <dc:date>2023-06-07T07:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error when generating code in GUI Guider</title>
      <link>https://community.nxp.com/t5/GUI-Guider/Error-when-generating-code-in-GUI-Guider/m-p/1664968#M364</link>
      <description>&lt;P&gt;&amp;nbsp; &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215309"&gt;@filo96&lt;/a&gt;&amp;nbsp;That's great, Thanks for your support to GuiGuider. Would you please resolve this issue?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;BR /&gt;Liubin&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 07:51:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/GUI-Guider/Error-when-generating-code-in-GUI-Guider/m-p/1664968#M364</guid>
      <dc:creator>LiubinGong</dc:creator>
      <dc:date>2023-06-07T07:51:53Z</dc:date>
    </item>
  </channel>
</rss>

