KaotoIO / kaoto-ui

Frontend for the Kaoto project to provide an easy-to-use integration framework based on Apache Camel.
https://www.kaoto.io
Apache License 2.0
88 stars 44 forks source link

Can't access a dead object #1439

Open Delawen opened 1 year ago

Delawen commented 1 year ago

Describe the Bug

This one is weird, sorry.

I had an open tab with http://kaoto-kaoto.apps.smaug.na.operate-first.cloud/ in which I dragged a step. I went to another tab to test something else and completely forgot about this one. When I went back to this tab, maybe an hour later, I tried to open the source code tab. But the source code was ¿dead? :fearful: :zombie_woman:

Steps to Reproduce the Bug or Issue

  1. Drag a step into the canvas
  2. Go do something else for a long time (one hour?)
  3. Go back to the tab and open the source code editor
  4. Profit!

Screenshots or Videos

image

Platform

apupier commented 1 year ago

Cna you check the Console in browser devtools? i expect that there will be a stacktrace which could help investigation.

Delawen commented 1 year ago

image

TypeError: can't access dead object
    _getPixelRatio browser.js:55
    PixelRatioImpl browser.js:47
    _getOrCreatePixelRatioMonitor browser.js:71
    get value browser.js:79
    _readEnvConfiguration editorConfiguration.js:93
    _computeOptions editorConfiguration.js:68
    EditorConfiguration editorConfiguration.js:45
    _createConfiguration codeEditorWidget.js:265
    CodeEditorWidget codeEditorWidget.js:179
    StandaloneCodeEditor standaloneCodeEditor.js:65
    StandaloneEditor standaloneCodeEditor.js:181
    _createInstance instantiationService.js:97
    createInstance instantiationService.js:68
    standaloneEditor_create standaloneEditor.js:41
    initMonaco editor.js:111
    componentDidMount editor.js:53
    React 9
        lk
        jk
        jk
        ik
        Xk
        Qk
        Fk
        jg
        Ek
[react-dom.production.min.js:189:21](webpack://kaoto/kaoto-ui/node_modules/react-dom/cjs/react-dom.production.min.js)
Delawen commented 1 year ago

giphy-600104457