Skip to content
This repository was archived by the owner on Aug 26, 2026. It is now read-only.
This repository was archived by the owner on Aug 26, 2026. It is now read-only.

Page crashes when pasting alloy config #66

Description

@vd-rd

Describe the bug
Page crashes when pasting content.

To Reproduce
Steps to reproduce the behavior:

  1. Go to alloy-configurator
  2. Click on text input field
  3. Paste more than 500 lines
  4. Page turns white

Expected behavior
See my pasted content

Screenshots

Desktop (please complete the following information):

  • OS: Linux
  • Browser chrome
  • Version 146.0.7680.80

Additional context
Developer console shows:

TypeError: Cannot read properties of null (reading 'type')
    at rX (river.ts:150:17)
    at sX (river.ts:184:32)
    at sX (river.ts:188:21)
    at index.tsx:114:29
    at Array.map (<anonymous>)
    at index.tsx:112:32
    at il (react-dom.production.min.js:243:332)
    at yc (react-dom.production.min.js:285:111)
    at react-dom.production.min.js:281:391
    at C (scheduler.production.min.js:13:203)
console.<computed> @ instrumentation.ts:69
ua @ react-dom.production.min.js:188
i.callback @ react-dom.production.min.js:188
Ur @ react-dom.production.min.js:156
bl @ react-dom.production.min.js:261
vl @ react-dom.production.min.js:259
_l @ react-dom.production.min.js:258
(anonymous) @ react-dom.production.min.js:282
wc @ react-dom.production.min.js:280
ac @ react-dom.production.min.js:272
jo @ react-dom.production.min.js:127
yc @ react-dom.production.min.js:285
(anonymous) @ react-dom.production.min.js:281
C @ scheduler.production.min.js:13
N @ scheduler.production.min.js:14Understand this error
river.ts:150 Uncaught TypeError: Cannot read properties of null (reading 'type')
    at rX (river.ts:150:17)
    at sX (river.ts:184:32)
    at sX (river.ts:188:21)
    at index.tsx:114:29
    at Array.map (<anonymous>)
    at index.tsx:112:32
    at il (react-dom.production.min.js:243:332)
    at yc (react-dom.production.min.js:285:111)
    at react-dom.production.min.js:281:391
    at C (scheduler.production.min.js:13:203)
rX @ river.ts:150
sX @ river.ts:184
sX @ river.ts:188
(anonymous) @ index.tsx:114
(anonymous) @ index.tsx:112
il @ react-dom.production.min.js:243
yc @ react-dom.production.min.js:285
(anonymous) @ react-dom.production.min.js:281
C @ scheduler.production.min.js:13
N @ scheduler.production.min.js:14Understand this error
editor.api-i0YVFWkl.js:7 Uncaught (in promise) Canceled: Canceled
cancel @ editor.api-i0YVFWkl.js:7
dispose @ editor.api-i0YVFWkl.js:7
pt @ editor.api-i0YVFWkl.js:5
clear @ editor.api-i0YVFWkl.js:5
dispose @ editor.api-i0YVFWkl.js:5
dispose @ editor.api-i0YVFWkl.js:456
(anonymous) @ editor.api-i0YVFWkl.js:456
_deliver @ editor.api-i0YVFWkl.js:7
_deliverQueue @ editor.api-i0YVFWkl.js:7
fire @ editor.api-i0YVFWkl.js:7
setModel @ editor.api-i0YVFWkl.js:256
(anonymous) @ editor.api-i0YVFWkl.js:256
_deliver @ editor.api-i0YVFWkl.js:7
_deliverQueue @ editor.api-i0YVFWkl.js:7
fire @ editor.api-i0YVFWkl.js:7
dispose @ editor.api-i0YVFWkl.js:243
(anonymous) @ Editor.tsx:252
(anonymous) @ Editor.tsx:65
Ja @ react-dom.production.min.js:239
tl @ react-dom.production.min.js:243
yc @ react-dom.production.min.js:283
ac @ react-dom.production.min.js:272
jo @ react-dom.production.min.js:127
(anonymous) @ react-dom.production.min.js:266Understand this error
river.ts:150 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'type')
    at rX (river.ts:150:17)
    at sX (river.ts:184:32)
    at sX (river.ts:188:21)
    at index.tsx:114:29
    at Array.map (<anonymous>)
    at index.tsx:112:32
    at index.tsx:143:7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions