Skip to main content
Participant
August 12, 2025
Answered

Cfindex not indexing .docx word documents files

  • August 12, 2025
  • 3 replies
  • 5120 views

On Thursday, the error below began appearing after the last 2023 coldfusion update on my cfindex code that is atleast 10 years old. I found removing the .dot file extension from my extensions list stopped the error from occurring. However, .docx files will not index now.

 

I tried to uninstall the update 15, although this did not solve the error or the indexing issue 

 

Message

com.zaxxer.sparsebits.SparseBitSet not found by poi-5.4.1 [36]

StackTrace

java.lang.ClassNotFoundException: com.zaxxer.sparsebits.SparseBitSet not found by poi-5.4.1 [36] at org.apache.poi.xslf.usermodel.XSLFSheet.<init>(XSLFSheet.java:89) at org.apache.poi.xslf.usermodel.XSLFSlideMaster.<init>(XSLFSlideMaster.java:64) at org.apache.poi.ooxml.POIXMLFactory.createDocumentPart(POIXMLFactory.java:61) at org.apache.poi.ooxml.POIXMLDocumentPart.read(POIXMLDocumentPart.java:671) at org.apache.poi.ooxml.POIXMLDocument.load(POIXMLDocument.java:165) at org.apache.poi.xslf.usermodel.XMLSlideShow.<init>(XMLSlideShow.java:126) at coldfusion.tagext.search.MSDocument.readPPTX(MSDocument.java:206) at coldfusion.tagext.search.SolrUtils.getSolrDocument(SolrUtils.java:817) at coldfusion.tagext.search.SolrUtils.addDocument(SolrUtils.java:1439) at coldfusion.tagext.search.IndexTag.doUpdate(IndexTag.java:683) at coldfusion.tagext.search.IndexTag.doStartTag(IndexTag.java:352) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:5083) at cffile_index_intranet2ecfm1052529286.runPage(D:\tasks\file_index_intranet.cfm:38) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:251) at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:749) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:578) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:613) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:162) at coldfusion.filter.IpFilter.invoke(IpFilter.java:45) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:97) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:81) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:231) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:311) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:46) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:47) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:762) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359) at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:447) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:935) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1826) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1189) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:658) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833)

    Correct answer Charlie Arehart

    After restarting the server, getting this error again will all six downgraded one version, 

     

    void org.apache.xmlbeans.XmlOptions.put(java.lang.Object)' null


    Keith, please now try to see if that remaining problem goes away with stopping cf, deleting the felix-cache folder (in cfusion/bin), then restarting cf. 

    3 replies

    Charlie Arehart
    Community Expert
    Community Expert
    August 18, 2025

    To help those who may find this thread (such as if searching brings them here), I want to offer a summary. There was the initial problem reported, then others discovered. It's a very long thread.

     

    • First, what Keith reported originally was that as of the July 2025 CF updates (in his case, of cf2023), his use of cfindex would no longer work for .docx files
    • He also reported that uninstalling that July update did NOT resolve the problem
    • For the first couple of days we pursued a couple of lines of consideration, including whether it may be due to an error in the update process
    • But I later confirmed not only that I could recreate the problem, but that it was true also for those on CF2025 and CF2021 who applied the July Update. I also filed an Adobe bug report
    • BKBK then proposed downgrading the search package, which proved to solve the problem of .docx files not being indexed
    • But Keith later reported that he now found also .xlsx files would not index
    • I proposed he downgrade the spreadsheet package. He reported at first that didn't work, but then I reminded him to clear the felix-cache, and then he reported now it worked:  he could now use cfindex to process .docx and .xlsx files, along with the others that had been working

     

    While that takes care of his cfindex problems (and it would work for those who apply the July update and then uninstall it), it still didn't explain why uninstalling the July update left things in this seemingly broken state.

     

    And for that I had (in the midst of all the dozens of replies) also identified and reported here a different problem that expands WELL BEYOND this one matter of cfindex.  Indeed, it can explain many, many problems that some (not all) people have had with recent updates and unusual package management problems.  It has to do with what I've documented is a seeming misconfiguration in the bundlesdependency.json file which is downloaded from Adobe when one performs a CF update (or CF package updates).  For now, check out that message I just linked to. I will eventually create a new bug report (at tracker.adobe.com).

     

    For now, I have updated that other bug report (about this cfindex problem) to also summarize both the workarounds and note this new, different (but related) problem.  So while Keith's original problem seems resolved, for now, this really is just the start of a new journey related to this other issue. I think we will want to create a new thread on that, and let this one close. Maybe I'll do that after I create the Adobe bug report. I'll also do a blog post, as that new info seems important news to share well beyond this one forum thread on cfindex.

     

    But I hope this summary of things helps put a nice bow on this one, for now. If I missed or forgot anything, let me know. 

    /Charlie (troubleshooter, carehart. org)
    Charlie Arehart
    Community Expert
    Community Expert
    August 14, 2025

    Keith, I realize you may suspect still this is some bug in cf, but I still would contend you should confirm if there was not some failure in the update process.

     

    I'd raised multiple diagnostic questions in my first reply.  You've still not answered 2b and 2c. Please take time to do that, as it seems you're not getting to resolution with the other back and forth you guys have been having since then.

     

    I have more for you/us to consider if that doesn't find the problem. Let's go one step at a time. 

    /Charlie (troubleshooter, carehart. org)
    Participating Frequently
    August 14, 2025

    2) And if "that didn't help", please then confirm for us a) are you doing the update within the CF Admin or via the command line (and the "java -jar" approach or using the cfpm tool)?

    Answer: update within the CF Admin

     

    Also b) what is the value in your CF Admin for the "packages url" (available via the the "settings" tab on the "package manager" page, where you can see CF updates). I can explain later, if needed, why I ask those questions.

     

    Answer: https://www.adobe.com/go/cf2023_packages

    Charlie Arehart
    Community Expert
    Community Expert
    August 17, 2025

    @keithm99725152 , for your information:

    • I have just done the 6 steps of the workaround on ColdFusion 2023 Update 15. I downgraded the search package from version 2023.0.15.330825 to version 2023.0.11.330706.


    • The ColdFusion build before the workaround (2023.0.15.330825) remains the same after the workaround. 

    OK, guys. It's been a long day (working almost entirely on this issue).

     

    1) First, yes BKBK. You are right in that if Keith were to upgrade to u15 and THEN do that downgrade, that will indeed downgrade the search package and should his process to work. Same if he wanted to stay on u14 for some reason and just get the cfindex docs processing working there (but getting updated to u15 is a worthy goal, of course)..

     

    Keith, that's likely your primary goal and so proceed with either of those. You can read on if you like (especially with regard to why the uninstall of u14 still left things amiss), but I don't know if most of it will interest you as much as I hope it will BKB and perhaps others. 🙂

     

    2) So as I alluded to I was focused more on other related things.

     

    One is that he had reverted to u14 (at least he said he had, and his concern was that things still didn't work there). And I think you and he will find that it works also if he does that there. (I actually haven't tested that--though I'd wanted to--as I've been working on the larger problem.) And to be fair, I even said so before your "stop the world" lament, where I agreed that 'downgrading the search package alone may well "work" for what you tested, but it's not the COMPLETE solution'. 

     

    And I want to repeat that I DID file the bug report with Adobe to try to get them to figure out why his cfindex of a docx fails with that update to 15 (like it does also for those who update to the latest 2023 or 2021 updates). I want to say first that I totally agree that uninstalling the latest search package IS a workaround for that. You'll want to add that to the bug report, to help others beyond this thread.

     

    3) But thre is a larger problem, which has been my main focus, where in fact the package stayed on u15 even though he uninstalled u15.  As I noted, it affects also MORE than that one package, and more than CF2023 (but also 2025 and 2021). And that is the "exciting" news I'd been wanting to share.

     

    But I also had wanted to help someone like him--who was on 14 and installed 15 and had a problem, then uninstalled. It was your solution and MORE. I'd found that 6 of the CF2023 packages were still on their u15 versions--even after the uninstall of u14. THAT's what caught my attention. As I'd reported earlier today, those 6 (for CF2023) are axis, exchange, saml, search, sharepoint, and 
    spreadsheet. And while one could manually uninstall each (like you'd had him do that search one), I'd studied the 6 and determined what the previous version of each would be. One could downgrade them via cfpm (to do all 6 at once)

    cfpm install axis:2023.0.11.330706,exchange:2023.0.11.330706,saml:2023.0.11.330706,search:2023.0.11.330706,sharepoint:2023.0.11.330706,spreadsheet:2023.0.05.330608

    (Sadly, there's no simple downgrade optionin CFPM, to just revert from the current version to the earlier one.) Of course, for CF2025 or cf2021 those would be different values, but since Keith was only focused on CF2023 I will leave it at that.

     

    And sorry, but when I wrote last night saying I wasn't sure if what you offered would work, it's just that I had that more complete solution in mind (beyond just what KEith was facing--but I appreciate you were focused more on that.)  

     

    4) But moving on to the much larger problem (why the uninstall didn't downgrade them), that was the MOST exciting info I'd found--and what I especially thought you may appreciate.

     

    What I've found is that the problem is in fact a mistake in the bundlesdependency.json file. I'd never studied it closely before yesterday, and as I did, I figured out not only THIS problem (how Keith's uninstall of u15 back to 14 did NOT downgrade those 6 packages), but it ALSO explains MANY of the problems with package management that we've seen her ein the forums--not just with this update but with several over the years.

     

    5) So what's the issue? Well, if you look closely at the json, it's an array with an element for each package and then for that package what its "version" is (like 2023.0.11.330706, for that search version we would hav ehim downgrade to). But then also for MOST (but not ALL) of those package array elements it also indicates a "minimumcoreserverupdaterequired" value. That might be set to 11, such as is the case for that search package he would downgrade to.

     

    But the PROBLEM is that SOME of the packages (these 6 for cf2023 u15, in fact) mistakenly have that that minimumcoreserverupdaterequired value set  ALSO to 11--when they SHOULD be set to 15. And this is in fact that case for that search package, where the one updated for u15 (whose "version" is  2023.0.15.330825) instead ALSO shows its minimumcoreserverupdaterequired=11.

     

    And THAT is why when u15 was uninstalled, CF mistakenly thought, "oh, I can leave that u15 version of search in place, because it works with a core version as low as 11". But in fact that's wrong.  And indeed ANYtime the version of the package exceeds that minimumcoreserverupdaterequired, it's going to lead to this problem.

     

    (And FWIW, it's not ALL of the packages that WERE updated with 15 that have the problem. Several have the CORRECT minimum core value of 15, such as u15's packages for document, scheduler, image, presentation, and others.)

     

    And there are still other examples within that json file where some packages have NO value set for that min core version. Those, too, suffer from this problem (if one is on an older CF update and says to install or update such a package, it won't STOP them even if the package version would be greater than their current core version.) It's really quite a mess. More on finding those in a moment.

     

    6) But there are still other implications of this problem. For instance, as you may know, if you are on one CF version and you tell CF to upgrade a package to a higher version, the CF Admin (or cfpm) should WARN you that doing so would cause CF itself to be upgraded. (Many don't notice that prompt when updating via the Admin UI, as it's just another sentence on the prompt to confirm doing the update.)

     

    The point is that you DO get that prompt for those packages where the min core version value for the package HAS been made equal to the package's version (so 15, for a package whose version is that 2023.0.15.330825 value). But you DON'T get it for these ones where the min core version value is LESS than the package version. And THAT's one way to get in trouble, again whether from the Admin or cfpm.

     

    Besides the 6 wrong for CF2023 update 15, there are 5 for cf2025 u3 (if one is on an earlier update and installs any of those 5 packages, they will get the u3 version unexpectedly) and 7 for cf2021 update 21.

     

    But to be clear, this problem will happen to ANYONE on ANY version earlier that the LATEST CF update, not just one behind the latest. And it's ALSO been a problem for several previous updates.

     

    7) In fact, I created a cf template that anyone can use to perform this very analysis.  It's just a single simple cfm file (broken into functions, for readability).

     

    It lets one specify the CF version they want to test, and what update level they may be on, then it looks at the bundlesdependency.json to determine if nay packages have this problem I'd dicussed above (either the mincore version is LOWER than that package's "version" value or there is NO mincore version for that package).

     

    That code is attached. But since the forums here only let us upload certain file extensions, just change it to a cfm, then save it somewhere that you can run code, and give it a try. Once I hear any feedback I would consider posting it instead to github--so that those interested could track if it changes over time. It's been a very long day, which is another reason I'll hold off on that for now. 

     

    😎 So this is a bug in the current bundlesdependency.json file, one that Adobe needs to solve. Again, I want to see what you guys think even before I file a bug report. I realize it's been a LOT to read.

     

    Again, in summary, yes for someone in Keith's situation on either cf2023 u15 or 14, he can just downgrade his search package to the u11 version of that. That will get his cfindex code working as expected. But he will still have an updated POI library from some of the OTHER 5 packages suffering this problem in that version. I offered that cfpm install with the corrected versions to help there. (Folks on older updates of the other two CF versions can use this info to figure out what they should do, if they want to automate downgrading their packages which were incorrectly updated, or not correctly downgraded when they uninstalled the latest update.)

     

    But the real crux of the problem is in the mistaken bundlesdepdency.json (which gets downloaded if the "package site" url is set to the default, which for cf2023 is https://www.adobe.com/go/cf2023_packages). And it's happening in all 3 versions, and for updates even before this latest one. This mess REALLY starts to explain why it has been so difficult and confusing to understand some problems people have had. It gets still more confusing when people may DOWNLOAD the json file and might get a different version even once Adobe updates it.

     

    And that's why I really wanted to get this documented here, for us in this thread and eventually to spread the news more widely--and press Adobe for a correction (to all the misconfigurations in all 3 json files). With that, it's beddy bye time. If I've made any mistakes, my apologies. It's been a LOT to juggle, research, organize, distill, write about, etc. Again, sorry for the abruptness earlier. 

    /Charlie (troubleshooter, carehart. org)
    Charlie Arehart
    Community Expert
    Community Expert
    August 12, 2025

    Keith, I'm unaware of that being a known issue with update 15...but then again you found that in uninstalling that the problem remains. So the issue may or may not be about the specific "update" but rather about something amiss during your update process. I will elaborate. (Maybe someone else may know something about this .docx matter if it's a known one.)

     

    1) First, though, can you just stop CF, delete the cfusion/bin/felix-cache folder, then start CF and test again? That has been a workaround for many recent problms people have experienced after an update.  If that helps while you are on u14, THEN try going to u15 and after that update is done, REPEAT THAT STEP of deleting the felix-cache.  For now, don't ask about it or contemplate whether it could/should help. 🙂 FWIW it's mentioned in some of the update technotes as a thing to do to solve "known issues".

     

    If you'll just please try it and let us know how it goes, we can go to another step if it does NOT work.

     

    2) And if "that didn't help", please then confirm for us a) are you doing the update within the CF Admin or via the command line (and the "java -jar" approach or using the cfpm tool)? Also b) what is the value in your CF Admin for the "packages url" (available via the the "settings" tab on the "package manager" page, where you can see CF updates). I can explain later, if needed, why I ask those questions.

    Finally, c) did you confirm in your update log that there was a count of 0 for "fatalerrors" and "nonfatalerrors"? I elaborate on that last point in a post here. BTW, that log is created both for an install AND for an uninstall of any CF update.

     

    There's still more I and others could share, but let's see how things go. Hope something above here helps you.

    /Charlie (troubleshooter, carehart. org)
    Participating Frequently
    August 13, 2025

    I googled this error and found posable solutions, In my test environment i tried

    1.  Deleting the cfusion/bin/felix-cache folder, then start CF and testing again 
    2. Deleting the ColdFusion2023\cfusion\bin\jvm.config, then start CF and testing again 
    3.  adding JVM Arguments

     

    Refresh are being being done with cfindex command using a path in .cfm files with CF admin scheduled tasks

     

    There are no errors in the log, it seems it is skipping over the files as if there were not included in the extensions.

     

     

    Charlie Arehart
    Community Expert
    Community Expert
    August 13, 2025

    Please consider and reply to  point 2 in my initial reply here.

     

    Also,. If you are saying you found other online discussions of your specific issue, please share links to any in case it could help others here, either facing or helping with this problem.

     

    Finally, you mention deleting the jvm config. That's frankly a shocking idea, which I've never heard proposed. If you can share any link to a discussion suggesting that, I'd be very interested to know of it. 

    /Charlie (troubleshooter, carehart. org)