PDA

View Full Version : Problems running minified version of Ext Js 4.1.1 RC2



sarabjeetd
21 Jun 2012, 3:59 PM
I am having problems running the minified version of Ext JS 4.1.1. RC2.
Has anybody done this and have been able to run it withput problems?

I use the prescribed sencha tools to do the minification.

-Sarab

scottmartin
22 Jun 2012, 10:25 AM
Can you please elaborate as to what problems you are having? Errors in console?
Are you able to run using ext-all.js?

Scott.

sarabjeetd
23 Jun 2012, 8:23 PM
I am able to run the application but down the line, i get the stacktrace for an error. Since, the app is minified , I am looking for techniques on how to debug this issue. The app works fine when the app is not minified.
Since the app is minified, the entire source is one line.
Here is the stacktrace:

Uncaught TypeError: Cannot read property 'id' of undefined app-all.js:1 (http://localhost:8080/lwdiag/app-all.js)

Ext.define.constructorapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
iext.js:18 (http://localhost:8080/lwdiag/extjs/ext.js)
Ext.define.getItemapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.getCmpapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.invalidateapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.invalidateapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.flushInvalidatesapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.runapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.statics.flushLayoutsapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.statics.updateLayoutapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.updateLayoutapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.doComponentLayoutapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.updateContentsapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.drawGraphCallbackapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
fireext.js:18 (http://localhost:8080/lwdiag/extjs/ext.js)
Ext.define.continueFireEventapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.fireEventapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.onProxyLoadapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.define.processResponseapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
(anonymous function)app-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
Ext.apply.callbackext.js:18 (http://localhost:8080/lwdiag/extjs/ext.js)
Ext.define.handleResponseapp-all.js:1 (http://localhost:8080/lwdiag/app-all.js)
(anonymous function)ext.js:18 (http://localhost:8080/lwdiag/extjs/ext.js)
(anonymous function)