main._btnmysql_action (java line: 139)
net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. Type mismatch: cannot convert from int to Object
value = 10; //$JR_EXPR_ID=8$
<>
2. Type mismatch: cannot convert from int to Object
value = 0; //$JR_EXPR_ID=9$
^
3. Type mismatch: cannot convert from int to Object
value = 10; //$JR_EXPR_ID=8$
<>
4. Type mismatch: cannot convert from int to Object
value = 0; //$JR_EXPR_ID=9$
^
5. Type mismatch: cannot convert from int to Object
value = 10; //$JR_EXPR_ID=8$
<>
6. Type mismatch: cannot convert from int to Object
value = 0; //$JR_EXPR_ID=9$
^
6 errors
.
at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:206)
at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:357)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:617)
at com.prusb.jasperrep.JasperReports.CompileXML2(JasperReports.java:167)
at b4j.example.main._btnmysql_action(main.java:139)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
at anywheresoftware.b4a.BA$1.run(BA.java:216)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)