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

GitHub | woutervb | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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