sionut1984 Posted November 12, 2008 Share Posted November 12, 2008 Hy!After I saved and closed my report, I closed also IReport and after I wanted to reopen my report I received this type of error.I send a attached screenshot Thanks, Link to comment Share on other sites More sharing options...
saspiritsrl Posted November 13, 2008 Share Posted November 13, 2008 Hi Ionut! I had the same problem and i didn't know what should i do. And the only thing that i have done was : reinstalling iReports. (2.0.3. version) keep up with the hard work ! ;) Link to comment Share on other sites More sharing options...
saspiritsrl Posted November 13, 2008 Share Posted November 13, 2008 or...i move the xml code of this raport in a new raport. But not "copy- paste" of the entire xml. I have done "copy - paste" to small sections of my xml code in the new raport. And...it works ! in 10 minuts the new raport was created successfully. i dont know the "logic" of this phenomen, but...it seems works... have a nice day! Link to comment Share on other sites More sharing options...
cobwer Posted December 16, 2008 Share Posted December 16, 2008 Abrir el archivo jrxml con el notepad++ u otro editor.y cambiar el texto:<?xml version="1.0" encoding="UTF-8"?><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report name" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">por:<?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD JasperReport//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"><jasperReport name="report name" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20"> Post Edited by jaider ariza at 12/16/08 15:46 Link to comment Share on other sites More sharing options...
ruffp Posted February 23, 2009 Share Posted February 23, 2009 Hello, I tried this, but it does nt change anything. I still get NullPointerException even I don't have any "null" in the jrxml. The line it say the error is : Another big problems I got is the modification of the evaluationTime to null everytime i make a modification using the XML view. I seems the version 3.1.2 is not stable at all, using the same jrxml file with 3.0.0 (without netbeans) is more stable. I tried to find the resolution for these issues and found nothing using google nor the jasperforge search tool. Thanks if somebody can help. Link to comment Share on other sites More sharing options...
hassnol Posted July 8, 2009 Share Posted July 8, 2009 Hi,I had the same problem. What I did is I edited the xml code for the chart. This is my error message :net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException: cvc-enumeration-valid: Value '4' is not facet-valid with respect to enumeration '[Top, Bottom, Left, Right]'. It must be a value from the enumeration. I edited the XML codes from<chartLegend backgroundColor="#FFFFFF" position="1"/>to<chartLegend backgroundColor="#FFFFFF" position="Top"/>like the error message suggested and it works.Regards 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