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

Sebastian Nagel edited comment on NUTCH-2681 at 4/23/20, 11:01 AM:
-------------------------------------------------------------------

Well, Nutch now uses Selenium 3.141.5 (after NUTCH-2676) and Firefox is on 
version 75. Closing Thanks, [~venkata...@hcl.com]!


was (Author: wastl-nagel):
Well, Nutch now uses Selenium 3.141.5 (after NUTCH-2716) and Firefox is on 
version 75. Closing Thanks, [~venkata...@hcl.com]!

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

Reply via email to