The problem is with your test $F{Personel_ODEME}.equals(Boolean.TRUE) , which, according to Jasper, is a String to Boolean comparison and doesn't like it. To fix this, try the following:
($F{Personel_ODEME}.equals(Boolean.TRUE.toString())) ? "PAID" : "NO PAID"
This will result in a comparison from String to String .
Itβs good to note that in Java a "true".equals(Boolean.TRUE) will result in false.
edit:
This is apparently Jasper's βPrintWhenβ expression, which allows you to determine whether to print the contents of a cell or not. Boolean.TRUE or Boolean.FALSE is expected as return values. When you return "PAID", Jasper tries to evaluate that String as a Boolean , which it cannot, so it throws an exception.
source share