You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (Jira)" <ji...@apache.org> on 2019/11/22 13:16:00 UTC
[jira] [Updated] (NUTCH-2681) ClassCastException - Apache Nutch
1.x, Selenium v2.48.2, firefox 31.4.0
[ https://issues.apache.org/jira/browse/NUTCH-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebastian Nagel updated NUTCH-2681:
-----------------------------------
Fix Version/s: 1.17
> 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
> Priority: Major
> Fix For: 1.17
>
>
> 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
(v8.3.4#803005)