Argument exception: The parameters dictionary contains a null entry for parameter of non-nullable type
<p>I got an error report from a user which tells me that on this method there happened an error:</p>

<pre><code>public string SaveItem(int item_id,
                       string item_name,
                       int item_temp,
                       string item_number)
    {...}
</code></pre>

<p>The error is for the 'item_temp' parameter.</p>

<p>So this parameter was called as null. But here is how I fill this parameter in jquery, in the ajax call:</p>

<pre><code>item_temp: ($('#myTextBox').val().length &gt; 0 ? parseInt($('#myTextBox').val()) : -99999999),
</code></pre>

<p>How can it be called as null?</p>
