java.lang.RuntimeException

java.lang.IllegalArgumentException: /var/jenkins_home/.m2/repository/webdriver/phantomjs/beta-linux-ubuntu-xenial-x86_64/2.5.0/phantomjs-2.5.0-beta-linux-ubuntu-xenial-x86_64.tar.gz is not a directory

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via GitHub by patryk44
    ,
  • via GitHub by jnickc
    ,
  • Stack trace

    • java.lang.RuntimeException: java.lang.IllegalArgumentException: /var/jenkins_home/.m2/repository/webdriver/phantomjs/beta-linux-ubuntu-xenial-x86_64/2.5.0/phantomjs-2.5.0-beta-linux-ubuntu-xenial-x86_64.tar.gz is not a directory at io.github.bonigarcia.wdm.BrowserManager.manage(BrowserManager.java:284) at io.github.bonigarcia.wdm.BrowserManager.setup(BrowserManager.java:108) at io.github.bonigarcia.wdm.BrowserManager.setup(BrowserManager.java:87) at com.rosolko.lift.Main.getDriver(Main.java:92) at com.rosolko.lift.Main.main(Main.java:31) Caused by: java.lang.IllegalArgumentException: /var/jenkins_home/.m2/repository/webdriver/phantomjs/beta-linux-ubuntu-xenial-x86_64/2.5.0/phantomjs-2.5.0-beta-linux-ubuntu-xenial-x86_64.tar.gz is not a directory at org.apache.commons.io.FileUtils.verifiedListFiles(FileUtils.java:1704) at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1674) at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1575) at io.github.bonigarcia.wdm.Downloader.checkPhantom(Downloader.java:319) at io.github.bonigarcia.wdm.Downloader.extract(Downloader.java:236) at io.github.bonigarcia.wdm.Downloader.download(Downloader.java:131) at io.github.bonigarcia.wdm.BrowserManager.manage(BrowserManager.java:277) ... 4 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown UserUnknown User
    Once,