The section of code that this appears around is:

Code:
var Docs = Ext.create('Ext.TabPanel', {
    id: 'Docs',
    layout: {
        type: 'vbox',
        align: 'stretch'
    },
    defaults: {
        flex: 1,
        itemTpl: '{name}'
    },
    ui: 'Filters',
    items: [{
        xtype: 'list',
        title: 'Tests/Charts',
        store: RefTests,
        listeners: {
            itemtap: function() {
                MyApp.Viewport.setActiveItem('Tests', {type: 'slide', direction: 'left'});
            }
        }
    },{
        xtype: 'list',
        title: 'Statements',
        store: RefStatements,
        listeners: {
            itemtap: function() {
                MyApp.Viewport.setActiveItem('Statements', {type: 'slide', direction: 'left'});
            }
        }
    }],
    dockedItems: [{
        xtype: 'toolbar',
        cls: 'Secondary',
        dock: 'bottom',
        items: [{
            xtype: 'button',
            text: 'Close',
            handler: function() {
                MyApp.Viewport.setActiveItem('Dashboard', {type: 'slide', direction: 'down'});
            }
        }]
    }],
    listeners: {
        activate: function() {
            ToolbarGlobal.setTitle('Docs');
        }
    }
});
The bolded line is the line my JS debugger is telling me that the error is being generated around.

The app I am working on was initially written for ST1, and I am converting it to ST2 (beta release).

I am a ST n00b though, so trying to work my way through it.

Thoughts?

Edit1: For what it's worth, it says the error occurs on line 163 in Panel.js.