Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Uncaught Error: Replacing non-existent child #236

Open

Description

@toloco

[Enter steps to reproduce below:]

  1. Split screen down
  2. Generate Markdown preview

Atom Version: 0.187.0
System: linux 3.16.0-31-generic
Thrown From: markdown-preview package, v0.139.0

Stack Trace

Uncaught Error: Replacing non-existent child

At /usr/share/atom/resources/app/src/pane-container.js:195

Error: Replacing non-existent child
  at PaneContainer.module.exports.PaneContainer.replaceChild (/usr/share/atom/resources/app/src/pane-container.js:195:15)
  at PaneAxis.module.exports.PaneAxis.reparentLastChild (/usr/share/atom/resources/app/src/pane-axis.js:178:19)
  at PaneAxis.module.exports.PaneAxis.removeChild (/usr/share/atom/resources/app/src/pane-axis.js:146:21)
  at /usr/share/atom/resources/app/src/pane-axis.js:186:24
  at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:82:11)
  at PaneAxis.module.exports.PaneAxis.destroyed (/usr/share/atom/resources/app/src/pane-axis.js:202:20)
  at PaneAxis.module.exports.Model.destroy (/usr/share/atom/resources/app/node_modules/theorist/lib/model.js:218:14)
  at PaneAxis.module.exports.PaneAxis.reparentLastChild (/usr/share/atom/resources/app/src/pane-axis.js:179:19)
  at PaneAxis.module.exports.PaneAxis.removeChild (/usr/share/atom/resources/app/src/pane-axis.js:146:21)
  at /usr/share/atom/resources/app/src/pane-axis.js:186:24
  at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:82:11)
  at Pane.module.exports.Pane.destroyed (/usr/share/atom/resources/app/src/pane.js:658:20)
  at Pane.module.exports.Model.destroy (/usr/share/atom/resources/app/node_modules/theorist/lib/model.js:218:14)
  at Pane.module.exports.Pane.destroy (/usr/share/atom/resources/app/src/pane.js:649:39)
  at Pane.module.exports.Pane.removeItem (/usr/share/atom/resources/app/src/pane.js:413:21)
  at Pane.module.exports.Pane.destroyItem (/usr/share/atom/resources/app/src/pane.js:457:16)
  at PaneView._results.push._this.(anonymous function) [as destroyItem] (/usr/share/atom/resources/app/node_modules/delegato/lib/delegator.js:67:61)
  at /usr/share/atom/resources/app/node_modules/markdown-preview/lib/markdown-preview-view.js:110:76
  at MarkdownPreviewView.module.exports.MarkdownPreviewView.resolveEditor (/usr/share/atom/resources/app/node_modules/markdown-preview/lib/markdown-preview-view.js:115:16)
  at MarkdownPreviewView.module.exports.MarkdownPreviewView.attached (/usr/share/atom/resources/app/node_modules/markdown-preview/lib/markdown-preview-view.js:45:21)
  at space-pen-div.View.element.attached (/usr/share/atom/resources/app/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:164:63)
  at space-pen-div.CustomElementPrototype.attachedCallback (/usr/share/atom/resources/app/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:51:55)
  at atom-pane-container.module.exports.PaneContainerElement.rootChanged (/usr/share/atom/resources/app/src/pane-container-element.js:47:14)
  at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:82:11)
  at PaneContainer.module.exports.PaneContainer.setRoot (/usr/share/atom/resources/app/src/pane-container.js:187:20)
  at PaneContainer.module.exports.PaneContainer.replaceChild (/usr/share/atom/resources/app/src/pane-container.js:197:19)
  at PaneAxis.module.exports.PaneAxis.reparentLastChild (/usr/share/atom/resources/app/src/pane-axis.js:178:19)
  at PaneAxis.module.exports.PaneAxis.removeChild (/usr/share/atom/resources/app/src/pane-axis.js:146:21)
  at /usr/share/atom/resources/app/src/pane-axis.js:186:24
  at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:82:11)
  at Pane.module.exports.Pane.destroyed (/usr/share/atom/resources/app/src/pane.js:658:20)
  at Pane.module.exports.Model.destroy (/usr/share/atom/resources/app/node_modules/theorist/lib/model.js:218:14)
  at Pane.module.exports.Pane.destroy (/usr/share/atom/resources/app/src/pane.js:649:39)
  at Pane.module.exports.Pane.removeItem (/usr/share/atom/resources/app/src/pane.js:413:21)
  at Pane.module.exports.Pane.destroyItem (/usr/share/atom/resources/app/src/pane.js:457:16)
  at HTMLDivElement.<anonymous> (/usr/share/atom/resources/app/node_modules/tabs/lib/tab-bar-view.js:179:22)
  at space-pen-ul.jQuery.event.dispatch (/usr/share/atom/resources/app/node_modules/jquery/dist/jquery.js:4430:9)
  at space-pen-ul.elemData.handle (/usr/share/atom/resources/app/node_modules/jquery/dist/jquery.js:4116:28)

Commands

Config

{
  "core": {}
}

Installed Packages

# User
travis-ci-status, v0.13.0

# Dev
No dev packages

Activity

  1. self-assigned this
    on Apr 17, 2015
  2. nathansobo commented on Apr 17, 2015

    @nathansobo
    Contributor

    I'm having some trouble reproducing this. Can anyone else reproduce. Does this happen when you run atom --safe?

  3. izuzak commented on Apr 20, 2015

    @izuzak
    Contributor

    @toloco Are you still seeing this problem? I'm having trouble reproducing this as well, on Atom 0.192.0.

  4. toloco commented on Apr 20, 2015

    @toloco
    Author

    Sorry guys, it is on my working environment, let me check it tomorrow.

  5. izuzak commented on May 13, 2015

    @izuzak
    Contributor

    Friendly ping, @toloco -- were you able to reproduce this problem on your other environment in Atom 0.198.0?

  6. toloco commented on May 13, 2015

    @toloco
    Author

    It's version 0.187.0

  7. thomasjo commented on May 13, 2015

    @thomasjo
    Contributor

    @toloco Please upgrade to the latest version of Atom (currently v0.198.0).

  8. removed their assignment
    on Jul 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions