Ext version tested:
  • Sencha Touch 2.1rc2

Browser versions tested against:
  • N/A

DOCTYPE tested against:
  • N/A

  • I have a custom proxy, which uses a custom reader. In my store, I use this custom proxy, and configure some values for the custom reader. This was working before 2.1rc1. But now, it fails unless I add a "type: 'myreader'" to the store's "reader" config. That seems a little redundant, since myproxy already defaults to using myreader.

Steps to reproduce the problem:
  • Create an app that uses the code below, and run "sencha app build production"

The result that was expected:
  • Builds successfully

The result that occurs instead:
[INFO ]		Compiling app.js and dependencies
[INFO ]		Processing classPath entry : /project/sencha-compile-temp-dir
[INFO ]		Processing classPath entry : /project/touch/src
[INFO ]		Processing classPath entry : /project/app.js
[INFO ]		Processing classPath entry : /project/MyAppDir
[INFO ]		Processing classPath entry : /project/lib
[WARN ]		[ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initializer => }, function() { ] :: ( /project/touch/src/app/Controller.js => 625 : 1 )
[ERROR]		def was null
[ERROR]		failed to find meta class definition for name reader.null
[ERROR]		Exception running app build : JavaException: com.sencha.exceptions.BasicException: null
[ERROR]		javax.script.ScriptException: [object Error] (<Unknown source>#709) in <Unknown source> at line number 709
Test Case:

Ext.define('MyProxy', {
	extend: '',
	requires: ['MyReader'],
	alias: 'proxy.myproxy',
	config: {
		reader: {
			type: 'myreader'

Ext.define('MyStore', {
	extend: '',
	requires: ['MyProxy'],
	config: {
		proxy: {
			type: 'myproxy',
			reader: {
				rootProperty: 'myRoot'


Screenshot or Video:
  • N/A

See this URL for live test case: N/A

Debugging already done:
  • none

Possible fix:
  • It works if you add "type: 'myreader'" to the reader config.

Additional CSS used:
  • only default ext-all.css

Operating System:
  • Mac OS 10.8.1