<?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: Object reference not set to an instance of an object error in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Object-reference-not-set-to-an-instance-of-an-object-error/m-p/117806#M20932</link>
    <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/9704"&gt;@sinhaa﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I sent you a couple of messages requesting an email address where I could forward you the results from a failure. Did you see those?&lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2016 19:05:48 GMT</pubDate>
    <dc:creator>d_ellis</dc:creator>
    <dc:date>2016-03-31T19:05:48Z</dc:date>
    <item>
      <title>Object reference not set to an instance of an object error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Object-reference-not-set-to-an-instance-of-an-object-error/m-p/117214#M20852</link>
      <description>&lt;P&gt;We are itermittently recieving the error,&amp;nbsp;Error: Object reference not set to an instance of an objec,&amp;nbsp;when invoking the following powershell cmdlets via WFA 3.1? Does anyone have diagnosis, it looks like the commands are applying changes to the storage systems so we are a little confused on the return message from WFA/Powershell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Start-NaSnapvaultSecTransfer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 21:44:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Object-reference-not-set-to-an-instance-of-an-object-error/m-p/117214#M20852</guid>
      <dc:creator>d_ellis</dc:creator>
      <dc:date>2025-06-04T21:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Object reference not set to an instance of an object error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Object-reference-not-set-to-an-instance-of-an-object-error/m-p/117217#M20854</link>
      <description>&lt;P&gt;&lt;A href="http://community.netapp.com/t5/Microsoft-Cloud-and-Virtualization-Discussions/Object-reference-not-set-to-an-instance-of-an-object-error/m-p/115388/highlight/true#M4717" target="_blank"&gt;http://community.netapp.com/t5/Microsoft-Cloud-and-Virtualization-Discussions/Object-reference-not-set-to-an-instance-of-an-object-error/m-p/115388/highlight/true#M4717&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.netapp.com/t5/Microsoft-Cloud-and-Virtualization-Discussions/Add-NcQuota-shows-Object-reference-not-set-to-an-instance-of-an-object-error/m-p/111249/highlight/true#M4545" target="_blank"&gt;http://community.netapp.com/t5/Microsoft-Cloud-and-Virtualization-Discussions/Add-NcQuota-shows-Object-reference-not-set-to-an-instance-of-an-object-error/m-p/111249/highlight/true#M4545&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/Get-NCVol-Returns-quot-Object-reference-not-set-to-an-instance-of-an-object-quot/m-p/102644/highlight/true#M18160" target="_blank"&gt;http://community.netapp.com/t5/OnCommand-Storage-Management-Software-Discussions/Get-NCVol-Returns-quot-Object-reference-not-set-to-an-instance-of-an-object-quot/m-p/102644/highlight/true#M18160&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can look into couple of other threads in communities on the same topic.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;</description>
      <pubDate>Sat, 19 Mar 2016 05:00:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Object-reference-not-set-to-an-instance-of-an-object-error/m-p/117217#M20854</guid>
      <dc:creator>abhit</dc:creator>
      <dc:date>2016-03-19T05:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Object reference not set to an instance of an object error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Object-reference-not-set-to-an-instance-of-an-object-error/m-p/117594#M20913</link>
      <description>&lt;P&gt;I've had a chance to review solutons in existence on the community, including rolling back the powershell toolkit version and the error still persists. &amp;nbsp;I'm primarly seing the error when executing the cmdlet Start-NaSnapvaultSecTransfer from WFA. Are there any other suggested solutions?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2016 19:40:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Object-reference-not-set-to-an-instance-of-an-object-error/m-p/117594#M20913</guid>
      <dc:creator>d_ellis</dc:creator>
      <dc:date>2016-03-28T19:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Object reference not set to an instance of an object error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Object-reference-not-set-to-an-instance-of-an-object-error/m-p/117626#M20915</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/26019"&gt;@d_ellis﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Object reference not set to an instance of an object" is a very generic error from powershell and can come in many unique cases. We first need to zero down the source of the problem. In WFA the source can be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Windows Powershell&lt;/P&gt;&lt;P&gt;2. DataONTAP Powershell Toolkit&lt;/P&gt;&lt;P&gt;3. The Command's powershell code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And all the 3 can throw this very error "Object reference not set to an instance of an object"&amp;nbsp;I assume its a custom command..&amp;nbsp;You can send your command dar file for me to have a look.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, you can start some&amp;nbsp;debugging from your end:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;At the end of the command code, add the below code and save the command. Run your workflow and wait for it to fail with the mentioned error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;trap {&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;$at_line= $_.InvocationInfo.ScriptLineNumber&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;$at_char = $_.InvocationInfo.OffsetInLine&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;$at_code = $_.InvocationInfo.Line&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;Get-WfaLogger -Error -Message "Error Occurred at Code `"$at_code`" Line: $at_line Char: $at_char"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In WFA, debugging a powershell code it very difficult since it only throws the exception, but NOT the location where the exception happened. Bigger the code, so it the problem. The above trap solves it for you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This should now allow us to predict where is the error cmming from.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next steps depends on the outcome. Awaiting your response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sinhaa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 06:29:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Object-reference-not-set-to-an-instance-of-an-object-error/m-p/117626#M20915</guid>
      <dc:creator>sinhaa</dc:creator>
      <dc:date>2016-03-29T06:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Object reference not set to an instance of an object error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Object-reference-not-set-to-an-instance-of-an-object-error/m-p/117806#M20932</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/9704"&gt;@sinhaa﻿&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I sent you a couple of messages requesting an email address where I could forward you the results from a failure. Did you see those?&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 19:05:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Object-reference-not-set-to-an-instance-of-an-object-error/m-p/117806#M20932</guid>
      <dc:creator>d_ellis</dc:creator>
      <dc:date>2016-03-31T19:05:48Z</dc:date>
    </item>
  </channel>
</rss>

