Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

OSWeb: Uncaught TypeError: Cannot read property 'length' of null

Dear experts,

Whenever I try running my experiment with OSWeb (chrome and firefox) it crashes when trying to run a list with the following error message "Uncaught TypeError: Cannot read property 'length' of null". It works fine with OpenSesame on the computer.

Below is the more detailed error message from the browser. Note, that the CORS policy error seems to be a different error from the main error about the null property, because I have run a longer version of the experiment and Part1 ran successfully after the CORS error, but crashed later in Part2 (this output is from a reduced version with only the problematic part). Or can they be related?

Does anyone have an idea of what the problem might be?

The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page.

./src/app.js @ tmpjj9jzxfm.html:35

tmpjj9jzxfm.html:35 osweb v1.3.9

tmpjj9jzxfm.html:229 The used subject number is 0


    PixiJS 5.2.4 - ✰ WebGL 2 ✰    ♥♥♥ 

tmpjj9jzxfm.html:1 Access to image at 'file:///C:/Users/Fredrik.DESKTOP-ES55C09/AppData/Local/Temp/img/opensesame.png' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https.

opensesame.png:1 Failed to load resource: net::ERR_FAILED

tmpjj9jzxfm.html:97 Uncaught (in promise) Event

tmpjj9jzxfm.html:35 Uncaught TypeError: Cannot read property 'length' of null

  at Sketchpad.prepare_allowed_responses (tmpjj9jzxfm.html:35)

  at Sketchpad.prepare (tmpjj9jzxfm.html:35)

  at Sketchpad.prepare (tmpjj9jzxfm.html:35)

  at ItemStore.prepare (tmpjj9jzxfm.html:35)

  at Sequence._prepare_complete (tmpjj9jzxfm.html:35)

  at Sequence.prepare (tmpjj9jzxfm.html:35)

  at ItemStore.prepare (tmpjj9jzxfm.html:35)

  at (tmpjj9jzxfm.html:35)

  at (tmpjj9jzxfm.html:35)

  at (tmpjj9jzxfm.html:35)

DevTools failed to load SourceMap: Could not load content for file:///C:/Users/Fredrik.DESKTOP-ES55C09/AppData/Local/Temp/ System error: net::ERR_FILE_NOT_FOUND

DevTools failed to load SourceMap: Could not load content for file:///C:/Users/Fredrik.DESKTOP-ES55C09/AppData/Local/Temp/ System error: net::ERR_FILE_NOT_FOUND


  • I've been running into the same exact issue the past couple days.

  • I solved mine. In a previous post one of the developers mentioned a similar error had to do with file extensions (e.g. .wav, .jpeg) so I normalized all of my audio files to .wav and images to .png, which solved the issue

  • edited November 2020

    Unfortunately, my error cannot be related to extensions because I can successfully run some parts of the experiment (using .JPG), but it always crashes at a specific part when the experiment try to run a list/loop.

    PS: I nonetheless changed to .png to reduce the size of the files, and replicated the error.

  • I tracked the source to specific sketchpads within the list/loop rather than the list/loop itself, and the issue was resolved when I replaced them with new sketchpads. I suspect there was some leftover code from previous use that had not been removed.

  • Great, thanks for letting us know!

    Did you like my answer? Feel free to Buy Me A Coffee :)

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games