Bizarre error when using CFFILE to upload html files

Hi all,
I’m getting this bizarre, intermittent (of course!) error when using CFFILE to upload a .htm file. It’s fine for days and then suddenly, I get this error.

“Could not initialize class org.apache.tika.utils.XMLReaderUtils”

The code is pretty simple - form (with enctype set correctly) and on the other end:

OS: Windows Server 2012 R2 Standard
Java Version: 11.0.22 (Eclipse Adoptium) 64bit
Tomcat Version: Apache Tomcat/9.0.86
Lucee Version: 6.0.1.83

For good measure, I’ve got a setting in my Application.cfc like so:

I’m getting this funny intuition that, somehow, a Java component “goes away” or something, but that’s purely intuition.

Any ideas? I’ve Googled (a lot) and can’t find anything comparable.

Hope someone can help

Mike Horne

so?
I think there’s a piece of code missing :sweat_smile:

Sorry, I misread. There is a another known issue with the tika MimeTypesReader and I thought that was it but I see you are having another tika issue where it’s parsing the htm file with the XML parser.

Also, you might be able to update the tika lib in \tomcat\lucee-server\bundles.

I remember they were using a pretty outdated version in 5.x, not sure about 6.

https://tika.apache.org/