[jira] [Commented] (NUTCH-2681) ClassCastException - Apache Nutch 1.x, Selenium v2.48.2, firefox 31.4.0

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (NUTCH-2681) ClassCastException - Apache Nutch 1.x, Selenium v2.48.2, firefox 31.4.0

Jorge Spinsanti (Jira)

    [ https://issues.apache.org/jira/browse/NUTCH-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980134#comment-16980134 ]

Sebastian Nagel commented on NUTCH-2681:
----------------------------------------

Eventually resolved "en passant" by NUTCH-2676. Needs verification.

> 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)