Originally reported on Google Code with ID 2774
WebDriver driver = new InternetExplorerDriver(); ------------------ java.lang.ExceptionInInitializerError at org.openqa.selenium.ie.InternetExplorerDriver.setup(InternetExplorerDriver.java:82) at org.openqa.selenium.ie.InternetExplorerDriver.(InternetExplorerDriver.java:48) ... Caused by: org.openqa.selenium.WebDriverException: Unable to find tmp dir: C:\Windows\system32\config\systemprofile\AppData\Local\Temp Build info: version: '2.11.0', revision: '14435', time: '2011-10-28 18:01:56' System info: os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_25' Driver info: driver.version: InternetExplorerDriver at org.openqa.selenium.io.TemporaryFilesystem.(TemporaryFilesystem.java:77) at org.openqa.selenium.io.TemporaryFilesystem.getDefaultTmpFS(TemporaryFilesystem.java:52) at org.openqa.selenium.ie.InternetExplorerDriverServer.initializeLib(InternetExplorerDriverServer.java:82) at org.openqa.selenium.ie.InternetExplorerDriverServer.(InternetExplorerDriverServer.java:38) ... 24 more ----------- WebDriver driver = new FirefoxDriver(); ------------ Caused by: org.openqa.selenium.WebDriverException: Unable to find tmp dir: C:\Windows\system32\config\systemprofile\AppData\Local\Temp Build info: version: '2.11.0', revision: '14435', time: '2011-10-28 18:01:56' System info: os.name: 'Windows Server 2008 R2', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_25' Driver info: driver.version: FirefoxDriver at org.openqa.selenium.io.TemporaryFilesystem.(TemporaryFilesystem.java:77) at org.openqa.selenium.io.TemporaryFilesystem.getDefaultTmpFS(TemporaryFilesystem.java:52) at org.openqa.selenium.firefox.FirefoxProfile.layoutOnDisk(FirefoxProfile.java:503) at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:74) ... 26 more
Reported by fhoudebert on 2011-11-04 08:51:01
fhoudebert
The text was updated successfully, but these errors were encountered:
Reported by jari.bakken on 2011-11-04 16:46:40
jari.bakken
Sorry, something went wrong.
I've found a solution to this. It appears Windows 2008 has some notorious issues with temp directory permissions. I changed an environment variable for the current user (Temp) to a different directory I created and this went away.
Reported by jasoncorbett on 2012-05-31 21:48:25
jasoncorbett
Closing the issue as it's related to the environment rather than selenium.
Reported by barancev on 2012-12-10 12:21:23
barancev
WontFix
Reported by luke.semerau on 2015-09-17 18:14:07
luke.semerau
lukeis
No branches or pull requests
Originally reported on Google Code with ID 2774
Reported by
fhoudebert
on 2011-11-04 08:51:01The text was updated successfully, but these errors were encountered: