facebook

JavaScript debugging – Permission denied to addEventListener

  1. MyEclipse Archived
  2.  > 
  3. Web 2.0 / AJAX
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #250101 Reply

    treumanw
    Member

    I have upgraded to professional version. Using Windows XP Pro. I have set breakpoints using double-click in left column area. Then I opened the html file, and used Debug As … JavaScript Application from context menu. The MyEclipse Web 2.0 window opened. When I clicked the button (not a Submit button – no serverside is involved) to invoke the JavaScript with the breakpoint, which first displays an alert message, an empty alert message instead appeared, then I got: “uncaught exception: Permission denied to set property EventTarget.addEventListener”.

    ?????

    #250118 Reply

    Riyad Kalla
    Member

    When you upgraded did you get a new subscription key that you entered into the MyEclipse subscription information? Also try restarting using the -clean command line argument incase any stale state is hanging around causing this.

    #250192 Reply

    treumanw
    Member

    Yes, I did get a new subscription key, which I did enter into the MyEclipse subscription info. I have started MyEclipse/Eclipse with the -clean command line argument. I still get “uncaught exception: Permission denied to set property EventTarget.addEventListener”. When trying to use your Web 2.0 debugging browser, does it matter that my normal default browser is IE, which I think does not support EvenTarget.addEventListener? Also, I keep getting the error “getAttention is not defined”, and mentions a file chrome://global something, where I have alert messages. Are these browser differences, when compared to IE? What is chrome – I have never heard of it.

    #250195 Reply

    Riyad Kalla
    Member

    This is starting to sound like an installation problem. Can you paste the result of MyEclipse > About > Configuration Summary for me?

    #250198 Reply

    treumanw
    Member

    *** Date: Mon Apr 10 14:04:30 GMT-05:00 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_04

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.1 GA
    Build id: 20060228-4.1.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse RCP

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Java Development Tools

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Plug-in Development Environment

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Project SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    F:\Eclipse3.1\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    eb4_60
    -clean
    -vm
    F:\jdk1.5.0_04\bin\javaw.exe

    #250203 Reply

    Riyad Kalla
    Member

    Do me a favor:
    1) Shut down MyEclipse
    2) Go into your <workspace dir>\.metadata directory and erase your .log file
    3) Start MyEclipse again
    4) Perform the steps to cause the exception to occur
    5) Go open the new .log file that has been created and paste the result here. That exception should give us a jumping off point.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: JavaScript debugging – Permission denied to addEventListener

You must be logged in to post in the forum log in