Jump to content
We've recently updated our Privacy Statement, available here ×

faithfultoksa

Members
  • Posts

    3
  • Joined

  • Last visited

faithfultoksa's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. i set it as float .. same error message .. i correct it many times and same error message Compiling to file... D:librarydreamJavaiReportjasperReportsSimpleTable.jasper Errors compiling D:libraryJavaiReportjasperReportsSimpleTable.jasper! Compilation exceptions: com.jaspersoft.ireport.designer.compiler.ErrorsCollector@66b105 net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. The method intValue() is undefined for the type String value = (((java.lang.String)field_InvoiceValue.getValue()).intValue())>= (((java.lang.Integer)parameter_MinInvoiceValue.getValue())); //$JR_EXPR_ID=9$ <------> 2. The method intValue() is undefined for the type String value = (((java.lang.String)field_InvoiceValue.getOldValue()).intValue())>= (((java.lang.Integer)parameter_MinInvoiceValue.getValue())); //$JR_EXPR_ID=9$ <------> 3. The method intValue() is undefined for the type String value = (((java.lang.String)field_InvoiceValue.getValue()).intValue())>= (((java.lang.Integer)parameter_MinInvoiceValue.getValue())); //$JR_EXPR_ID=9$ <------> 3 errors at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:204) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:512) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) Compilation running time: 172!
  2. the problem is .. ( when click on preview .. nothing happen ) and show me this error message : Compiling to file... D:librarydreamJavaJava NetBeans Projects folderSalesSystemjasperReportsSimpleTable.jasper Errors compiling D:libraryjasperReportsSimpleTable.jasper! Compilation exceptions: com.jaspersoft.ireport.designer.compiler.ErrorsCollector@d70829 net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. The method intValue() is undefined for the type String value = ((java.lang.String)field_InvoiceValue.getValue()).intValue()>= ((java.lang.Integer)parameter_MinInvoiceValue.getValue()); //$JR_EXPR_ID=9$ <------> 2. The method intValue() is undefined for the type String value = ((java.lang.String)field_InvoiceValue.getOldValue()).intValue()>= ((java.lang.Integer)parameter_MinInvoiceValue.getValue()); //$JR_EXPR_ID=9$ <------> 3. The method intValue() is undefined for the type String value = ((java.lang.String)field_InvoiceValue.getValue()).intValue()>= ((java.lang.Integer)parameter_MinInvoiceValue.getValue()); //$JR_EXPR_ID=9$ <------> 3 errors at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:204) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:512) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) Compilation running time: 172!
  3. Hi I applied precisely what explained in in this web page : Using parameters to filter records during report processingBut can't preview the result!! notice that : I checked data type in database table and report textfield .. matched OK the expression as in previous link like this: $F{InvoiceValue}.intValue() >= $P{MinInvoiceValue}
×
×
  • Create New...