Invalid type definition: Cannot set properties of null (setting 'name')

Hello

I can to compile several of your samples but I have a problem with the "coap_client" sample (..\v2.3.0\nrf\samples\openthread\coap_client). When I compile it this is what I get:

I use the last version of nRF Connect SDK (v2.3.0) and I open the sample with nRF Connect for Desktop v4.0.1 - Toolchain Manager v1.2.4)

Can you tell me what I need to do to compile this example?

Thank you

Parents
  • Hi,

    Yes I had already seen this post but removing the interrupt or adding " required: false" to the interrupt does not correct my error...

    Here are my terminal logs:


    * Executing task: nRF Connect: Generate config nrf52840dk_nrf52840 for c:\Nordic\v2.3.0\nrf\samples\openthread\coap_client

    Building coap_client
    C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:\Nordic\v2.3.0\nrf\samples\openthread\coap_client\build c:\Nordic\v2.3.0\nrf\samples\openthread\coap_client --pristine --board nrf52840dk_nrf52840 -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y -DOVERLAY_CONFIG:STRING="overlay-multiprotocol_ble.conf" -DBOARD_ROOT:STRING="c:/Nordic/v2.3.0/nrf/samples/openthread/coap_client""

    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/Nordic/v2.3.0/nrf/samples/openthread/coap_client
    -- Found Python3: C:/Nordic/toolchains/v2.3.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Cache files will be written to: C:/Nordic/v2.3.0/zephyr/.cache
    -- Zephyr version: 3.2.99 (C:/Nordic/v2.3.0/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    CMake Error at C:/Nordic/v2.3.0/zephyr/cmake/modules/zephyr_module.cmake:72 (message):
    Unmet or cyclic dependencies in modules:

    C:/Nordic/v2.3.0/modules/lib/matter depends on: ['nrfxlib']

    Call Stack (most recent call first):
    C:/Nordic/v2.3.0/zephyr/cmake/modules/zephyr_default.cmake:108 (include)
    C:/Nordic/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
    C:/Nordic/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
    CMakeLists.txt:8 (find_package)


    -- Configuring incomplete, errors occurred!
    FATAL ERROR: command exited with status 1: 'c:\Nordic\toolchains\v2.3.0\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\Nordic\toolchains\v2.3.0\opt\bin\python.exe' '-Bc:\Nordic\v2.3.0\nrf\samples\openthread\coap_client\build' -GNinja -DBOARD=nrf52840dk_nrf52840 -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y -DOVERLAY_CONFIG:STRING=overlay-multiprotocol_ble.conf -DBOARD_ROOT:STRING=c:/Nordic/v2.3.0/nrf/samples/openthread/coap_client '-Sc:\Nordic\v2.3.0\nrf\samples\openthread\coap_client'

    * The terminal process terminated with exit code: 1.
    * Terminal will be reused by tasks, press any key to close it.

Reply
  • Hi,

    Yes I had already seen this post but removing the interrupt or adding " required: false" to the interrupt does not correct my error...

    Here are my terminal logs:


    * Executing task: nRF Connect: Generate config nrf52840dk_nrf52840 for c:\Nordic\v2.3.0\nrf\samples\openthread\coap_client

    Building coap_client
    C:\WINDOWS\system32\cmd.exe /d /s /c "west build --build-dir c:\Nordic\v2.3.0\nrf\samples\openthread\coap_client\build c:\Nordic\v2.3.0\nrf\samples\openthread\coap_client --pristine --board nrf52840dk_nrf52840 -- -DNCS_TOOLCHAIN_VERSION:STRING="NONE" -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y -DOVERLAY_CONFIG:STRING="overlay-multiprotocol_ble.conf" -DBOARD_ROOT:STRING="c:/Nordic/v2.3.0/nrf/samples/openthread/coap_client""

    -- west build: generating a build system
    Loading Zephyr default modules (Zephyr base).
    -- Application: C:/Nordic/v2.3.0/nrf/samples/openthread/coap_client
    -- Found Python3: C:/Nordic/toolchains/v2.3.0/opt/bin/python.exe (found suitable exact version "3.8.2") found components: Interpreter
    -- Cache files will be written to: C:/Nordic/v2.3.0/zephyr/.cache
    -- Zephyr version: 3.2.99 (C:/Nordic/v2.3.0/zephyr)
    -- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
    CMake Error at C:/Nordic/v2.3.0/zephyr/cmake/modules/zephyr_module.cmake:72 (message):
    Unmet or cyclic dependencies in modules:

    C:/Nordic/v2.3.0/modules/lib/matter depends on: ['nrfxlib']

    Call Stack (most recent call first):
    C:/Nordic/v2.3.0/zephyr/cmake/modules/zephyr_default.cmake:108 (include)
    C:/Nordic/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
    C:/Nordic/v2.3.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
    CMakeLists.txt:8 (find_package)


    -- Configuring incomplete, errors occurred!
    FATAL ERROR: command exited with status 1: 'c:\Nordic\toolchains\v2.3.0\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\Nordic\toolchains\v2.3.0\opt\bin\python.exe' '-Bc:\Nordic\v2.3.0\nrf\samples\openthread\coap_client\build' -GNinja -DBOARD=nrf52840dk_nrf52840 -DNCS_TOOLCHAIN_VERSION:STRING=NONE -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y -DOVERLAY_CONFIG:STRING=overlay-multiprotocol_ble.conf -DBOARD_ROOT:STRING=c:/Nordic/v2.3.0/nrf/samples/openthread/coap_client '-Sc:\Nordic\v2.3.0\nrf\samples\openthread\coap_client'

    * The terminal process terminated with exit code: 1.
    * Terminal will be reused by tasks, press any key to close it.

Children
Related