Internal Server Error occurs when mounting ISOs from a catalog in VMware Cloud Director
search cancel

Internal Server Error occurs when mounting ISOs from a catalog in VMware Cloud Director

book

Article ID: 399292

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • When attempting to attach an ISO from a catalog to a VM in VMware Cloud Director, an error similar to the following occurs:

    Internal Server Error

  • In the logs, entries similar to the following are encountered related to the failed task:

    2025-05-12 10:38:04,192 | ERROR    | storage-fabric-activity-pool-63 | InsertMediaActivity            | [Activity Execution] Uncaught Exception during Activity execution. Recent phase: com.vmware.vcloud.fabric.storage.media.impl.InsertMediaActivity$InsertMediaPhase@454485c0 - Handle: urn:uuid:########-####-####-####-############, Current Phase: InsertMediaActivity$InsertMediaPhase | requestId=########-####-####-####-############,request=POST https://<vCD FQDN>/api/vApp/vm-########-####-####-####-############/media/action/insertMedia,requestTime=1747060683291,remoteAddress=##.##.##.##:13750,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/201...,accept=application/*+xml;version 39.0.0-alpha vcd=########-####-####-####-############,task=########-####-####-####-############ activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:########-####-####-####-############) activity=(com.vmware.vcloud.fabric.storage.media.impl.InsertMediaActivity,urn:uuid:########-####-####-####-############)
    java.util.concurrent.ExecutionException: java.lang.NullPointerException
            at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:136)
            at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
            at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
            at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
            at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
            at java.base/java.lang.Thread.run(Thread.java:829)
    Caused by: java.lang.NullPointerException
            at com.vmware.vcloud.fabric.storage.media.impl.InsertMediaActivity$InsertMediaPhase.invoke(InsertMediaActivity.java:118)
            at com.vmware.vcloud.activity.executors.ActivityRunner.runPhase(ActivityRunner.java:175)
            at com.vmware.vcloud.activity.executors.ActivityRunner.run(ActivityRunner.java:112)
            ... 5 more

Environment

VMware Cloud Director 10.5.x

Cause

The media files for the catalog have been moved or deleted outside of VMware Cloud Director in the underlying storage infrastructure.

Resolution

Remove and recreate the catalog items.

Additional Information

If the catalog has been shared from another organization, the actions may be unavailable in the current tenant and will have to be performed from the original location. For additional information regarding catalog sharing, please refer to the following:

Share a Catalog in the VMware Cloud Director Tenant Portal