Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Answers
    7
    Vote Rating
    2
    UbuntuPenguin is on a distinguished road

      0  

    Default Answered: Uncaught TypeError: Cannot call method 'apply' of undefined

    Answered: Uncaught TypeError: Cannot call method 'apply' of undefined


    I have this error popping up in my app, I have tried investigating the usual suspects but to no avail. The stack only shows the Sencha framework line numbers, I was wondering if there was anyway I could find out where in my code, or higher up in the stack where the error was being caused ?

    Any help is greatly appreciated.

  2. That is usually a typo in your code for a listener. So if you have something like

    Code:
    cmp.on('someEvent', 'myhandler');
    myHandler cannot be resolved. This goes for the listeners config, control config on a container or controller.

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      1  

    Default


    That is usually a typo in your code for a listener. So if you have something like

    Code:
    cmp.on('someEvent', 'myhandler');
    myHandler cannot be resolved. This goes for the listeners config, control config on a container or controller.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha Premium Member
    Join Date
    Nov 2011
    Posts
    162
    Answers
    7
    Vote Rating
    2
    UbuntuPenguin is on a distinguished road

      0  

    Default


    That was the answer. I had the following control in one of my controllers

    Code:
        control : {
           somecomponent : {
                  tap : 'somefunctionthatdoesntexistonmycontroller'
         }
    }
    and of course it choked. Maybe in a later release we could get some more information on where it was in the users code the application choked ?

  5. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    9
    Vote Rating
    0
    danrockstheplanet is on a distinguished road

      0  

    Default


    +1 on later release including more information. I just burned half a day trying to track this down.

  6. #5
    Sencha User
    Join Date
    Oct 2012
    Posts
    4
    Vote Rating
    0
    taar1 is on a distinguished road

      0  

    Default same problem, no solution yet

    same problem, no solution yet


    I have the same error like mentioned above. But I couldn't find a solution yet. I followed the instructional video at http://docs.sencha.com/touch/2-0/#!/guide/list closely and double-, even triple checked everything for typos.

    But still, whenever I click on the "arrow" button in a list entry I get this error:

    Not sure what I'm doing wrong here.
    Any other hints what might cause this error?

  7. #6
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Means the method could not be resolved.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  8. #7
    Sencha User
    Join Date
    Apr 2014
    Posts
    2
    Vote Rating
    0
    PrinceofTexas is on a distinguished road

      0  

    Default Could somebody please explain the answer to this problem? ( Do I need Umbrella App )

    Could somebody please explain the answer to this problem? ( Do I need Umbrella App )


    I'm building the Do I need Umbrella App (Dinmu) app to learn Sencha Touch but stacked at the end of the part 1:
    http://www.sencha.com/blog/getting-s...ty-app-part-1/

    My problem is that the event handlers are not fired when I tap on the components in the view.
    Nothing happens and I get in Google Chrome console the same type of error as OP described.

    Could somebody help?