hey guys... i too have the same problem. My sub-report data is not being displayed. But my master report is displaying data. On the console getting following error -- "warning :the supplied java.sql.connection object is null in subreports" Please help me out.. thanks in advance
hi i am bobby, i am in similar situation. But my problem is with sql query in .java file. st.executeQuery("Select * from <table> where <col_name> IN '+<collection obj>+' "; error : right syntax near <collection obj>. can any one help me please.
hi guys, i am new to jasper reports and ireport as well. i know how to create a parameterised report. But, how to send dynamic parameters at runtime to java program which in turn calls the jrxml file to generate report.
itzbobi Wrote: hi, i am bobby. I too have a similar error with the new version of ireport3.6.0 My program has compiled without errors. But facing runtime error : Exception in thread "main" java.lang.AbstractMethodError: org.codehaus.groovy.control.CompilationUnit$ClassgenCallback.call(Lorg/objectweb/asm/ClassVisitor;Lorg/codehaus/groovy/ast/ClassNode;)V at org.codehaus.groovy.control.CompilationUnit$10.call(CompilationUnit.j ava:727) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes( CompilationUnit.java:924) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.j ava:462) at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovy Compiler.java:88) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(J RAbstractCompiler.java:192) at net.sf.jasperreports.engine.JasperCompileManager.compileReport(Jasper CompileManager.java:219) at Jreport.main(Jreport.java:65) Code:i have included the following jar's to environment varialble list..;F:all jarsservlet-api.jar;F:all jarsmysql-connector-java-5.1.5-bin.jar;F:all jarsjasperreports-3.5.0.jar;F:all jarsiText-2.1.7.jar;F:all jarscommons-digester-2.0.jar;F:all jarscommons-logging-1.1.1.jar;F:all jarscommons-collections-3.2.1.jar;F:all jarscommons-digester-2.0.jar;F:all jarscommons-beanutils-1.8.0.jar;F:all jarsgroovy-1.6.4.jar;F:all jarsasm-all-2.2.jar;F:all jarsantlr-2.7.7.jar;F:all jarsxercesImpl-2.7.0.jar;F:all jarsgroovy-all-1.1-rc-1.jar;
hi, i am bobby. I too have a similar error with the new version of ireport3.6.0
My program has compiled without errors. But facing runtime error :
Exception in thread "main" java.lang.AbstractMethodError: org.codehaus.groovy.control.CompilationUnit$ClassgenCallback.call(Lorg/objectweb/asm/ClassVisitor;Lorg/codehaus/groovy/ast/ClassNode;)V
at org.codehaus.groovy.control.CompilationUnit$10.call(CompilationUnit.j
ava:727)
at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(
CompilationUnit.java:924)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.j
ava:462)
at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovy
Compiler.java:88)
at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(J
RAbstractCompiler.java:192)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(Jasper
CompileManager.java:219)
at Jreport.main(Jreport.java:65)