[ 
https://issues.apache.org/jira/browse/NUTCH-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dhirajforyou closed NUTCH-2487.
-------------------------------
    Resolution: Fixed



Not the nutch error. But custom plugin gives error:

ir.co.bayan.simorq.zal.extractor.nutch.ExtractorParseFilter


Have a good time.

> Fetcher thread stopped due to constraint violation
> --------------------------------------------------
>
>                 Key: NUTCH-2487
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2487
>             Project: Nutch
>          Issue Type: Bug
>          Components: fetcher
>    Affects Versions: 1.14
>         Environment: ubuntu 14.04 64 bit
> java details: openjdk 1.8
>            Reporter: dhirajforyou
>            Priority: Blocker
>
> FetcherThread 42 fetch of https://nutch.apache.org/ failed with: 
> java.lang.LinkageError: loader constraint violation: when resolving method 
> "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;"
>  the class loader (instance of org/apache/nutch/plugin/PluginClassLoader) of 
> the current class, org/slf4j/LoggerFactory, and the class loader (instance of 
> sun/misc/Launcher$AppClassLoader) for the method's defining class, 
> org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type 
> org/slf4j/ILoggerFactory used in the signature
>       at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:299)
>       at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
>       at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
>       at 
> ir.co.bayan.simorq.zal.extractor.nutch.ExtractorParser.<clinit>(ExtractorParser.java:29)
>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>       at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>       at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
>       at java.lang.Class.newInstance(Class.java:442)
>       at 
> org.apache.nutch.plugin.Extension.getExtensionInstance(Extension.java:161)
>       at 
> org.apache.nutch.parse.ParserFactory.getParsers(ParserFactory.java:138)
>       at org.apache.nutch.parse.ParseUtil.parse(ParseUtil.java:80)
>       at org.apache.nutch.fetcher.FetcherThread.output(FetcherThread.java:631)
>       at org.apache.nutch.fetcher.FetcherThread.run(FetcherThread.java:375)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to