ConcourseSuite Support

Support
Corporate
PUBLIC PROFILE

Back to topics

Discuss Reports and Report Writing

Errors compiling .\ROCMN064.jasper! it.businesslogic.ireport.ReportClassLoader@1b0ab45

You need to be logged in to post messages

Errors compiling .\ROCMN064.jasper! it.businesslogic.ireport.ReportClassLoader@1b0ab45

11/27/2006 1:19 AM EST (edited)

Hello,

Iam trying to set a variable with a value which is sum of two variables. example

Inside the varibale i gave expression
new Double($V.doubleValue() + $V.doubleValue())
like this. THey both are double datatype.

in the report iam trying to display the value in the variable .

$V
This variable is also of double datatype.

wheni compile i get the error below. I need to caluclate the sum. It would be great if any one can help quick.
HELPEHELPEHELp

Compiling to file... .\ROCMN064.jasper -> .\ROCMN064.java Errors compiling .\ROCMN064.jasper! it.businesslogic.ireport.ReportClassLoader@1b0ab45 net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 1. The method doubleValue() is undefined for the type ROCMN064 value = (java.lang.Double)(new Double(((java.lang.Double)variable_ROC_GRSS_INCOM.getValue()).doubleValue()+((java.lang.Double)variable_ROC_GRSS_EXP.getValue())doubleValue())); <---------> 2. The method doubleValue() is undefined for the type ROCMN064 value = (java.lang.Double)(new Double(((java.lang.Double)variable_RD_LNADVINV_BY_RELTD.getValue()).doubleValue()+ ((java.lang.Double)variable_RD_LNADVINV_TO_RELTD.getValue())doubleValue()));

<---------> 3. doubleValue cannot be resolved or is not a field value = (java.lang.Double)(new Double(((java.lang.Double)variable_Total_LNADVINV_RELTD.getValue()).doubleValue+((java.lang.Double)variable_Total_GRSS_PROFIT_LOSS.getValue()).doubleValue)); <---------> 4. doubleValue cannot be resolved or is not a field value = (java.lang.Double)(new Double(((java.lang.Double)variable_Total_LNADVINV_RELTD.getValue()).doubleValue+((java.lang.Double)variable_Total_GRSS_PROFIT_LOSS.getValue()).doubleValue)); <---------> 5. The method doubleValue() is und

efined for the type ROCMN064 value = (java.lang.Double)(new Double(((java.lang.Double)variable_Total_LNADVINV_BY_RELTD.getValue()).doubleValue()+((java.lang.Double)variable_Total_LNADVINV_TO_RELTD.getValue())doubleValue())); <---------> 6. The method doubleValue() is undefined for the type ROCMN064 value = (java.lang.Double)(new Double(((java.lang.Double)variable_RD_GRSS_INCOM.getValue()).doubleValue()+((java.lang.Double)variable_RD_GRSS_EXP.getValue())doubleValue())); <---------> 7. The method doubleValue() is undefined for the type ROCMN064 value = (java.lang.Double)(new Double(((java.lang.Double)va

riable_ROC_GRSS_INCOM.getOldValue()).doubleValue()+((java.lang.Double)variable_ROC_GRSS_EXP.getOldValue())doubleValue())); <---------> 8. The method doubleValue() is undefined for the type ROCMN064 value = (java.lang.Double)(new Double(((java.lang.Double)variable_RD_LNADVINV_BY_RELTD.getOldValue()).doubleValue()+ ((java.lang.Double)variable_RD_LNADVINV_TO_RELTD.getOldValue())doubleValue())); <---------> 9. doubleValue cannot be resolved or is not a field value = (java.lang.Double)(new Double(((java.lang.Double)variable_Total_LNADVINV_RELTD.getOldValue()).doubleValue+((java.lang.Double)variable_Total_GRSS_PRO

FIT_LOSS.getOldValue()).doubleValue)); <---------> 10. doubleValue cannot be resolved or is not a field value = (java.lang.Double)(new Double(((java.lang.Double)variable_Total_LNADVINV_RELTD.getOldValue()).doubleValue+((java.lang.Double)variable_Total_GRSS_PROFIT_LOSS.getOldValue()).doubleValue)); <---------> 11. The method doubleValue() is undefined for the type ROCMN064 value = (java.lang.Double)(new Double(((java.lang.Double)variable_Total_LNADVINV_BY_RELTD.getOldValue()).doubleValue()+((java.lang.Double)variable_Total_LNADVINV_TO_RELTD.getOldValue())doubleValue()));

<---------> 12. The method doubleValue() is undefined for the type ROCMN064 value = (java.lang.Double)(new Double(((java.lang.Double)variable_RD_GRSS_INCOM.getOldValue()).doubleValue()+((java.lang.Double)variable_RD_GRSS_EXP.getOldValue())doubleValue())); <---------> 13. The method doubleValue() is undefined for the type ROCMN064 value = (java.lang.Double)(new Double(((java.lang.Double)variable_ROC_GRSS_INCOM.getEstimatedValue()).doubleValue()+((java.lang.Double)variable_ROC_GRSS_EXP.getEstimatedValue())doubleValue()));

<---------> 14. The method doubleValue() is undefined for the type ROCMN064 value = (java.lang.Double)(new Double(((java.lang.Double)variable_RD_LNADVINV_BY_RELTD.getEstimatedValue()).doubleValue()+ ((java.lang.Double)variable_RD_LNADVINV_TO_RELTD.getEstimatedValue())doubleValue())); <---------> 15. doubleValue cannot be resolved or is not a field value = (java.lang.Double)(new Double(((java.lang.Double)variable_Total_LNADVINV_RELTD.getEstimatedValue()).doubleValue+((java.lang.Double)variable_Total_GRSS_PROFIT_LOSS.getEstimatedValue()).doubleValue)); <---------> 16. doubleValue cannot be resolved or is not a field value = (java.la

ng.Double)(new Double(((java.lang.Double)variable_Total_LNADVINV_RELTD.getEstimatedValue()).doubleValue+((java.lang.Double)variable_Total_GRSS_PROFIT_LOSS.getEstimatedValue()).doubleValue)); <---------> 17. The method doubleValue() is undefined for the type ROCMN064 value = (java.lang.Double)(new Double(((java.lang.Double)variable_Total_LNADVINV_BY_RELTD.getEstimatedValue()).doubleValue()+((java.lang.Double)variable_Total_LNADVINV_TO_RELTD.getEstimatedValue())doubleValue())); <---------> 18. The method doubleValue() is undefined for the type ROCMN064 value = (java.

lang.Double)(new Double(((java.lang.Double)variable_RD_GRSS_INCOM.getEstimatedValue()).doubleValue()+((java.lang.Double)variable_RD_GRSS_EXP.getEstimatedValue())doubleValue())); <---------> 18 errors at net.sf.jasperreports.engine.design.JRJdtCompiler.compileReport(JRJdtCompiler.java:122) at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:127) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:109) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:420) at java.lang.Thread.run(Unknown Source)

1. 11/27/2006 1:53 AM EST (edited)

h

1 result found