Fixed
Details
Assignee
UnassignedUnassignedReporter
Leon Miller-OutLeon Miller-OutPriority
NewNew 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
Unassigned
UnassignedReporter
Leon Miller-Out
Leon Miller-OutPriority
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 13 July 2018 at 15:30
Updated 8 May 2020 at 18:12
Resolved 8 May 2020 at 18:12
Twice now, I have seen Lucee behave very strangely, apparently incorrectly combining multiple lines of code into an invalid statement.
Source code:
application.pageCacheManager = new page_cache_manager(); application.pageCacheManager.flushAll(); // <--- Stack trace points to this line application.typicalItemHighlights = new typical_item_highlights();
Error:
component [page_cache_manager] has no function with name [TYPICALITEMHIGHLIGHTS]
Analysis:
`typicalItemHighlights` does not appear anywhere in `page_cache_manager.cfc`. So, the only explanation I can think of is that some of the three lines of source code above are being combined in some strange way during parsing.
Workaround:
Restarting Lucee resolves the problem temporarily.
P.S. I'm sorry that this is an irreproducible bug report. I hope there's some way to brainstorm possible solutions anyway.