Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2977

Tika should throw an exception if a custom parser specified in tika-config.xml can't be loaded

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      If you start tika-server and specify a custom parser class in tika-config but you don't then include that jar on the classpath, tika-server silently fails.

      I initially thought that we should make sure that it respects the service loader problem handler (e.g. <service-loader initializableProblemHandler="throw"/>), but this isn't service loading. If a user specifies a parser that can't be loaded, we should throw an exception. WDYT?

      This also affects tika-app in regular and batch mode.

      Attachments

        Issue Links

          Activity

            People

              tallison Tim Allison
              tallison Tim Allison
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: