Java method is called two times or more than two times
Java method is called two times or more than two times. Java method is in scriptlet. I created a static variable and increased it's value in the method then found that Jasper calls the function with same instance twice because it shows value of the static variable increased in logs. I also checked this http://community.jaspersoft.com/questions/826595/scriptlet-afterdetaileval-runs-twice link, but I do not have any sortField.