When launching behave-v7.0.1.jar on Windows, the application crashes due to a malformed log path.
Details 📊
- OS: Windows 10/11
- Java: OpenJDK 17
- Version: Behave v7.0.1
- Error Log Extract:
Logging to: C:\Users\DSANT\Downloads\C:Users\DSANT\.behave\logs
FileNotFoundException: ... (The filename, directory name, or volume label syntax is incorrect)
Cause 🔍
Absolute paths are being treated as relative and concatenated with the working directory, producing invalid Windows file paths.
Expected
The logger should treat absolute paths properly without appending them to user.dir.
Impact
This prevents Behave v7.0.1 from running on Windows, blocking all users on that platform.
Thanks for your work on this great tool. Happy to test a fix if needed.
When launching
behave-v7.0.1.jaron Windows, the application crashes due to a malformed log path.Details 📊
Cause 🔍
Absolute paths are being treated as relative and concatenated with the working directory, producing invalid Windows file paths.
Expected
The logger should treat absolute paths properly without appending them to
user.dir.Impact
This prevents Behave v7.0.1 from running on Windows, blocking all users on that platform.
Thanks for your work on this great tool. Happy to test a fix if needed.