Issues

Select view

Select search mode

 
18 of 18

NPE getBaseComponentPage, CFconfig lucee.additional.config=true

Fixed

Description

"java.lang.NullPointerException;lucee.runtime.exp.NativeException: java.lang.NullPointerException

  1. /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"> 

Environment

None

Attachments

1
  • 07 Sept 2022, 12:40 pm

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

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:12
Edited

Pothys - MitrahSoft16 September 2022 at 10:42

The regression starts from 5.3.10.65-SNAPSHOT onwards.

Maybe this commit causes this issue https://github.com/lucee/Lucee/commit/850b8ef7129cf31c1c28dddcb6b3a9bb45bf56b9

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.

Flag notifications