Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2487

Fetcher thread stopped due to constraint violation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.14
    • None
    • fetcher
    • None
    • ubuntu 14.04 64 bit
      java details: openjdk 1.8

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            dhirajforyou dhirajforyou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: