KunihikoKido / atom-elasticsearch-client

elasticsearch-client
https://atom.io/packages/elasticsearch-client
MIT License
31 stars 3 forks source link

Uncaught TypeError: Cannot read property 'replace' of null #12

Open mudy opened 7 years ago

mudy commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.15.0 x64 Electron: 1.3.13 OS: Mac OS X 10.11.6 Thrown From: elasticsearch-client package 0.9.5

Stack Trace

Uncaught TypeError: Cannot read property 'replace' of null

At /Users/muddassarshaikh/.atom/packages/elasticsearch-client/lib/config.coffee:75

TypeError: Cannot read property 'replace' of null
    at Object.initClient (/packages/elasticsearch-client/lib/config.coffee:75:34)
    at Object.getClient (/packages/elasticsearch-client/lib/config.coffee:109:17)
    at SwitchServer.BaseCommand (/packages/elasticsearch-client/lib/commands/base.coffee:24:32)
    at /packages/elasticsearch-client/lib/commands/switch-server.coffee:6:7)
    at /packages/elasticsearch-client/lib/elasticsearch-client.coffee:401:69
    at /packages/elasticsearch-client/lib/elasticsearch-client.coffee:246:7)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at /app.asar/src/command-registry.js:3:59
    at Object.didConfirmSelection (/app.asar/node_modules/command-palette/lib/command-palette-view.js:106:29)
    at SelectListView.confirmSelection (/app.asar/node_modules/atom-select-list/src/select-list-view.js:301:20)
    at HTMLDivElement.coreConfirm (/app.asar/node_modules/atom-select-list/src/select-list-view.js:67:14)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
    at /app.asar/src/command-registry.js:3:59
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/app.asar/src/window-event-handler.js:106:36)
    at /app.asar/src/window-event-handler.js:3:59)

Commands

     -0:09.8.0 command-palette:toggle (input.hidden-input)
     -0:07.6.0 core:confirm (input.hidden-input)
     -0:06.9.0 elasticsearch:settings-switch-server (input.hidden-input)

Non-Core Packages

elasticsearch-client 0.9.5 
script 3.14.1