<font size=2 face="sans-serif">I am getting the following error: Caught
exception in dbms::Controller::AccountView-&gt;list &quot;Can't call method
&quot;all&quot; on an undefined value at /tmp/catalyst/dbms/script/../lib/dbms/Controller/AccountView.pm
line 7.&quot;</font>
<br>
<br><font size=2 face="sans-serif">this is the referenced sub:</font>
<br>
<br><font size=2 face="sans-serif">sub list : Local { </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; my
($self, $c) = @_;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; $c-&gt;stash(accounts
=&gt; $c-&gt;model('dbms::ACCOUNT_VIEW')-&gt;all);</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; $c-&gt;stash(template
=&gt; 'accountview/list.tt2');</font>
<br><font size=2 face="sans-serif">}</font>
<br>
<br><font size=2 face="sans-serif">I have seen quite a few posts about
this error but no real explanations of what is causing the issue. &nbsp;I
created a view in the DB containing the data I need to display on the page.
&nbsp;The error is occurring at this line: $c-&gt;stash(accounts =&gt;
$c-&gt;model('dbms::ACCOUNT_VIEW')-&gt;all); which I have tried several
different things. If I remove the -&gt;all I get no error and my header
row appears. I cannot find anything that tells me specifically what this
should be composed of. Any pointers to help figure this out are appreciated.<br>
</font>
<br><font size=2 face="Arial">Regards</font>
<br>
<br>