Exceptions from class "freemarker.core.FMParser$LookaheadSuccess" when using java mission control while doing perfomance analysis

Issue

  • We are doing a performance analysis using Java Mission Control and while checking the errors tab we see a lot of exceptions coming from freemarker.core.FMParser$LookaheadSuccess class

Environment

  • Liferay DXP 7.3

Resolution

  • If those errors only arise while doing a recording with JMC and doesn't get reflected in the logs, they can be ignored as a false positive.
  • LookAheadSuccess extends Error and an instance of LookAheadSuccess is created when you create a new instance of FMParser that's why JMC logs it as error despite not being thrown.

Additional Information

Was this article helpful?
0 out of 0 found this helpful