The GitHub Actions job "Java CI" on commons-vfs.git/feature/junit5-migration 
has failed.
Run started by GitHub user gnodet (triggered by gnodet).

Head commit for run:
a5282524e97d764f0ada85b18992bfdd986f4a94 / Guillaume Nodet <[email protected]>
Fix NullPointerException in tests with null base folder

Fixed issue where tests that don't require a base folder (like IPv6
URL resolution tests) were failing with NullPointerException during
setUp().

Changes:
- Modified AbstractProviderTestSuite.setUp() to handle null baseFolder
- Only attempt to resolve read/write folders if baseFolder is not null
- Added null check before validating read folder existence

This fixes the following test failures:
- FtpProviderIPv6Test
- SftpProviderIPv6Test
- SftpPutChannelTest
- SftpPermissionExceptionTest
- SftpProviderClosedExecChannelTest
- SftpProviderStreamProxyModeTest

These tests use mocked providers for URL resolution testing and don't
need actual file system access, so they return null from
getBaseTestFolder().

Report URL: https://github.com/apache/commons-vfs/actions/runs/18335775388

With regards,
GitHub Actions via GitBox

Reply via email to