Template parsing error - multiple lines incorrectly combined

Description

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.

Environment

  • Lucee 5.2.7.62

  • Ubuntu 16.04.4

  • Rackspace Cloud Server

  • Apache 2.4

Attachments

1
  • 13 Jul 2018, 03:29 pm

Activity

Show:

Leon Miller-Out 9 September 2019 at 16:22

I don’t have a stacktrace, and I don’t recall this having happened to me in the year since I created the ticket. I’m OK with closing this one.

Michael Offner 9 September 2019 at 13:50

to you have a java stacktrace for this?

Zac Spitzer 24 July 2018 at 23:52

Igal Sapir 24 July 2018 at 21:06

You can open a ticket and we will look into it and see if it makes sense and/or possible. The thing is that without a ticket the idea would get lost here in JIRA.

Zac Spitzer 24 July 2018 at 06:36

should I file that as an enhancement ?

Fixed

Details

Assignee

Reporter

Priority

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