Advertisement
HafizHussin

Error in basic imputation

Mar 29th, 2023
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | Source Code | 0 0
  1. Caught: java.lang.IllegalArgumentException: Cannot compare java.lang.String with value '25' and java.lang.Integer with value '10'
  2. java.lang.IllegalArgumentException: Cannot compare java.lang.String with value '25' and java.lang.Integer with value '10'
  3. at Main.computeMaritalStatus(Main.groovy:517)
  4. at Main$_run_closure1$_closure13.doCall(Main.groovy:104)
  5. at Main$_run_closure1.doCall(Main.groovy:80)
  6.  
  7. private static Object computeMaritalStatus(it, jsonObject, index) {
  8. if ((!it.answer.E6) && (it.answer.E5b)) {
  9. if (it.answer.E5b < 10) {
Tags: error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement