Results 1 to 2 of 2

Thread: Missing required class: Messages

  1. #1
    Ext JS Premium Member
    Join Date
    Feb 2011
    Posts
    5
    Vote Rating
    0
      0  

    Default Missing required class: Messages

    Hi - We were using Ext 4.0.7 and we tried to migrate to Ext 4.1 .
    We are loading the class using

    Ext.require(['*']);
    Ext.Loader.setConfig({
    enabled: true
    });


    but, could see that it is throwing the below error in the first page (home page).
    Message: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class: Messages
    Line: 9549
    Char: 21
    Code: 0
    URI: http://172.21.160.195:8080/zeus3/sta...ext-all-dev.js


    Message: 'undefined' is null or not an object
    Line: 54137
    Char: 9|
    Code: 0
    URI: http://172.21.160.195:8080/zeus3/sta...ext-all-dev.js


    Message: 'undefined' is null or not an object
    Line: 54137
    Char: 9
    Code: 0
    URI: http://172.21.160.195:8080/zeus3/sta...ext-all-dev.js


    Message: 'el.dom' is null or not an object
    Line: 37654
    Char: 13
    Code: 0
    URI: http://172.21.160.195:8080/zeus3/sta...ext-all-dev.js

    I dont understand what is this class 'Messages' , I searched the workspace and could not find any class called Messages.js. Any idea what could be wrong.

  2. #2
    Sencha User
    Join Date
    Jan 2008
    Posts
    45
    Vote Rating
    0
      0  

    Default

    I've found it helpful to run the app with all-classes.js after the sdk build and then use for example chromes stack trace (drop down on the error message) to show the line which is causing the problem. Once you have the line it probably comes down to doing a require where you didnt need one.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •