Issues
NPE getBaseComponentPage, CFconfig lucee.additional.config=true
Fixed
Description
Environment
None
Attachments
1
relates to
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Zac SpitzerZac SpitzerPriority
NewFix 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
Affects versions
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Zac Spitzer
Zac SpitzerPriority
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
Affects versions
Created 7 September 2022 at 07:46
Updated 26 September 2022 at 13:24
Resolved 23 September 2022 at 12:08
Activity
Show:
Pothys - MitrahSoft23 September 2022 at 12:08
I've checked this ticket and now the issue was solved in the lucee fixed version 5.3.10.72-SNAPSHOT.
Zac Spitzer20 September 2022 at 09:12Edited
to trigger the import of .CFCONFIG.json
, the env var lucee.additional.config=true
is now required
Pothys - MitrahSoft16 September 2022 at 10:42
The regression starts from 5.3.10.65-SNAPSHOT onwards.
Maybe this commit causes this issue
Pothys - MitrahSoft7 September 2022 at 15:10
I've replicated the issue in my local. when updating to the 6.0 version and downgrading to 5.3.10.65-SNAPSHOT. It throws an AccessDeniedException error. Also, it logs a NullPointerException error in the application.log.
"java.lang.NullPointerException;lucee.runtime.exp.NativeException: java.lang.NullPointerException
/lucee/Application.cfc:17
at lucee.runtime.config.ConfigImpl.getPageSources(ConfigImpl.java:905)
at lucee.runtime.config.ConfigImpl.getPageSources(ConfigImpl.java:894)
at lucee.runtime.config.ConfigImpl.getBaseComponentPageSource(ConfigImpl.java:1826)
at lucee.runtime.config.ConfigWebHelper.getBaseComponentPage(ConfigWebHelper.java:126) (edited)
this is kinda fatal, ends up with this error
it happens due to an error with the auto
.CFCONFIG.json
import when you upgrade to 6 and then downgrade to 5.3.10.67, which ends up with<component base-cfml="" base-lucee="" component-default-import="" data-member-default-access="" deep-search="false" dump-template="/lucee/component-dump.cfm" local-search="" trigger-data-member="" use-cache-path="" use-shadow="">
the working version looks more like this
<component base-cfml="/lucee/Component.cfc" base-lucee="/lucee/Component.lucee" data-member-default-access="public" dump-template="/lucee/component-dump.cfm">