Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.3.0
-
None
-
local tika server using tika-config.xml
<fetchers> <fetcher class="org.apache.tika.pipes.fetcher.fs.FileSystemFetcher"> <params> <name>minio-data</name> <basePath>/root/emop/minio-data</basePath> </params> </fetcher> </fetchers>
then call a rest
curl --verbose -X PUT http://localhost:9998/detect/stream -H "fetcherName: minio-data" -H "fetchKey: none-existing.docx"
local tika server using tika-config.xml <fetchers> <fetcher class= "org.apache.tika.pipes.fetcher.fs.FileSystemFetcher" > <params> <name>minio-data</name> <basePath>/root/emop/minio-data</basePath> </params> </fetcher> </fetchers> then call a rest curl --verbose -X PUT http: //localhost:9998/detect/stream -H "fetcherName: minio-data" -H "fetchKey: none-existing.docx"
Description
Produce: call a rest which will produce an exception, the fetchKey give a not existing file name
curl --verbose -X PUT http://localhost:9998/detect/stream -H "fetcherName: minio-data" -H "fetchKey: none-existing.docx"
In the console, only one INFO output, no exception neither stacktrace
The actual exception should be "java.nio.file.NoSuchFileException: /root/emop/minio-data/none-existing.docx"
https://github.com/apache/tika/compare/main...BeamLiu:patch-1
Pay attention, same as other rest endpoints, similar problem.
Attachments
Attachments
Issue Links
- is related to
-
TIKA-3714 cannot retrieve file correctly which contains non ascii char in path
- Resolved