<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get-NCVol Returns &amp;quot;Object reference not set to an instance of an object.&amp;quot; in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Get-NCVol-Returns-quot-Object-reference-not-set-to-an-instance-of-an-object-quot/m-p/105822#M18697</link>
    <description>&lt;P&gt;Sorry guys, I left you alll hanging on this thread. For me it ended up being that one of the nodes was down. When the node issue was resolved the error went away. I believe the cluster at the time was running 8.2.1, but I could be mistaken.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all your input.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jun 2015 02:00:58 GMT</pubDate>
    <dc:creator>coreywanless</dc:creator>
    <dc:date>2015-06-04T02:00:58Z</dc:date>
    <item>
      <title>Get-NCVol Returns "Object reference not set to an instance of an object."</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Get-NCVol-Returns-quot-Object-reference-not-set-to-an-instance-of-an-object-quot/m-p/102644#M18160</link>
      <description>&lt;P&gt;Has anyone got this error before when trying to run get-ncvol? the command passes back some of the volumes before failing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;get-ncvol : Object reference not set to an instance of an object.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ get-ncvol&lt;BR /&gt;+ ~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (n1fsc1.nas.cat.com:NcController) [Get-NcVol], NullReferenceException&lt;BR /&gt;+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.Volume.GetNcVol&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:42:03 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Get-NCVol-Returns-quot-Object-reference-not-set-to-an-instance-of-an-object-quot/m-p/102644#M18160</guid>
      <dc:creator>coreywanless</dc:creator>
      <dc:date>2025-06-05T04:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NCVol Returns "Object reference not set to an instance of an object."</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Get-NCVol-Returns-quot-Object-reference-not-set-to-an-instance-of-an-object-quot/m-p/102646#M18161</link>
      <description>&lt;P&gt;Actually looking further into it, I'm getting it on a bunch of commands. It seems specific to that cluster, and it is not just the server running the script. &amp;nbsp;I tried it on my PC, and got the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This cluster is running 8.2.2p1&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 19:57:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Get-NCVol-Returns-quot-Object-reference-not-set-to-an-instance-of-an-object-quot/m-p/102646#M18161</guid>
      <dc:creator>coreywanless</dc:creator>
      <dc:date>2015-04-01T19:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NCVol Returns "Object reference not set to an instance of an object."</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Get-NCVol-Returns-quot-Object-reference-not-set-to-an-instance-of-an-object-quot/m-p/102649#M18162</link>
      <description>&lt;P&gt;I have seen this when I am testing newly developed code.&amp;nbsp; Could you post the complete section of code that you believe is generating the error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 20:19:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Get-NCVol-Returns-quot-Object-reference-not-set-to-an-instance-of-an-object-quot/m-p/102649#M18162</guid>
      <dc:creator>geringer</dc:creator>
      <dc:date>2015-04-01T20:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NCVol Returns "Object reference not set to an instance of an object."</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Get-NCVol-Returns-quot-Object-reference-not-set-to-an-instance-of-an-object-quot/m-p/102664#M18168</link>
      <description>&lt;P&gt;I had a similar problem with the clone create applet. It seems like there's a 60 second timeout, after which the applet throws this error. In my case the action was actually completing though, despite the error. I was able to work around the issue similar to this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$CloneVolume = $Null
$LoopCounter = 0

Get-WFALogger -Info -Message $("--- Creating volume clone $($CloneVolName) of parent volume $($ParentVolname) with backing snapshot $($ParentVolName).")

Try { New-NcVolClone -VserverContext $VserverName -CloneVolume $CloneVolName -ParentVolume $ParentVolname -ParentSnapshot $ParentSnapname -SpaceReserve none -ErrorAction SilentlyContinue }
Catch { Get-WFALogger -Warn -Message $("=== Caught an error in previous command.") }

While (!$CloneVolume -And ($LoopCounter -le 3)) {

  $CloneVolume = Get-NcVolClone -Vserver $VserverName -Name $CloneVolName -ErrorAction SilentlyContinue
  
  If (!$CloneVolume) {
    Get-WFALogger -Warn -Message $("=== Timed out waiting for $($CloneVolName) to arrive - waiting another 10 seconds.")
    Sleep 10
    $LoopCounter++
  }  

}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I'm sure there's a better way to address the issue, but this is has been working in my case for over a week now.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 00:03:54 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Get-NCVol-Returns-quot-Object-reference-not-set-to-an-instance-of-an-object-quot/m-p/102664#M18168</guid>
      <dc:creator>omegazero</dc:creator>
      <dc:date>2015-04-02T00:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NCVol Returns "Object reference not set to an instance of an object."</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Get-NCVol-Returns-quot-Object-reference-not-set-to-an-instance-of-an-object-quot/m-p/105822#M18697</link>
      <description>&lt;P&gt;Sorry guys, I left you alll hanging on this thread. For me it ended up being that one of the nodes was down. When the node issue was resolved the error went away. I believe the cluster at the time was running 8.2.1, but I could be mistaken.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for all your input.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2015 02:00:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Get-NCVol-Returns-quot-Object-reference-not-set-to-an-instance-of-an-object-quot/m-p/105822#M18697</guid>
      <dc:creator>coreywanless</dc:creator>
      <dc:date>2015-06-04T02:00:58Z</dc:date>
    </item>
  </channel>
</rss>

