Hi All, i am getting the following exception... i have field like f${current} of return type com.vsoftcorp.ledger.model.AccountingEntry using this field i am trying to get the instance of another class like as follows: ((com.vsoftcorp.ledger.model.AccountingEntry)$F{current}).getPostEntryTarget(com.vsoftcorp.ledger.model.LedgerAccount.class) Here in the above expressiong i am expecting LedgerAccount class as return type. but i am getting the following exception.. Thanks in Advance. Santhi ________________________________________________ ÂCompiling to file... C:vsoftReportsWorkspaceGLledger-reports-latestsrcmainresourcesGLR008_02.jasper -> C:vsoftReportsWorkspaceGLledger-reports-latestsrcmainresourcesGLR008_02.java Errors compiling C:vsoftReportsWorkspaceGLledger-reports-latestsrcmainresourcesGLR008_02.jasper! net.sf.jasperreports.engine.JRException:ÂErrorsÂwereÂencounteredÂwhenÂcompilingÂreportÂexpressionsÂclassÂfile: C:vsoftReportsWorkspaceGLledger-reports-latestsrcmainresourcesGLR008_02_1169554164105_543162.java:206:ÂcannotÂfindÂsymbol symbolÂÂ:ÂclassÂAccountingEntry location:ÂpackageÂcom.vsoftcorp.ledger.model ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂvalueÂ=Â(com.vsoftcorp.ledger.model.LedgerAccount)(((com.vsoftcorp.ledger.model.AccountingEntry)((com.vsoftcorp.ledger.model.AccountingEntry)field_current.getValue())).getPostEntryTarget(com.vsoftcorp.ledger.model.LedgerAccount.class)); ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ^ ÂÂÂÂatÂnet.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:193) ÂÂÂÂ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:510) ÂÂÂÂatÂjava.lang.Thread.run(UnknownÂSource) _____________________________________________________