Arara crashes in TeX Live 2021 if tex file is in top level directory
Description of the bug
- arara version:6.0.0
- operating system: Windows
- TeX distribution: TeX Live 2021
Arara crashes when TeX file is sitting in top level directory
Place this file in top directory, e.g. D:\ or R:\
%!TEX TS-program = Arara
% arara: pdflatex
\documentclass[12pt]{article}
\begin{document}
asdad
\end{document}
R:\>java.exe -jar c:\texlive\2021\texmf-dist\scripts\arara\arara.jar aaaaa.tex
__ _ _ __ __ _ _ __ __ _
/ _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
\__,_|_| \__,_|_| \__,_|
Exception in thread "main" java.lang.NullPointerException
at org.islandoftex.arara.cli.CLI.run(CLI.kt:193)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:180)
at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:17)
at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:396)
at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:393)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:411)
at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:436)
at org.islandoftex.arara.cli.CLIKt.main(CLI.kt:271)
Place it in any subfolder instead, then it compiles fine.
R:\bbb>java.exe -jar c:\texlive\2021\texmf-dist\scripts\arara\arara.jar aaaaa.tex
__ _ _ __ __ _ _ __ __ _
/ _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
\__,_|_| \__,_|_| \__,_|
Processing "aaaaa.tex" (size: 119 B, last modified: 04/04/2021
14:03:18), please wait.
(PDFLaTeX) PDFLaTeX engine .............................. SUCCESS
Total: 1.50 seconds
How should arara act instead?
Arara should process the file and generate the PDF
Miscellaneous
-
I have searched the issues for my problem. -
I have asked somewhere else for help: https://tex.stackexchange.com/questions/591385/arara-crashes-in-tex-live-2021
Edited by Ben Frank