Cannot read properties of null (reading 'startsWith') in Power Profiler v3.5.4

Hi All.

I have just updated my nRF Connect for Desktop to v4.0.1 on ubuntu and Power Profiler kept on v3.5.4. Once I got back to the home screen and click on power profiler I get a few seconds of the normal screen and then a blank window when I have my power profiler kit (ppk2) plugged in.

Then I closed the window and unplug the ppk2 and open it again it shows the normal screen until I plugged that back in and shows the following screen.

It has the following Typescript error and would give the same error if I repeat

Cannot read properties of null (reading 'startsWith')

TypeError: Cannot read properties of null (reading 'startsWith')
    at oUt (/home/cheston/.nrfconnect-apps/node_modules/pc-nrfconnect-ppk/dist/bundle.js:564:4166)
    at Lc (/home/cheston/.nrfconnect-apps/node_modules/pc-nrfconnect-ppk/dist/bundle.js:564:4328)
    at XKt (/home/cheston/.nrfconnect-apps/node_modules/pc-nrfconnect-ppk/dist/bundle.js:565:1553)
    at m2 (file:///tmp/.mount_nrfconrFdTEu/resources/app.asar/dist/app.js:9:49877)
    at v4 (file:///tmp/.mount_nrfconrFdTEu/resources/app.asar/dist/app.js:11:8169)
    at h4 (file:///tmp/.mount_nrfconrFdTEu/resources/app.asar/dist/app.js:11:858)
    at xre (file:///tmp/.mount_nrfconrFdTEu/resources/app.asar/dist/app.js:11:781)
    at NE (file:///tmp/.mount_nrfconrFdTEu/resources/app.asar/dist/app.js:9:85867)
    at file:///tmp/.mount_nrfconrFdTEu/resources/app.asar/dist/app.js:9:37195
    at et.unstable_runWithPriority (file:///tmp/.mount_nrfconrFdTEu/resources/app.asar/dist/app.js:8:34190)


Can I please have the fix for this?

Cheston
  • I got the same error in Ubuntu 22.04.

    # nRFConnect System Report - 2023-04-02T15-33-51.671Z

    - System: Dell Inc. Precision 5530
    - BIOS: Dell Inc. 1.25.0
    - CPU: 1 x Intel CoreTm i7-8850H 2.6 GHz 12 cores (6 physical)
    - Memory: 25.9 GB free of 31 GB total
    - Filesystem: /dev/nvme0n1p2 (ext4) 467.9 GB 6.1% used

    - OS: Ubuntu (22.04.2 LTS) linux x64

    - Versions
    - kernel: 5.19.0-38-generic
    - git: 2.34.1
    - node: 16.17.1
    - python:
    - python3: 3.10.6
    - nrf-device-lib-js: 0.6.5
    - nrf-device-lib: 0.14.7
    - nrfjprog DLL: 10.19.1
    - JLink: JLink_V7.86f

    - Connected devices:

    Heng

  • Hi,

    We are looking into this crash and will come up with a fix soon. Meanwhile, I would suggest you to install nrf-udev as it should fix the issue for now.

    Best Regards,

    Priyanka

Related