<?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-NaVol : Object reference not set to an instance of an object. in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaVol-Object-reference-not-set-to-an-instance-of-an-object/m-p/109462#M4499</link>
    <description>&lt;P&gt;Hi Naman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you mean to post this to the other thread (about getting aggr-space info from multiple volumes)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that case, I suggest&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;printing out $filer to check all filers are indeed being iterated over.&lt;/LI&gt;&lt;LI&gt;printing the $c to make sure each filer is getting connected to&lt;/LI&gt;&lt;LI&gt;Remove the export-csv and see if all data is being displayed&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Running my script on my own setup does show aggrs from all filers in my 7mode.txt, as you can see in my aggr.csv ... So I can't think of anything else that's going wrong in your setup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Aparajita&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Sep 2015 14:48:41 GMT</pubDate>
    <dc:creator>Aparajita</dc:creator>
    <dc:date>2015-09-04T14:48:41Z</dc:date>
    <item>
      <title>Get-NaVol : Object reference not set to an instance of an object.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaVol-Object-reference-not-set-to-an-instance-of-an-object/m-p/108876#M4475</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get the list of volumes from the storage system via Get-navol. Its working for some of the systems and not for few, I compared systems with same ONTAP version systems. So i don't think it is due to ONTAP version.However on a Non-Working system , I was able to perform other commands such as Get-NaSystemVersion. Is it something to do with the timeout ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the error log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Get-NaVol&lt;/P&gt;&lt;P&gt;Get-NaVol : Object reference not set to an instance of an object.&lt;/P&gt;&lt;P&gt;At line:1 char:1&lt;/P&gt;&lt;P&gt;+ Get-NaVol&lt;/P&gt;&lt;P&gt;+ ~~~~~~~~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidOperation: (XXXX:NaController) [Get-NaVol], NullReferenceException&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : ApiException,DataONTAP.PowerShell.SDK.Cmdlets.Volume.GetNaVol&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; Get-NaSystemVersion&lt;/P&gt;&lt;P&gt;NetApp Release 8.2.3P3 7-Mode: Tue Apr 28 14:48:22 PDT 2015&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 23:29:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaVol-Object-reference-not-set-to-an-instance-of-an-object/m-p/108876#M4475</guid>
      <dc:creator>aselvan</dc:creator>
      <dc:date>2025-06-04T23:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NaVol : Object reference not set to an instance of an object.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaVol-Object-reference-not-set-to-an-instance-of-an-object/m-p/108955#M4476</link>
      <description>Can you please enable debug logging through 'Set-NaToolkitConfiguration DEBUG' and then post the output? That will help determine what actually went wrong.</description>
      <pubDate>Fri, 21 Aug 2015 10:51:28 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaVol-Object-reference-not-set-to-an-instance-of-an-object/m-p/108955#M4476</guid>
      <dc:creator>Aparajita</dc:creator>
      <dc:date>2015-08-21T10:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NaVol : Object reference not set to an instance of an object.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaVol-Object-reference-not-set-to-an-instance-of-an-object/m-p/109455#M4498</link>
      <description>&lt;P&gt;Even with the line &amp;nbsp;&amp;nbsp;$c = Connect-NaController $filer &amp;nbsp; &amp;nbsp;added, I still see only one aggr in the output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2015 14:09:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaVol-Object-reference-not-set-to-an-instance-of-an-object/m-p/109455#M4498</guid>
      <dc:creator>NAMAN</dc:creator>
      <dc:date>2015-09-04T14:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NaVol : Object reference not set to an instance of an object.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaVol-Object-reference-not-set-to-an-instance-of-an-object/m-p/109462#M4499</link>
      <description>&lt;P&gt;Hi Naman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you mean to post this to the other thread (about getting aggr-space info from multiple volumes)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that case, I suggest&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;printing out $filer to check all filers are indeed being iterated over.&lt;/LI&gt;&lt;LI&gt;printing the $c to make sure each filer is getting connected to&lt;/LI&gt;&lt;LI&gt;Remove the export-csv and see if all data is being displayed&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Running my script on my own setup does show aggrs from all filers in my 7mode.txt, as you can see in my aggr.csv ... So I can't think of anything else that's going wrong in your setup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Aparajita&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2015 14:48:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaVol-Object-reference-not-set-to-an-instance-of-an-object/m-p/109462#M4499</guid>
      <dc:creator>Aparajita</dc:creator>
      <dc:date>2015-09-04T14:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NaVol : Object reference not set to an instance of an object.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaVol-Object-reference-not-set-to-an-instance-of-an-object/m-p/110041#M4512</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think I found the solution. The command has a standard timeout of 60s. On some controllers this timeout is not sufficient. If you issue $gobal:CurrentNaController.TimeoutMsec=600000 the timeout is increased for the current controller and the command will work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 11:37:34 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaVol-Object-reference-not-set-to-an-instance-of-an-object/m-p/110041#M4512</guid>
      <dc:creator>skellner_fi</dc:creator>
      <dc:date>2015-09-22T11:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NaVol : Object reference not set to an instance of an object.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaVol-Object-reference-not-set-to-an-instance-of-an-object/m-p/110979#M4539</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$global:CurrentNaController.TimeoutMsec=600000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;fixed my issue also with&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt; Get-NaQuotaReport&lt;BR /&gt;Get-NaQuotaReport : Object reference not set to an instance of an object.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Get-NaQuotaReport&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : InvalidOperation: (hostname:NaController) [Get-NaQuotaReport], NullRefere&lt;BR /&gt;nceException&lt;BR /&gt;+ FullyQualifiedErrorId : ApiException,DataONTAP.PowerShell.SDK.Cmdlets.Quota.GetNaQuotaReport&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2015 12:05:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NaVol-Object-reference-not-set-to-an-instance-of-an-object/m-p/110979#M4539</guid>
      <dc:creator>wassilios_lyghas</dc:creator>
      <dc:date>2015-10-12T12:05:05Z</dc:date>
    </item>
  </channel>
</rss>

