Questions Tagged With richdialoghttps://answers.axonivy.com/tags/richdialog/?type=rss&user=Yves%20Jarczykquestions tagged <span class="tag">richdialog</span>enThu, 12 Jan 2012 11:22:39 -0500How can I circumvent NullPointerException in data bindings?https://answers.axonivy.com/questions/438/how-can-i-circumvent-nullpointerexception-in-data-bindings<p>I try to select an entry in a combo depending on a value in a record set like that: </p> <pre><code>panel.comboCountry.selectedIndex &lt;- Integer.parseInt(in.EmployeeList.getField(in.RowId,"country").toString())-1 </code></pre> <p>This works properly, but if <code>NULL</code> is stored in the recordset, then Ivy throws a NullPointerException. </p> <p>How can I circumvent this?</p>Yves JarczykThu, 12 Jan 2012 11:22:39 -0500https://answers.axonivy.com/questions/438/how-can-i-circumvent-nullpointerexception-in-data-bindingsrichdialogdatabinding