Java - java.lang.NullPointerException (put data into List<>)
<p>I would like to know why I have got this error. Have you got idea and do you know how to fix it?</p>

<p>Error(I get this error in put()):</p>

<pre><code>Exception in thread "main" java.lang.NullPointerException
at nacs.put(nacs.put:36)
at Program.main(Program.java:69)
</code></pre>

<p>Program: (Main)</p>

<pre><code>Nac nacs = new Nac();
nacs.put(new Intsult(1));
nacs.put(new Intsult(2));
</code></pre>

<p>Class:</p>

<pre><code>public class Nac implement IPoraw
{
public List&lt;IAbstrsUlt&gt; abs;
public void put(IAbstrsUlt value)
{
abs.add(value);
}
}
</code></pre>
