Results 1 to 8 of 8

Thread: Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 15 is not of type 'Even

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    Default Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 15 is not of type 'Even

    I created a skeleton app using Sencha CMD 6.2.1 & Sencha touch 2.4.2, the app loads properly on browser but throws Uncaught TypeError: Failed to execute 'initMouseEvent' on 'MouseEvent': parameter 15 is not of type 'EventTarget. at Class.onEvent (TouchGesture.js?_dc=1482839675019:117)' in console when I tap & scroll the view up & down.

    I am using following:
    Sencha touch version: 2.4.2
    Sencha CMD version: 6.2.1
    OS version: Windows 7
    Browser version: Chrome 55.0.2883.87

    here I have attached screenshot of the same.

    Tap_scroll_error.jpg


    Thanks in advance.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    I built a sample application but I was unable to recreate this error. Do you see it every time?

  3. #3

    Default

    @Gary Schlosberg, I am also facing same issue in my project. So I created a skeleton app and tried it as @Manoj Solanki reported, this issue occur if I scroll the view up & down many times and click on the view in between. I have created a video of how it is occurring, please check it

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    I've still been unable to recreate this. So you're not using the emulator in your test? Are you creating the application from the Touch SDK directory or from the directory in which you are creating the application? What command are you using to create the application?

  5. #5

    Default

    1) No I am not using emulator, I tried it on my pc here are details:
    Browser: Chrome browser(55.0.2883.87)
    OS: Windows 7 desktop
    Sencha touch framework version: 2.4.2
    Sencha SDK version: 6.2.1.29

    2) I created skeleton app by executing command: sencha -sdk 'E:\touch-2.4.2' generate app MyApp 'E:\MyApp'

    3) I generated app by executing above command from Sencha CMD folder(i.e. C:\Users\Gaurav.Darak\bin\Sencha\Cmd\6.2.1.29) & also from my app's folder, but in both cases I got the error.

  6. #6

    Default

    1. No I didn't use emulator. I tried it on my desktop pc here are details:
    Browser: Chrome(55.0.2883.87)
    OS: Windows 7
    Sencha CMD version: 6.2.1.29
    Sencha framework sdk: 2.4.2


    2. I created app using command: sencha -sdk 'E:\touch-2.4.2' generate app MyApp 'E:\MyApp'


    3. I created skeleton app by executing above command from Sencha CMD folder(i.e. C:\Users\Gaurav.Darak\bin\Sencha\Cmd\6.2.1.29) & also from my app's folder, and can reproduce error in both cases.

  7. #7

    Default

    @Gary Schlosberg, are you able to recreate the error? I have mentioned my steps in previous message, am I doing something wrong?

  8. #8
    Sencha User
    Join Date
    Dec 2016
    Location
    india
    Posts
    2

    Default initMouseEvent() error

    In Sencha, They have used made mistake in parameter passing in initMouseEvent()
    TouchGesture1.jpg
    instead of
    TouchGesture.jpg
    and This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Avoid using it and update existing code if possible. Be aware that this feature may cease to work at any time.

Similar Threads

  1. Replies: 3
    Last Post: 28 Dec 2016, 7:34 AM
  2. Replies: 2
    Last Post: 28 Aug 2016, 10:45 PM
  3. Replies: 2
    Last Post: 25 Feb 2014, 6:54 PM
  4. Replies: 1
    Last Post: 5 Nov 2010, 9:40 AM
  5. Replies: 6
    Last Post: 10 May 2009, 10:41 AM

Tags for this Thread

Posting Permissions

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