Questions asked by Yves Jarczykhttps://answers.axonivy.com/questions/asked-by/72/yves-jarczyk/?type=rssQuestions asked by <a href="/users/72/yves-jarczyk" >Yves Jarczyk</a>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