-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Used scratch file:
Expected behaviour:
I drag the input hat to the stage.
When I press the green flag the (hypothetical) code after the hat is exectued.
Actual behaviour:
As soon as I begin to drag the hat to the stage an exception is thrown.
Error:
lib.min.js:270125 Uncaught (in promise) TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at Scratch3FtduinoBlocks.parse (lib.min.js:270125)
at serial.Port.port.onReceive (lib.min.js:270200)
at lib.min.js:269660
parse @ lib.min.js:270125
port.onReceive @ lib.min.js:270200
(anonymous) @ lib.min.js:269660
Promise.then (async)
readLoop @ lib.min.js:269659
(anonymous) @ lib.min.js:269662
Promise.then (async)
readLoop @ lib.min.js:269659
(anonymous) @ lib.min.js:269685
Promise.then (async)
serial.Port.connect @ lib.min.js:269684
connect @ lib.min.js:270179
(anonymous) @ lib.min.js:270233
Promise.then (async)
autoConnect @ lib.min.js:270226
Scratch3FtduinoBlocks @ lib.min.js:269853
loadExtensionURL @ lib.min.js:265657
handleItemSelect @ lib.min.js:328425
wrapper @ lib.min.js:71256
handleSelect @ lib.min.js:316886
wrapper @ lib.min.js:71256
handleClick @ lib.min.js:329111
wrapper @ lib.min.js:71256
callCallback @ lib.min.js:83398
invokeGuardedCallbackDev @ lib.min.js:83437
invokeGuardedCallback @ lib.min.js:83294
invokeGuardedCallbackAndCatchFirstError @ lib.min.js:83308
executeDispatch @ lib.min.js:83692
executeDispatchesInOrder @ lib.min.js:83711
executeDispatchesAndRelease @ lib.min.js:83812
executeDispatchesAndReleaseTopLevel @ lib.min.js:83823
forEachAccumulated @ lib.min.js:83791
processEventQueue @ lib.min.js:83968
runEventQueueInBatch @ lib.min.js:86463
handleTopLevel @ lib.min.js:86472
handleTopLevelImpl @ lib.min.js:86203
batchedUpdates @ lib.min.js:93938
batchedUpdates @ lib.min.js:85186
dispatchEvent @ lib.min.js:86277
Metadata
Metadata
Assignees
Labels
No labels