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

dennisk1718

Members
  • Posts

    6
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by dennisk1718

  1. I am getting the following error on compiling a .jrxml file from iReport Designer 4.1.1. Yes, the D/B has the source element as a java.lang.Integer. Looks like the cast is failing. I am using Java 1.6_22, but that can.ot have any bearing on this problem, I think ...... found : java.lang.Integer required: java.lang.String value = (java.lang.String)(((java.lang.Integer)field_statusID.getValue())); //$JR_EXPR_ID=8$ ^ Interesting
  2. Hello, I am just trying to convert a .jasper to a .pdf file. I get a Null Pointer Exception form the following Non-Parameter code. Is this a Jasper error? What am I not seeing????????? Thank you Code:String fileName = "<absolute path>.jasper";String outFileName = "<absolute path>.pdf"; @SuppressWarnings("rawtypes")HashMap hm = new HashMap(); try{ JasperPrint print = JasperFillManager.fillReport( fileName,hm, new JREmptyDataSource() ); JasperExportManager.exportReportToPdf(print); System.out.println("Created File: " + outFileName);}
  3. Anyone know hwere this is hidden..?? It is referenced in THE Ultimate Guide on p.43 -tx
  4. Hello, I am trying to do the simple exercsie on P43 of the iReport Ultimate Guide which shows how to produce a PDF file from a .jasper file. I keep runing into more jars requried. Does anyone know of a cumulative list of the required jars? Specifically, is it possible that the apache/common/digester file to be used is version 2.1 and not the current version 3.0. Thank You Code:Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/digester/Rule at net.sf.jasperreports.components.ComponentsExtensionsRegistryFactory.<clinit>(ComponentsExtensionsRegistryFactory.java:91) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForRealName(JRClassLoader.java:157) at net.sf.jasperreports.engine.util.JRClassLoader.loadClassForName(JRClassLoader.java:115) at net.sf.jasperreports.engine.util.ClassUtils.instantiateClass(ClassUtils.java:53) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.instantiateRegistry(DefaultExtensionsRegistry.java:236) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.loadRegistries(DefaultExtensionsRegistry.java:213) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.loadRegistries(DefaultExtensionsRegistry.java:162) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getRegistries(DefaultExtensionsRegistry.java:132) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getExtensions(DefaultExtensionsRegistry.java:104) at net.sf.jasperreports.engine.util.JRStyledTextParser.<clinit>(JRStyledTextParser.java:81) at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:182) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:77) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:87) at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:57) at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:142) at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:78) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:624) at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:540) at src.jaspertest1.main(jaspertest1.java:22)Caused by: java.lang.ClassNotFoundException: org.apache.commons.digester.Rule at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 21 more
  5. Hello I am getting an "Invalid Thead Access " Error on attempt(s) to create an initial .jrxml file in eclipse Helios.. Dennis
  6. Thank You for the sequence on creating a GANTT chart in iReport. Is there any way to do the same thing in JasperSoft Studio 1.+ Thank You
×
×
  • Create New...