# erizoController.js crashed

**URL:** <https://discourse.lynckia.com/t/erizocontroller-js-crashed/151>\
**Category:** Uncategorized\
**Created:** [April 2, 2015, 9:36am UTC](https://discourse.lynckia.com/t/erizocontroller-js-crashed/151 "2015-04-02T09:36:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiliuxjtu2013](https://avatars.discourse-cdn.com/v4/letter/x/c57346/32.png) [@xiliuxjtu2013](https://discourse.lynckia.com/u/xiliuxjtu2013)\
**Post date:** [April 2, 2015, 9:36am UTC](https://discourse.lynckia.com/t/erizocontroller-js-crashed/151/1 "2015-04-02T09:36:22Z")

</div>

hi all  
when i publish 9 streams,and subscribed each  
other,the erizoController.js crashed, log as follow:

/usr/yunzis/licode/erizo\_controller/erizoController/roomController.js:233  
var index =  
erizos[publishers[publisher\_id]].publishers.indexOf(pu  
^  
TypeError: Cannot read property ‘publishers’ of undefined  
at Object.that.removePublisher  
(/usr/yunzis/licode/erizo\_controller/erizoController/roomController.js:233:57)  
at Socket.  
(/usr/yunzis/licode/erizo\_controller/erizoController/erizoController.js:735:60)  
at Socket.emit [as $emit] (events.js:95:17)  
at Socket.onDisconnect  
(/usr/yunzis/licode/node\_modules/socket.io/lib/socket.js:153:10)  
at SocketNamespace.handleDisconnect  
(/usr/yunzis/licode/node\_modules/socket.io/lib/namespace.js:229:46)  
at Manager.onClientDisconnect  
(/usr/yunzis/licode/node\_modules/socket.io/lib/manager.js:501:29)  
at WebSocket.Transport.end  
(/usr/yunzis/licode/node\_modules/socket.io/lib/transport.js:467:20)  
at Parser.  
(/usr/yunzis/licode/node\_modules/socket.io/lib/transports/websocket/hybi-16.js:52:10)  
at Parser.emit (events.js:92:17)  
at Parser.opcodeHandlers.8  
(/usr/yunzis/licode/node\_modules/socket.io/lib/transports/websocket/hybi-16.js:382:12)  
2015-04-02 16:34:12.773 - INFO: CloudHandler - ErizoController 1 in  
222.174.255.34 does not respond. Deleting it.  
2015-04-02 16:34:12.774 - INFO: CloudHandler - [CLOUD HANDLER]: Warning!  
No erizoController is available.

why? how to fix?
