Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

drizzle-box causing Cannot read property 'connection' of undefined #413

Open
amitaymolko opened this issue Mar 13, 2018 · 0 comments
Open

Comments

@amitaymolko
Copy link

amitaymolko commented Mar 13, 2018

Happened when trying open drizzle-box page: truffle-box/drizzle-box#16 with blocktime set to 3s

PLATFORM: darwin
GANACHE VERSION: 1.1.0-beta.0
*also recreated in 1.1.0-beta.1

EXCEPTION:

Blockchain process exited prematurely with code '7', due to signal 'null'.

APPLICATION LOG:

T+43542ms:   Gas usage: 26915
T+43542ms:   Block Number: 14
T+43547ms:   Block Time: Tue Mar 13 2018 13:24:56 GMT+0200 (EET)
T+52644ms: /node_modules/ganache-cli/build/lib.node.js:86027
T+52644ms: var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&"function"==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMEN
T+52644ms: 
T+52644ms: TypeError: Cannot read property 'connection' of undefined
T+52644ms:     at ConnectionManager._updateSubscriptions (/node_modules/ganache-cli/build/webpack:/node_modules/ganache-core/lib/webSocketServer.js:126:1)
T+52644ms:     at Provider.<anonymous> (/node_modules/ganache-cli/build/webpack:/node_modules/ganache-core/lib/webSocketServer.js:32:1)
T+52644ms:     at emitTwo (events.js:106:13)
T+52644ms:     at Provider.emit (events.js:191:7)
T+52644ms:     at SubscriptionSubprovider.<anonymous> (/node_modules/ganache-cli/build/webpack:/node_modules/ganache-core/lib/provider.js:58:1)
T+52644ms:     at emitTwo (events.js:106:13)
T+52644ms:     at SubscriptionSubprovider.emit (events.js:191:7)
T+52644ms:     at SubscriptionSubprovider._notificationHandler (/node_modules/ganache-cli/build/webpack:/node_modules/web3-provider-engine/subproviders/subscriptions.js:78:1)
T+52644ms:     at Array.forEach (native)
T+52644ms:     at BlockFilter.<anonymous> (/node_modules/ganache-cli/build/webpack:/node_modules/web3-provider-engine/subproviders/subscriptions.js:60:1)
T+52644ms:     at emitOne (events.js:96:13)
T+52644ms:     at BlockFilter.emit (events.js:188:7)
T+52644ms:     at BlockFilter.update (/node_modules/ganache-cli/build/webpack:/node_modules/web3-provider-engine/subproviders/filters.js:315:1)
T+52644ms:     at emitOne (events.js:101:20)
T+52644ms:     at Web3ProviderEngine.emit (events.js:188:7)
T+52644ms:     at Web3ProviderEngine._setCurrentBlock (/node_modules/ganache-cli/build/webpack:/node_modules/web3-provider-engine/index.js:162:1)
T+52644ms:     at GanacheBlockTracker.Web3ProviderEngine.self._blockTracker.on (/node_modules/ganache-cli/build/webpack:/node_modules/web3-provider-engine/index.js:32:1)
T+52644ms:     at emitOne (events.js:101:20)
T+52644ms:     at GanacheBlockTracker.emit (events.js:188:7)
T+52644ms:     at GanacheBlockTracker._setCurrentBlock (/node_modules/ganache-cli/build/webpack:/node_modules/ganache-core/lib/block_tracker.js:62:1)
T+52644ms:     at emitOne (events.js:96:13)
T+52644ms:     at BlockchainDouble.emit (events.js:188:7)
T+52644ms:     at async.parallel (/node_modules/ganache-cli/build/webpack:/node_modules/ganache-core/lib/blockchain_double.js:230:1)
T+52644ms:     at /node_modules/ganache-cli/build/webpack:/node_modules/async/dist/async.js:3861:1
T+52644ms:     at /node_modules/ganache-cli/build/webpack:/node_modules/async/dist/async.js:421:1
T+52644ms:     at iteratorCallback (/node_modules/ganache-cli/build/webpack:/node_modules/async/dist/async.js:998:1)
T+52644ms:     at /node_modules/ganache-cli/build/webpack:/node_modules/async/dist/async.js:906:1
T+52644ms:     at /node_modules/ganache-cli/build/webpack:/node_modules/async/dist/async.js:3858:1
T+52644ms:     at /node_modules/ganache-cli/build/webpack:/node_modules/level-sublevel/shell.js:53:50
T+52644ms:     at /node_modules/ganache-cli/build/webpack:/node_modules/level-sublevel/nut.js:109:1
T+52644ms:     at /node_modules/ganache-cli/build/webpack:/node_modules/ganache-core/lib/database/filedown.js:60:1
T+52644ms:     at /node_modules/ganache-cli/build/webpack:/node_modules/async/dist/async.js:421:1
T+52644ms:     at iteratorCallback (/node_modules/ganache-cli/build/webpack:/node_modules/async/dist/async.js:998:1)
T+52644ms:     at /node_modules/ganache-cli/build/webpack:/node_modules/async/dist/async.js:906:1
@mikeseese mikeseese changed the title drizzle-box causing System Error when running Ganache 1.1.0-beta.0 on darwin drizzle-box causing Cannot read property 'connection' of undefined May 25, 2018
@mikeseese mikeseese self-assigned this May 25, 2018
@mikeseese mikeseese removed their assignment Aug 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants