2004 IR Help Posted August 28, 2006 Share Posted August 28, 2006 By: MMMMMM - mazzam minor bug 2002-10-24 02:23 When I have numeric fileds I have to modify manually modify the expression class from String to Double in text field properties. I'm using oracle as db. If I don't chenge it I get the error below. Some help would be useful for subreports in the docs of the site. Ciao e compliments Mauro File: I:SviToolsDownloadJavaReportingToolsJasperiReport-0.0.4proveemp.xml Compiling to file... I:SviToolsDownloadJavaReportingToolsJasperiReport-0.0.4proveemp.jasper dori.jasper.engine.JRException: Errors were encountered when compiling report design: Note: sun.tools.javac.Main has been deprecated. I:SviToolsDownloadJavaReportingToolsJasperiReport-0.0.4proveUntitled_report_1.java:240: Invalid cast from java.lang.Double to java.lang.String. value = (java.lang.String)(((java.lang.Double)field_DEPTNO.getValue())); ^ I:SviToolsDownloadJavaReportingToolsJasperiReport-0.0.4proveUntitled_report_1.java:408: Invalid cast from java.lang.Double to java.lang.String. value = (java.lang.String)(((java.lang.Double)field_DEPTNO.getOldValue())); ^ I:SviToolsDownloadJavaReportingToolsJasperiReport-0.0.4proveUntitled_report_1.java:576: Invalid cast from java.lang.Double to java.lang.String. value = (java.lang.String)(((java.lang.Double)field_DEPTNO.getValue())); ^ 3 errors, 1 warning at dori.jasper.engine.design.JRCompiler.compileReport(JRCompiler.java:145) at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:129) at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:117) at IReportCompiler.main(IReportCompiler.java:103) Abnormal termination! if I use By: MMMMMM - mazzam RE: minor bug 2002-10-24 02:28 maybe in the last version 004 this happens only for group fields. I have to verify it ;-) By: Giulio Toffoli - gt78 RE: minor bug 2002-10-24 14:51 Ciao mauro. Yes, ineffect when you drag a numeric field, the TextFieldElement automagically created not have the same class as type. I will fix it in the next release! Thanks Giulio Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now