<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to fix the error &amp;quot;Invalid type definition: Cannot set properties of null (setting &amp;#39;name&amp;#39;)&amp;quot;?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97897/how-to-fix-the-error-invalid-type-definition-cannot-set-properties-of-null-setting-name</link><description>Hi, 
 While building blink code on the NRF5340DK, I get an error &amp;quot; Invalid type definition: Cannot set properties of null (setting &amp;#39;name&amp;#39;)&amp;quot; like this in visual studio. 
 
 Could you please help me to resolve this? 
 Thank you 
 Regards, 
 Vrinda R</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 May 2023 13:59:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97897/how-to-fix-the-error-invalid-type-definition-cannot-set-properties-of-null-setting-name" /><item><title>RE: How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?</title><link>https://devzone.nordicsemi.com/thread/425136?ContentTypeID=1</link><pubDate>Thu, 11 May 2023 13:59:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8302c41-5632-4c83-a9b6-65dcbd7190de</guid><dc:creator>emir</dc:creator><description>&lt;p&gt;Solved the issue. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?</title><link>https://devzone.nordicsemi.com/thread/423081?ContentTypeID=1</link><pubDate>Sat, 29 Apr 2023 15:48:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdc36fe7-3198-46fd-a10c-fe6994668aff</guid><dc:creator>Michael Summer</dc:creator><description>&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&amp;quot;required: false&amp;quot; was missing for interrupts in file&lt;span&gt;&amp;nbsp;v2.3.0/zephyr/dts/bindings/serial/amr,sbsa-uart.yaml&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?</title><link>https://devzone.nordicsemi.com/thread/418700?ContentTypeID=1</link><pubDate>Sat, 01 Apr 2023 15:44:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30166d01-f186-4c8d-a055-233a641652fe</guid><dc:creator>GilesHutchison</dc:creator><description>&lt;p&gt;In case this helps anyone SDK 2.3.0 missing the last line in the arm,sbsa-uart.yaml file.&lt;/p&gt;
&lt;p&gt;Adding it back in (was there in earlier SDKs) enabled output in the Terminal window for me.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;description&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;ARM SBSA UART&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;compatible&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;&amp;quot;arm,sbsa-uart&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;include&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;uart-controller.yaml&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;properties&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;reg&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;required&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;true&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;interrupts&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;required&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?</title><link>https://devzone.nordicsemi.com/thread/418698?ContentTypeID=1</link><pubDate>Sat, 01 Apr 2023 13:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7c24df9-710a-4663-9526-8d4d8795dbf6</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;Hold the phone!&amp;nbsp; After either the restart of VS Code, or reboot of Windows 11, or both, the fix has eliminated the error.&amp;nbsp; Can&amp;#39;t explain it, but that&amp;#39;s the observation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?</title><link>https://devzone.nordicsemi.com/thread/418697?ContentTypeID=1</link><pubDate>Sat, 01 Apr 2023 12:38:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62a6567d-cc2a-4241-9cd6-246a41d072d7</guid><dc:creator>GilesHutchison</dc:creator><description>&lt;p&gt;I have the same Issue with 2.3.0 SDK and nRF52840 dev board, following the blinky_pwm tutorial&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?</title><link>https://devzone.nordicsemi.com/thread/418695?ContentTypeID=1</link><pubDate>Sat, 01 Apr 2023 02:01:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1b08175-b6b5-4c51-8b5f-9fd5dc9a4524</guid><dc:creator>Ken58</dc:creator><description>&lt;p&gt;I have the same problem.&amp;nbsp; The update above of file v2.3.0/zephyr/dts/bindings/serial/amr,sbsa-uart.yaml does not fix the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?</title><link>https://devzone.nordicsemi.com/thread/418434?ContentTypeID=1</link><pubDate>Thu, 30 Mar 2023 21:52:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e37df614-f1fb-490e-959f-7a2a43914508</guid><dc:creator>cwhit</dc:creator><description>&lt;p&gt;I also see this error when building the nrf5340 Audio app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?</title><link>https://devzone.nordicsemi.com/thread/416680?ContentTypeID=1</link><pubDate>Wed, 22 Mar 2023 04:37:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d0785d5-6dfa-41bd-88c3-66380c981cce</guid><dc:creator>Vrinda R</dc:creator><description>&lt;pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Translation"&gt;&lt;span class="Y2IQFc" lang="en"&gt;When building each sample code (Blink, Hello World, PeripheralLBS) with SDK v2.3.0, I get the error &amp;quot;Invalid type definition: Cannot set properties of null (setting &amp;#39;name&amp;#39;)&amp;quot;. Then I change the SDK version to v2.2.0 and then the error disappears.&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?</title><link>https://devzone.nordicsemi.com/thread/416471?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2023 09:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e9ab934-26ab-4632-9e04-437f3a20107c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Is there a specific sample that triggers this error?&lt;/p&gt;
&lt;p&gt;Do you get any compilation/build errors?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?</title><link>https://devzone.nordicsemi.com/thread/416467?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2023 09:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebf4ebfb-de0d-493a-88e5-95eed7959b18</guid><dc:creator>Vrinda R</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When using SDK version 2.2.0&amp;nbsp; didn&amp;#39;t get this error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?</title><link>https://devzone.nordicsemi.com/thread/416447?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2023 08:28:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aef36a38-f5ed-4069-8007-5ad41e7ba601</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How can I&amp;nbsp;reproduce&amp;nbsp;this error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?</title><link>https://devzone.nordicsemi.com/thread/416421?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2023 05:15:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b15e648c-6d8e-4ab6-bca2-e2216d672707</guid><dc:creator>Vrinda R</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Showing the same error.&lt;/p&gt;
&lt;p&gt;I am using SDK version 2.3.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to fix the error "Invalid type definition: Cannot set properties of null (setting 'name')"?</title><link>https://devzone.nordicsemi.com/thread/416215?ContentTypeID=1</link><pubDate>Mon, 20 Mar 2023 09:45:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eef9c9d9-4559-4452-bae0-af9f1c1c1283</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try applying this change:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/pull/55877/files"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/55877/files&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>