java.lang.ClassCastException: com.vmware.vim25.DatastoreInfo cannot be cast to com.vmware.vim25.VmfsDatastoreInfo

GitHub | woutervb | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to get Datastore info for vsan

    GitHub | 11 months ago | woutervb
    java.lang.ClassCastException: com.vmware.vim25.DatastoreInfo cannot be cast to com.vmware.vim25.VmfsDatastoreInfo

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.vmware.vim25.DatastoreInfo cannot be cast to com.vmware.vim25.VmfsDatastoreInfo

      at net.dav3860.VmBix$Connection.getDatastores()
    2. net.dav3860
      VmBix$Connection.run
      1. net.dav3860.VmBix$Connection.getDatastores(VmBix.java:1673)
      2. net.dav3860.VmBix$Connection.checkAllPatterns(VmBix.java:716)
      3. net.dav3860.VmBix$Connection.run(VmBix.java:3219)
      3 frames