Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like ob... #34

Open
Fossa opened this issue Mar 8, 2017 · 0 comments

Comments

@Fossa
Copy link

Fossa commented Mar 8, 2017

Steps to reproduce

  1. Open new atom window.
  2. Drag'n'drop plantUML view to second window. (Doesn't show any content)
  3. Close other tabs in the new window.

Atom: 1.14.4 x64
Electron: 1.3.13
OS: Ubuntu 16.04.2
Thrown From: plantuml-viewer package 0.7.1

Stack Trace

Uncaught TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.

At buffer.js:259

TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
    at fromObject (buffer.js:259:9)
    at Function.Buffer.from (buffer.js:96:10)
    at new Buffer (buffer.js:75:17)
    at PlantumlViewerEditor.getBuffer (/packages/plantuml-viewer/lib/plantuml-viewer-editor.js:67:10)
    at /app.asar/node_modules/status-bar/lib/status-bar-view.js:115:112)
    at /app.asar/node_modules/status-bar/lib/status-bar-view.js:38:17
    at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
    at /app.asar/src/pane-container.js:348:27
    at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:129:28)
    at Pane.module.exports.Pane.setActiveItem (/app.asar/src/pane.js:300:22)
    at Pane.module.exports.Pane.activateItemAtIndex (/app.asar/src/pane.js:435:19)
    at Pane.module.exports.Pane.activateNextItem (/app.asar/src/pane.js:390:21)
    at Pane.module.exports.Pane.removeItem (/app.asar/src/pane.js:583:16)
    at Pane.module.exports.Pane.destroyItem (/app.asar/src/pane.js:658:16)
    at TabBarView.module.exports.TabBarView.closeTab (/app.asar/node_modules/tabs/lib/tab-bar-view.js:333:26)
    at HTMLDivElement.TabView.didClickCloseIcon (/app.asar/node_modules/tabs/lib/tab-bar-view.js:222:19)

Commands

Non-Core Packages

autocomplete-clang 0.10.0 
autocomplete-python 1.8.43 
build 0.67.0 
busy 0.7.0 
language-docker 1.1.7 
language-gradle 0.0.3 
language-ini 1.17.0 
language-plantuml 0.2.0 
linter 1.11.21 
linter-docker 0.1.4 
linter-gcc 0.7.1 
plantuml-viewer 0.7.1 
platformio-ide 1.7.2 
platformio-ide-terminal 2.2.2 
tool-bar 1.0.1 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant