<?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>MCUXpresso Generalのトピックwhile i update code in the MCUxpresso IDE，got java.lang.NullPointerException error。</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010757#M3052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;i created a RT1050 project by using MCUxpresso，if i do not initialize Peripherals,I can compile the project.after i &amp;nbsp;initialized Peripherals&amp;nbsp;by using the Peripherals Tool&amp;nbsp; ,i got "java.lang.NullPointerException "error while updating code. is anybody can help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Nov 2019 14:33:57 GMT</pubDate>
    <dc:creator>steven_zhang</dc:creator>
    <dc:date>2019-11-19T14:33:57Z</dc:date>
    <item>
      <title>while i update code in the MCUxpresso IDE，got java.lang.NullPointerException error。</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010757#M3052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;i created a RT1050 project by using MCUxpresso，if i do not initialize Peripherals,I can compile the project.after i &amp;nbsp;initialized Peripherals&amp;nbsp;by using the Peripherals Tool&amp;nbsp; ,i got "java.lang.NullPointerException "error while updating code. is anybody can help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2019 14:33:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010757#M3052</guid>
      <dc:creator>steven_zhang</dc:creator>
      <dc:date>2019-11-19T14:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: while i update code in the MCUxpresso IDE，got java.lang.NullPointerException error。</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010758#M3053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steven,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please let me know the version of MCUXpresso IDE you are working on?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2019 20:28:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010758#M3053</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-11-20T20:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: while i update code in the MCUxpresso IDE，got java.lang.NullPointerException error。</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010759#M3054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To add to Felipe's reply, please also attach .log file from .metadata folder inside your workspace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;BR /&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 12:49:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010759#M3054</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2019-11-22T12:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: while i update code in the MCUxpresso IDE，got java.lang.NullPointerException error。</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010760#M3055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MCUXpresso IDE v11.0.1 [Build 2563] [2019-09-01]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 15:20:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010760#M3055</guid>
      <dc:creator>steven_zhang</dc:creator>
      <dc:date>2019-12-03T15:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: while i update code in the MCUxpresso IDE，got java.lang.NullPointerException error。</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010761#M3056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Steven,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to replicate your issue on my side but I could successfully compile the project after initialize peripheral using Peripherals Tool. Please check my steps below. I am using SDK 2.6.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL type="disc"&gt;&lt;LI&gt;I created a new project.&lt;/LI&gt;&lt;LI&gt;Enable USB device component by going to SDK management.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95925i189A2E1EF5877D67/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Enable the USB peripheral using Peripherals Tool as follows.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95926i9AD36960F33391CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Enabled the USBPHY1_CLK by using Clock Tool.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95927i863ADFB8F200B96B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing this my project compiled correctly, could you please tell me if you are following the steps above on your side as well as the SDK version you are using?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 17:31:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010761#M3056</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-12-06T17:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: while i update code in the MCUxpresso IDE，got java.lang.NullPointerException error。</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010762#M3057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes，it works if there is only usb ，if i add lcd&amp;nbsp;and freertos&amp;nbsp;，get some error.&amp;nbsp; i tried to use examples ，and suceesed to build a emwin + lcd + hid + freertos project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 03:39:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010762#M3057</guid>
      <dc:creator>steven_zhang</dc:creator>
      <dc:date>2019-12-17T03:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: while i update code in the MCUxpresso IDE，got java.lang.NullPointerException error。</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010763#M3058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steven,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess in this case you refer to different problem that the one from the original question. Indeed, I'm able to reproduce compiler error when I create baremetal MCUXpresso IDE project with USB component and later switch the project from baremetal to FreeRTOS. I was able to resolve the compilation error&amp;nbsp;in the project properties by removing "FSL_RTOS_BM" and "SDK_OS_BAREMETAL" symbols (these are the ones added during new baremetal project creation, however, they are not removed when switching to FreeRTOS):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/97000iA3C8F69EC36F4D54/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the null pointer&amp;nbsp;exception from your original post, best would be if you could attach/send us the MCUXpresso IDE project and log file or exact steps how to reproduce the issue so we can analyse it. So far we were not able to reproduce it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Lukas&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 15:44:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/while-i-update-code-in-the-MCUxpresso-IDE-got-java-lang/m-p/1010763#M3058</guid>
      <dc:creator>Lukas_Heczko</dc:creator>
      <dc:date>2019-12-17T15:44:09Z</dc:date>
    </item>
  </channel>
</rss>

