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: Cannot read property 'file' of undefined #20

Open
SpookySpoon opened this issue Mar 31, 2017 · 2 comments
Open

Uncaught TypeError: Cannot read property 'file' of undefined #20

SpookySpoon opened this issue Mar 31, 2017 · 2 comments

Comments

@SpookySpoon
Copy link

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.15.0 x64
Electron: 1.3.13
OS: Unknown Windows version
Thrown From: plantuml package 0.1.2

Stack Trace

Uncaught TypeError: Cannot read property 'file' of undefined

At C:\Users\Home-PC\.atom\packages\plantuml\lib\file-utils.coffee:9

TypeError: Cannot read property 'file' of undefined
    at module.exports.FileUtil.prepareFile (/packages/plantuml/lib/file-utils.coffee:9:8)
    at Object.generate (/packages/plantuml/lib/plantuml.coffee:23:18)
    at /packages/plantuml/lib/plantuml.coffee:12:32)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:3:59)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (/app.asar/src/command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/app.asar/src/atom-environment.js:1162:28)
    at EventEmitter.outerCallback (/app.asar/src/application-delegate.js:312:25)
    at emitThree (events.js:116:13)
    at EventEmitter.emit (events.js:194:7)

Commands

     -0:14.7.0 plantuml:generate (atom-pane.pane.active)

Non-Core Packages

plantuml 0.1.2 
@awhillas
Copy link

What does this mean? Can't find the plantuml.jar? Its defiantly on my path and I started atom from CLI...?

@biroeng
Copy link

biroeng commented Mar 29, 2018

/.atom/packages/plantuml/lib/file-utils.coffee:9
Hide Stack Trace
TypeError: Cannot read property 'file' of undefined
at module.exports.FileUtil.prepareFile (/.atom/packages/plantuml/lib/file-utils.coffee:9:8)
at Object.generate (/.atom/packages/plantuml/lib/plantuml.coffee:23:18)
at HTMLElement.subscriptions.add.atom.commands.add.plantuml:generate (/.atom/packages/plantuml/lib/plantuml.coffee:12:32)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:388:36)
at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:273:23)
at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (/Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:1393:34)
at EventEmitter.outerCallback (/Applications/Atom.app/Contents/Resources/app/src/application-delegate.js:335:31)
at emitThree (events.js:116:13)
at EventEmitter.emit (events.js:194:7)

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

3 participants