Issues

Select view

Select search mode

 

Regression - Intermittent ClassNotFoundException exception when compiling

Fixed

Description

This was reported by a CommandBox user after updating to Lucee 5.3.5.92 using Java 11.0.6. The error was thrown after pagePoolClear() was called and CFML code ran. In the case of this specific stack trace, the line of CF code in question was simply calling a UDF in the code.

The error does not happen every time.

Also note, the Lucee java code in the PhysicalClassLoader class is SWALLOWING the original IOException and only re-throwing a generic error which makes it impossible to determine what actually happened!

Lucee needs to do a better job of handling this error so we can see the real "cause".

Environment

None

Attachments

1

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

Sprint

Affects versions

Created 31 March 2020 at 02:27
Updated 19 October 2020 at 16:25
Resolved 25 May 2020 at 18:53

Activity

Show:

Zac Spitzer29 July 2020 at 20:07

Can you file a new issue and link it back to this one?

m29 July 2020 at 20:04

Had this problem in 5.3.6, so I upgraded to 5.3.7. I thought it was fixed, but it came back. This error just seems to happen on its own. Its there one minute, gone the next. Sometimes a re-start of Lucee will fix this, but then for no reason (no code or conf changes), it just comes back. It also seems somewhat self healing. I have seen it just go away without any code changes.

John Berquist25 May 2020 at 23:31

Unfortunately, the error is still present in 5.3.7.34-SNAPSHOT. Have you tried reproducing the error yourself using the gist I linked to earlier? I can get the error to show up using that code even on my Mac, so long as I use Java 11, and not Java 8.

Michael Offner25 May 2020 at 18:46

 

that fix should do the trick, can you give it a try?

Michael Offner24 April 2020 at 07:18

i will review the commits to see what could cause this.

Flag notifications