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

Tika 1.16 - Nullpointer Exception after update - Asking for help

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.16
    • 1.17
    • cli
    • None

    Description

      Hi,

      i would like to kindly ask for help. We had to update to the latest Tika 1.16. I have no experience in Tika so far, i am just maintaining the configuration and application from another developer.

      Version 1.15 worked very fine for us. But right now i see following error (office is the name of our docker container, hence this output):

      https://github.com/apache/tika/blob/1.16/tika-app/src/main/java/org/apache/tika/cli/TikaCLI.java#L202

      office     | java.lang.NullPointerException
      office     | 	at org.apache.tika.cli.TikaCLI$OutputType.process(TikaCLI.java:202)
      office     | 	at org.apache.tika.cli.TikaCLI$TikaServer$1.run(TikaCLI.java:1153)
      

      I have checked the source on github and have seen, that this code part was changed with one of the latest commits before the 1.16 release (see link above).

      I checked the Change.txt at https://tika.apache.org/1.16/index.html. As i haven't used Tika so far, and i cannot see that the CLI requirements changed from the release notes, i would like to ask, whether this is the case anyway. Do you have some hints on where to start, is this maybe due to improper cli usage? Or do you think there is a missing java package or dependency?

      It's hard for me to say, as the cli commands are automated and distributed over several layers and configuration files in the application stack, hence i am asking for a hint.

      Thx for any advice, best Karl.

      Attachments

        Activity

          People

            Unassigned Unassigned
            KarlBuchta Karl Buchta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: