LcmException: LCM crashed during bundle download
search cancel

LcmException: LCM crashed during bundle download

book

Article ID: 395621

calendar_today

Updated On:

Products

VMware SDDC Manager

Issue/Introduction

During the Async tool process for patching process for vCenter through SDDC to mitigate VMSA-2025-0004, the LCM service will crash.

 

From the LCM log you may see NULL Pointer errors:

####-##-##T##:##:##.###+#### ERROR [vcf_lcm,ac0d619e2a28fc61,1bda] [c.v.e.s.l.s.impl.UpgradeServiceImpl,http-nio-127.0.0.1-7400-exec-10] Failed to get resources while getting Upgrade Task for upgradeId - ce13adf6-39b2-49cb-a8f9-5eaa62d12008 with exception null
####-##-##T##:##:##.###+#### ERROR [vcf_lcm,ac0d619e2a28fc61,1bda] [o.a.c.c.C.[.[.[.[dispatcherServlet],http-nio-127.0.0.1-7400-exec-10] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
java.lang.NullPointerException: null
        at com.vmware.evo.sddc.lcm.services.impl.UpgradeServiceImpl.getUpgradeTask(UpgradeServiceImpl.java:2806)
        at com.vmware.evo.sddc.lcm.services.impl.UpgradeServiceImpl$$FastClassBySpringCGLIB$$51b51910.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
        at org.springframework.aop.framework.CglibAopProxy.invokeMethod(CglibAopProxy.java:386)
        at org.springframework.aop.framework.CglibAopProxy.access$000(CglibAopProxy.java:85)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:704)
        at com.vmware.evo.sddc.lcm.services.impl.UpgradeServiceImpl$$EnhancerBySpringCGLIB$$dcd9b7b8.getUpgradeTask(<generated>)
        at com.vmware.vcf.lcm.rest.api.controller.internal.InternalTaskController.getUpgradeTask(InternalTaskController.java:188)
        at jdk.internal.reflect.GeneratedMethodAccessor82.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)

 

 

Environment

VCF 4.5.x

 

Cause

This could be caused by invalid index files or incorrect permissions on the /home/vcf/asyncPatchTool folder. 

Resolution

Remove any old offline bundles from the SDDC Manager.  For steps to assist with removal, see LCM service crashing on SDDC Manager

Remove and recreate the /home/vcf/asyncPatchTool.  For steps to assist with recreating this folder, see VMSA-2025-0004 Online Async Patch Tool Remediation Steps