You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2021/07/16 18:01:00 UTC
[jira] [Resolved] (TIKA-3484) TikaPipesOpenSearchTest:
java.lang.IllegalArgumentException: "basePath" directory does not exist
[ https://issues.apache.org/jira/browse/TIKA-3484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved TIKA-3484.
-----------------------------------
Resolution: Fixed
> TikaPipesOpenSearchTest: java.lang.IllegalArgumentException: "basePath" directory does not exist
> ------------------------------------------------------------------------------------------------
>
> Key: TIKA-3484
> URL: https://issues.apache.org/jira/browse/TIKA-3484
> Project: Tika
> Issue Type: Bug
> Components: tika-pipes
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.1
>
>
> I've been trying to build "main" on windows 10, and got this:
> java.lang.RuntimeException: java.lang.IllegalArgumentException: "basePath" directory does not exist: XXXXX\YYYYYYJavatika-maintikatika-integration-teststika-pipes-opensearch-integration-teststargettest-files
> at org.apache.tika.pipes.opensearch.tests.TikaPipesOpenSearchTest.runPipes(TikaPipesOpenSearchTest.java:129)
> at org.apache.tika.pipes.opensearch.tests.TikaPipesOpenSearchTest.testFSToOpenSearch(TikaPipesOpenSearchTest.java:96)
> Caused by: java.lang.IllegalArgumentException: "basePath" directory does not exist: XXXXX\YYYYYYJavatika-maintikatika-integration-teststika-pipes-opensearch-integration-teststargettest-files
> The cause is that the file tika\tika-integration-tests\tika-pipes-opensearch-integration-tests\target\ta-opensearch.xml have two basepaths that doesn't exist. It contains my path but without any "/" or "\".
> The root cause is that .replaceAll needs some escaping in the second parameter.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)