PDA

View Full Version : Cannot read property 'dom' of null after login



tysoncadenhead
25 Apr 2013, 6:23 PM
When I log in a user with the basic Sencha authentication using the Sencha.io controller, the user is logged in, but an error is thrown that says:

Uncaught TypeError: Cannot read property 'dom' of null

Here is my stacktrace:


Ext.define.insertInnerItemsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.onItemInnerStateChangesencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
b.implement.callSupersencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.onItemInnerStateChangesencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.onItemAddsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.doFiresencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.firesencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.doDispatchEventsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.dispatchEventsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.doFireEventsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.fireActionsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.doItemLayoutAddsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.onItemAddsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.doAddsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.addsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.applyActiveItemsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
(anonymous function)sencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.hideLoginPanelController.js:659 (http://localhost:3000/app/io/src/io/Controller.js?_dc=1366942212147)
Ext.define.onAuthController.js:485 (http://localhost:3000/app/io/src/io/Controller.js?_dc=1366942212147)
(anonymous function)Controller.js:613 (http://localhost:3000/app/io/src/io/Controller.js?_dc=1366942212147)
cbUser.js:187 (http://localhost:3000/app/io/src/io/User.js?_dc=1366942212363)
(anonymous function)User.js:296 (http://localhost:3000/app/io/src/io/User.js?_dc=1366942212363)
Ext.define.inheritableStatics.getCachedObjectObject.js:100 (http://localhost:3000/app/io/src/io/Object.js?_dc=1366942212531)
Ext.define.statics.getCurrentUser.js:280 (http://localhost:3000/app/io/src/io/User.js?_dc=1366942212363)
(anonymous function)Group.js:299 (http://localhost:3000/app/io/src/io/Group.js?_dc=1366942212515)
(anonymous function)AuthStrategies.js:78 (http://localhost:3000/app/io/src/cf/messaging/AuthStrategies.js?_dc=1366942212761)
Ext.define.callbackRpc.js:280 (http://localhost:3000/app/io/src/cf/messaging/Rpc.js?_dc=1366942212738)
Ext.define.subscribeRpc.js:203 (http://localhost:3000/app/io/src/cf/messaging/Rpc.js?_dc=1366942212738)
Ext.define.receiveTransport.js:519 (http://localhost:3000/app/io/src/cf/messaging/Transport.js?_dc=1366942212738)
(anonymous function)Transport.js:139 (http://localhost:3000/app/io/src/cf/messaging/Transport.js?_dc=1366942212738)
Ext.define.doFiresencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.firesencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.doDispatchEventsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.dispatchEventsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.doFireEventsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
(anonymous function)sencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.doFiresencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.firesencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.doDispatchEventsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.dispatchEventsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.doFireEventsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define.fireEventsencha-touch-all.js:18 (http://cdn.sencha.com/touch/sencha-touch-2.2.0-rc/sencha-touch-all.js)
Ext.define._receiveWebSocketTransport.js:309 (http://localhost:3000/app/io/src/cf/messaging/transports/WebSocketTransport.js?_dc=1366942213336)
socket.onmessageWebSocketTransport.js:125 (http://localhost:3000/app/io/src/cf/messaging/transports/WebSocketTransport.js?_dc=1366942213336)

If I refresh the page, everything works like it should. It is just an issue during the login process. Am I doing something wrong? Everything seems pretty straightforward to me, but it's just getting caught there for some reason.

Thanks!