Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

Permissioin denied to access property #7170

Closed
lukeis opened this issue Mar 4, 2016 · 11 comments
Closed

Permissioin denied to access property #7170

lukeis opened this issue Mar 4, 2016 · 11 comments

Comments

@lukeis
Copy link
Member

lukeis commented Mar 4, 2016

Originally reported on Google Code with ID 7170

can't seem to figure out this error...

OSX 10.9.2
Firefox 28.0
selenium-server-standalone-2.41.0.jar

code snippet:
-------------------------------------------------------------------

  WebDriver driver = null;

  driver = new FirefoxDriver();

  driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
  driver.manage().timeouts().pageLoadTimeout(10, TimeUnit.SECONDS);
  driver.manage().timeouts().setScriptTimeout(10, TimeUnit.SECONDS);

  driver.manage().deleteAllCookies();

  // Go to the login page
  driver.get(this.startpage);

  WebElement query = null;

  // Enter username
  String input_id = "ctl00_MainContent_txtClientUsername";

  // *** EXCEPTION GENERATED HERE ****
  query = driver.findElement(By.id(input_id));

  query.clear();
  query.sendKeys(this.username);

  // Enter password
  input_id = "ctl00_MainContent_txtClientPassword";
  query = driver.findElement(By.id(input_id));
  query.clear();
  query.sendKeys(this.password);

  // Click login button
  input_id = "ctl00_MainContent_btnLoginArtist";
  query = driver.findElement(By.id(input_id));
  query.click();
-------------------------------------------------------------------


org.openqa.selenium.WebDriverException: Permission denied to access property 'nr@context'
Command duration or timeout: 64 milliseconds
Build info: version: '2.41.0', revision: '3192d8a', time: '2014-03-27 17:17:32'
System info: host: 'jons-mac-pro.home', ip: '192.168.1.8', os.name: 'Mac OS X', os.arch:
'x86_64', os.version: '10.9.2', java.version: '1.7.0_12-ea'
Session ID: 2cb5bd4c-333c-d441-9600-2a689b572428
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{platform=MAC, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true,
databaseEnabled=true, browserName=firefox, handlesAlerts=true, browserConnectionEnabled=true,
webStorageEnabled=true, nativeEvents=false, rotatable=false, locationContextEnabled=true,
applicationCacheEnabled=true, takesScreenshot=true, version=28.0}]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
    at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:595)
    at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
    at org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:389)
    at org.openqa.selenium.By$ById.findElement(By.java:214)
    at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:340)
    at com.wwrkds.DataCrawler.run(DataCrawler.java:749)
Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Permission
denied to access property 'nr@context'
Build info: version: '2.41.0', revision: '3192d8a', time: '2014-03-27 17:17:32'
System info: host: 'jons-mac-pro.home', ip: '192.168.1.8', os.name: 'Mac OS X', os.arch:
'x86_64', os.version: '10.9.2', java.version: '1.7.0_12-ea'
Driver info: driver.version: unknown
    at <anonymous class>.n(https://members.cdbaby.com/Login.aspx:19)
    at <anonymous class>.nrWrapper(https://members.cdbaby.com/Login.aspx:19)

Reported by JonLareau on 2014-04-03 10:35:00

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I have been getting this same error starting this morning.  I am using Selenium IDE
on FF 25, and as late as yesterday, ALL tests were running flawlessly. Now anytime
I have a click or click and wait command, I get this error, [error] Unexpected Exception:
Error: Permission denied to access property 'nr@context'.  Filename>xxxxx  lineNumber
-> 5, columnNumber -> 376. 

The filename changes depending on what page I am on, but the error and line and column
number remain the same. This all started this morning. (4/3/14). 

Reported by klendathu666 on 2014-04-03 12:11:28

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

For me also, started this morning.

Reported by easyFinancialEpam on 2014-04-03 14:16:35

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I also observe this issue in FireFox, but when i run the script in IE10. it works.

Thanks
Krishna Kishore

Reported by krishna.g24 on 2014-04-03 14:36:41

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

I also got the same error. In our case, we execute script on multiple environments where
url just differs.. on this issue occurs on the url accessed as Ip address. 

Reported by lavu1241 on 2014-04-03 15:28:57

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

For me also this issue is coming ,started ealy morning.using webdriver checked on diff-2
FF browsers but issue is coming when scripts do driver.findelement(By.***(**))

Reported by amitbajpai.71 on 2014-04-03 15:35:46

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

UPDATE: i am able to use chrome as well, i see this issue only in FireFox.,

Reported by krishna.g24 on 2014-04-03 15:37:30

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Does you project have some connection to HEROKU?

Reported by IIkarak on 2014-04-03 17:30:49

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Yes my application is cloud based and it is using heroku.. Now what is the resolution
for this issue?

Reported by amitbajpai.71 on 2014-04-03 19:00:50

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

http://stackoverflow.com/questions/22838585/error-running-selenium-ide-error-permission-denied-to-access-property-nrcont/22849340#22849340

Reported by amitbajpai.71 on 2014-04-04 02:38:47

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

See the answer in http://stackoverflow.com/a/22868199/690982

Reported by barancev on 2014-04-08 13:06:35

  • Status changed: Invalid

@lukeis
Copy link
Member Author

lukeis commented Mar 4, 2016

Reported by luke.semerau on 2015-09-17 18:22:17

  • Labels added: Restrict-AddIssueComment-Commit

@lukeis lukeis closed this as completed Mar 4, 2016
@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant