Skip to content

cannot add variables in settings page wont load #1716

@leen12

Description

@leen12

Describe the bug

when i load the page it loads ok half a second later it goes blank and i get this error

e```
ntrypoint-BERfGbRl.js:56 TypeError: Cannot read properties of null (reading 'gitProvider')
at page-DgBBrAk3.js:1:12408
at Array.map ()
at Ze (page-DgBBrAk3.js:1:12273)
at Nl (entrypoint-BERfGbRl.js:56:49721)
at vu (entrypoint-BERfGbRl.js:56:58601)
at Cm (entrypoint-BERfGbRl.js:58:8943)
at Wm (entrypoint-BERfGbRl.js:58:845)
at ZA (entrypoint-BERfGbRl.js:58:774)
at Au (entrypoint-BERfGbRl.js:56:85601)
at entrypoint-BERfGbRl.js:56:37046
wu @ entrypoint-BERfGbRl.js:56
Pm.n.callback @ entrypoint-BERfGbRl.js:56
Gf @ entrypoint-BERfGbRl.js:56
qA @ entrypoint-BERfGbRl.js:56
e6 @ entrypoint-BERfGbRl.js:58
e.unstable_runWithPriority @ entrypoint-BERfGbRl.js:48
an @ entrypoint-BERfGbRl.js:56
hn @ entrypoint-BERfGbRl.js:58
Au @ entrypoint-BERfGbRl.js:56
(anonymous) @ entrypoint-BERfGbRl.js:56
e.unstable_runWithPriority @ entrypoint-BERfGbRl.js:48
an @ entrypoint-BERfGbRl.js:56
dm @ entrypoint-BERfGbRl.js:56
Tt @ entrypoint-BERfGbRl.js:56
tn @ entrypoint-BERfGbRl.js:56
Em @ entrypoint-BERfGbRl.js:56
(anonymous) @ page-DgBBrAk3.js:1
nrWrapper @ variables:9
Promise.then
i.then @ variables:9
(anonymous) @ page-DgBBrAk3.js:1
(anonymous) @ page-DgBBrAk3.js:1
xm @ entrypoint-BERfGbRl.js:56
n6 @ entrypoint-BERfGbRl.js:58
e.unstable_runWithPriority @ entrypoint-BERfGbRl.js:48
an @ entrypoint-BERfGbRl.js:56
kr @ entrypoint-BERfGbRl.js:58
Au @ entrypoint-BERfGbRl.js:56
(anonymous) @ entrypoint-BERfGbRl.js:56
e.unstable_runWithPriority @ entrypoint-BERfGbRl.js:48
an @ entrypoint-BERfGbRl.js:56
dm @ entrypoint-BERfGbRl.js:56
Tt @ entrypoint-BERfGbRl.js:56
jm @ entrypoint-BERfGbRl.js:56
xs @ entrypoint-BERfGbRl.js:58
at.render @ entrypoint-BERfGbRl.js:58
jse @ platform-DRY_N1tD.js:2256
await in jse
(anonymous) @ platform-DRY_N1tD.js:2256
page-DgBBrAk3.js:1 Uncaught (in promise) TypeError: Unhandled Promise Rejection: Cannot read properties of null (reading 'gitProvider')
at page-DgBBrAk3.js:1:12408
at Array.map ()
at Ze (page-DgBBrAk3.js:1:12273)
at Nl (entrypoint-BERfGbRl.js:56:49721)
at vu (entrypoint-BERfGbRl.js:56:58601)
at Cm (entrypoint-BERfGbRl.js:58:8943)
at Wm (entrypoint-BERfGbRl.js:58:845)
at ZA (entrypoint-BERfGbRl.js:58:774)
at Au (entrypoint-BERfGbRl.js:56:85601)
at entrypoint-BERfGbRl.js:56:37046


### Link to the blitz that caused the error

https://stackblitz.com/edit/sb1-yufvdjdl?file=.vscode%2Fsettings.json

### Steps to reproduce

go to https://stackblitz.com/settings/variables or 
https://stackblitz.com/settings/

and click variables. 

### Expected behavior

open the page correctly 

### Parity with Local

- [x] I have [run the project in my local machine](https://github.com/stackblitz/webcontainer-core/blob/main/repro.md#try-locally) and I could not reproduce the issue.

### Screenshots

_No response_

### Platform

Browser name = Firefox
Full version = 134.0
Major version = 134
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0
performance.memory = undefined
Hash = 1b4252dd


### Additional context

_No response_

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