Username: Password:

Author Topic: Cannot read property "0" of undefined error  (Read 9422 times)

Offline rune4000

  • Rookie
  • *
  • Posts: 2
    • View Profile
Cannot read property "0" of undefined error
« on: October 17, 2019, 04:34:12 PM »
Hi there,

Anybody that can help me out with this error?

(Code 14904)Requesting data...please wait...

(Code 14911)Requesting data...please wait...
TypeError: Cannot read property '0' of undefined
    at module.exports.Strategy.process.Promise.try.Promise.memory.exchanges.(anonymous function).returnOrderBook (C:\snapshot\gblackv12\gain.js:0:0)
    at module.exports.Market.returnOrderBook.Promise.checkSecurity.then.that.exchangeController.fetchOrderBook.then.data (C:\snapshot\gblackv12\ctx-wrapper.js:0:0)
    at tryCatcher (C:\snapshot\gblackv12\node_modules\bluebird\js\release\util.js:16:23)
    at Promise.module.exports.Promise._settlePromiseFromHandler (C:\snapshot\gblackv12\node_modules\bluebird\js\release\promise.js:512:31)
    at Promise.module.exports.Promise._settlePromise (C:\snapshot\gblackv12\node_modules\bluebird\js\release\promise.js:569:18)
    at Promise.module.exports.Promise._settlePromise0 (C:\snapshot\gblackv12\node_modules\bluebird\js\release\promise.js:614:10)
    at Promise.module.exports.Promise._settlePromises (C:\snapshot\gblackv12\node_modules\bluebird\js\release\promise.js:694:18)
    at _drainQueueStep (C:\snapshot\gblackv12\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (C:\snapshot\gblackv12\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (C:\snapshot\gblackv12\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.__dirname.Async.drainQueues [as _onImmediate] (C:\snapshot\gblackv12\node_modules\bluebird\js\release\async.js:17:14)
    at runCallback (timers.js:800:20)
    at tryOnImmediate (timers.js:762:5)
    at processImmediate [as _immediateCallback] (timers.js:733:5)

Offline rune4000

  • Rookie
  • *
  • Posts: 2
    • View Profile
Re: Cannot read property "0" of undefined error
« Reply #1 on: October 17, 2019, 08:57:39 PM »
I made a clean installation of V14 and restarted, and it did the trick.

Offline Aitor

  • Administrator
  • *****
  • Posts: 570
  • Telegram: @AitorRuiz Gunbot.shop
    • View Profile
    • Gunbot
Re: Cannot read property "0" of undefined error
« Reply #2 on: October 18, 2019, 02:52:21 AM »
Glad to hear the problem is fixed now  ;)