Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    15
    Vote Rating
    0
    junkw is on a distinguished road

      0  

    Exclamation TypeError: 'null' is not a constructor (evaluating 'new c(a[0])') with blank project

    1- I start a blank new EXTJS 4.0 project with Sencha Designer 2 Build: 311.
    2- I drag a Store in "Stores"
    3- I save and deploy

    I get TypeError: 'null' is not a constructor (evaluating 'new c(a[0])') in my browser console. I use Safari 5.1.4

    I tried everything I could and always get this error.

    How can I fix this?

  2. #2
    Sencha User Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,953
    Vote Rating
    65
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default

    Can you archive your project and attach it here so we can have a look.

    File -> Archive Project
    Phil Strong
    @philstrong

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    15
    Vote Rating
    0
    junkw is on a distinguished road

      0  

    Default

    here it is.

    If you find the bug please reply.
    Attached Files

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    15
    Vote Rating
    0
    junkw is on a distinguished road

      0  

    Default

    update: coming from the Sencha Touch 2 world, I didn't know EXT4 project needed to be run under a web server (Touch projects can be accessed through file:/// and they run). So I started a webserver with "python -m SimpleHTTPServer" and got it to work.

  5. #5
    Sencha User Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,953
    Vote Rating
    65
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default

    Awesome thanks.
    Phil Strong
    @philstrong

Thread Participants: 1

Tags for this Thread