I’ve checked this with latest lucee 5.3.5.5-SNAPSHOT and your affected version 5.3.277 also. But, can’t able to reproduce the error. CFFILE action=“upload” working fine for me.
To the OP (fs), do you have attributes other than what cfmitrah shows? For instance the accept or strict attributes? If so, what are their values?
I ask because the error refers to mime types, which are checked during the cffile upload process. If his simpler test works (or you remove those other attributes in your code), the question then is what’s wrong about them. Show us your values.
It may also help to offer a file you are uploading that fails, if it’s safe for you to share.
Finally, if none of that helps, try doing a cfabort at the top of the page. Does the error still happen? If so, then it’s not about the cffile upload itself (which moves the uploaded file to the named destination), but instead about the engine processing receipt of the file, which happens before any cfml code runs. That’s a surprise to some folks, that in fact any cfm page that has a file posted to it will have that file saved in a temp dir, until it’s moved (not “received”) by the cffile upload" or it will be deleted automatically at the end of the request.
I’m not sure if it is a Lucee issue…or do I need to update Apache/TomCat on my server. Or possibly a missing library item?
I also wonder if it could be a missing class definition for mime types inside of the “TIKA” library. I’m not much of an infrastructure guy, so a lot of these solutions are beyond me right now. I could ask another infrastructure management expert to look at it if I knew the right questions to ask.
Yes. I’ve checked with your test case. Sorry, still doesn’t get any error.
What is your JVM version and Apache Tomcat version? Please share with here.
I think, maybe that is the reason for throwing an error.
Server version: Apache Tomcat/8.5.14
Server built: Apr 13 2017 12:55:45 UTC
Server number: 8.5.14.0
OS Name: Linux
OS Version: 3.10.0-693.5.2.el7.x86_64
Architecture: amd64
JVM Version: 1.8.0_144-b01
JVM Vendor: Oracle Corporation
Java:
java version “1.8.0_144”
Java™ SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot™ 64-Bit Server VM (build 25.144-b01, mixed mode)