You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Venkata Madhusudhana Rao (JIRA)" <ji...@apache.org> on 2018/12/21 15:04:00 UTC
[jira] [Created] (NUTCH-2681) ClassCastException - Apache Nutch
1.x, Selenium v2.48.2, firefox 31.4.0
Venkata Madhusudhana Rao created NUTCH-2681:
-----------------------------------------------
Summary: ClassCastException - Apache Nutch 1.x, Selenium v2.48.2, firefox 31.4.0
Key: NUTCH-2681
URL: https://issues.apache.org/jira/browse/NUTCH-2681
Project: Nutch
Issue Type: Bug
Components: fetcher
Affects Versions: 1.15
Environment: * Apache nutch 1.x (https://github.com/apache/nutch/tree/master/src/plugin/protocol-selenium)
* Selenium v2.48.2
* Firefox 31.4.0
* Environment: CentOS-7
Reporter: Venkata Madhusudhana Rao
Fetching of Ajax content using _*protocol-selenium*_, with the specified selenium and firefox versions, while executing _*bin/nutch fetch,*_ below ClassCastException thrown
{quote}Caused by: org.openqa.selenium.WebDriverException: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory
Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06'
System info: host: '24labs', ip: '10.0.10.24', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-327.13.1.el7.x86_64', java.version: '1.8.0_191'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.FileExtension.readIdFromInstallRdf(FileExtension.java:142)
at org.openqa.selenium.firefox.internal.FileExtension.writeTo(FileExtension.java:61)
at org.openqa.selenium.firefox.internal.ClasspathExtension.writeTo(ClasspathExtension.java:64)
at org.openqa.selenium.firefox.FirefoxProfile.installExtensions(FirefoxProfile.java:443)
at org.openqa.selenium.firefox.FirefoxProfile.layoutOnDisk(FirefoxProfile.java:421)
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:95)
... 12 more
Caused by: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory
at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
at org.openqa.selenium.firefox.internal.FileExtension.readIdFromInstallRdf(FileExtension.java:95)
{quote}
Also tried with below firefox versions (Firefox: 60.3 oesr (64 bit), Selenium : v3.4.0, Geckodriver: 0.23.0 ( 2018-10-04)), ended with same casting exception.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)