Nullpointer exception when instantiating an array
<p>I get a <code>java.lang.NullPointerException</code> when I run the code below:</p>

<pre><code>import org.apache.axis.types.*; //to use UnsignedShort

UnsignedShort a = new UnsignedShort(1);
UnsignedShort b = new UnsignedShort(1);
int c= 123;

VARDATA[] data = new VARDATA[1];

data[0] = new VARDATA();
data[0].setUsType(a);
data[0].setUsIndex(b);
data[0].setUlValue(c);
</code></pre>
