camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.5k stars 481 forks source link

I saw an UncaughtException when opening the application #1381

Closed sebwarnke closed 5 years ago

sebwarnke commented 5 years ago

Steps to Reproduce:

Result: Popup window showing:

Uncaught Exception:
TypeError: path.basename is not a function
    at filePaths.map.path (/Applications/Camunda Modeler.app/Contents/Resources/app.asar/lib/index.js:320:20)
    at Array.map (<anonymous>)
    at App.app.openFiles (/Applications/Camunda Modeler.app/Contents/Resources/app.asar/lib/index.js:314:35)
    at App.<anonymous> (/Applications/Camunda Modeler.app/Contents/Resources/app.asar/lib/index.js:254:9)
    at App.emit (events.js:182:13)
    at /Applications/Camunda Modeler.app/Contents/Resources/app.asar/lib/index.js:263:7
    at EventEmitter.<anonymous> (/Applications/Camunda Modeler.app/Contents/Resources/app.asar/lib/util/renderer.js:42:14)
    at EventEmitter.emit (events.js:182:13)
    at WebContents.<anonymous> (/Applications/Camunda Modeler.app/Contents/Resources/electron.asar/browser/api/web-contents.js:285:13)
    at WebContents.emit (events.js:182:13)

Environment

nikku commented 5 years ago

Closed via https://github.com/camunda/camunda-modeler/pull/1382.