cffile action read without file attribute throws a NPE.

Description

cffile action read without file attribute throws a NullPointerException. The regression starts from 5.2.2.56-SNAPSHOT onwards. The fix for the ticket causes the issue.

https://github.com/lucee/Lucee/blob/6.0/core/src/main/java/lucee/runtime/cache/tag/CacheHandlerCollectionImpl.java#L209

Here is the stack trace

Environment

None

Activity

Zac Spitzer 20 May 2021 at 10:42

Pothys - MitrahSoft 17 March 2021 at 11:54
Edited

I added a fix for this ticket and improved the error message for the cffile tag

Pull Request: https://github.com/lucee/Lucee/pull/1234

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 17 March 2021 at 07:01
Updated 18 June 2023 at 16:57
Resolved 20 May 2021 at 11:33