Exception Error Compiling Report

0
By: NorbertoFuentes - norbertofuentes
Exception Error Compiling Report
2006-02-07 16:23
Hi Friends:
Here is my problem I've NetBeans4.1 installed when I'm trying to compile a Reports this is what happend. The library of JasperReport is 1.0.0
What could be. Thanks


Detected Java version: 1.4 in: C:\j2sdk1.4.2_09\jre
Detected OS: Windows XP
parsing buildfile jar:file:/C:/Program%20Files/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-debugger-jpda-ant.jar!/org/netbeans/modules/debugger/jpda/ant/antlib.xml with URI = jar:file:/C:/Program%20Files/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-debugger-jpda-ant.jar!/org/netbeans/modules/debugger/jpda/ant/antlib.xml
parsing buildfile jar:file:/C:/Program%20Files/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-debugger-jpda-ant.jar!/org/netbeans/modules/debugger/jpda/ant/antlib.xml with URI = jar:file:/C:/Program%20Files/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-debugger-jpda-ant.jar!/org/netbeans/modules/debugger/jpda/ant/antlib.xml
parsing buildfile jar:file:/C:/Program%20Files/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml with URI = jar:file:/C:/Program%20Files/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml
parsing buildfile jar:file:/C:/Program%20Files/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml with URI = jar:file:/C:/Program%20Files/netbeans-4.1/ide5/ant/nblib/org-netbeans-modules-ant-browsetask.jar!/org/netbeans/modules/ant/browsetask/antlib.xml
parsing buildfile jar:file:/C:/Program%20Files/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-ant.jar!/org/netbeans/modules/j2ee/ant/antlib.xml with URI = jar:file:/C:/Program%20Files/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-ant.jar!/org/netbeans/modules/j2ee/ant/antlib.xml
parsing buildfile jar:file:/C:/Program%20Files/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-ant.jar!/org/netbeans/modules/j2ee/ant/antlib.xml with URI = jar:file:/C:/Program%20Files/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-ant.jar!/org/netbeans/modules/j2ee/ant/antlib.xml
parsing buildfile jar:file:/C:/Program%20Files/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-sun-ide.jar!/org/netbeans/modules/j2ee/sun/ide/antlib.xml with URI = jar:file:/C:/Program%20Files/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-sun-ide.jar!/org/netbeans/modules/j2ee/sun/ide/antlib.xml
parsing buildfile jar:file:/C:/Program%20Files/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-sun-ide.jar!/org/netbeans/modules/j2ee/sun/ide/antlib.xml with URI = jar:file:/C:/Program%20Files/netbeans-4.1/enterprise1/ant/nblib/org-netbeans-modules-j2ee-sun-ide.jar!/org/netbeans/modules/j2ee/sun/ide/antlib.xml
parsing buildfile C:\jasperreports-1.0.0\demo\samples\tableofcontents\build.xml with URI = file:///C:/jasperreports-1.0.0/demo/samples/tableofcontents/build.xml
Project base dir set to: C:\jasperreports-1.0.0\demo\samples\tableofcontents
Build sequence for target `compile' is [compile]
Complete build sequence is [compile, viewDesignXML1, viewXML, javac, print, xml, csv, xmlEmbed, html, view, run, xls, clean, fill, pdf, viewDesign2, viewDesign1, , viewDesignXML2]
compile:
HeadingsReport.jrxml added as HeadingsReport.jasper doesn't exist.
TableOfContentsReport.jrxml added as TableOfContentsReport.jasper doesn't exist.
Compiling 2 report design files.
Feb 7, 2006 7:18:03 PM org.apache.commons.digester.Digester getParser
SEVERE: Digester.getParser:
org.xml.sax.SAXNotRecognizedException: Feature: http://apache.org/xml/features/validation/dynamic
at org.apache.crimson.parser.XMLReaderImpl.setFeature(XMLReaderImpl.java:219)
at org.apache.crimson.jaxp.SAXParserImpl.setFeatures(SAXParserImpl.java:150)
at org.apache.crimson.jaxp.SAXParserImpl.<init>(SAXParserImpl.java:133)
at org.apache.crimson.jaxp.SAXParserFactoryImpl.newSAXParserImpl(SAXParserFactoryImpl.java:113)
at org.apache.crimson.jaxp.SAXParserFactoryImpl.setFeature(SAXParserFactoryImpl.java:141)
at org.apache.commons.digester.parser.XercesParser.configureXerces(XercesParser.java:185)
at org.apache.commons.digester.parser.XercesParser.newSAXParser(XercesParser.java:138)
at org.apache.commons.digester.ParserFeatureSetterFactory.newSAXParser(ParserFeatureSetterFactory.java:71)
at org.apache.commons.digester.Digester.getParser(Digester.java:692)
at org.apache.commons.digester.Digester.getXMLReader(Digester.java:899)
at org.apache.commons.digester.Digester.parse(Digester.java:1666)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:225)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:209)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:163)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:147)
at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:107)
at net.sf.jasperreports.ant.JRAntCompileTask.compile(JRAntCompileTask.java:398)
at net.sf.jasperreports.ant.JRAntCompileTask.execute(JRAntCompileTask.java:252)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
File : C:\jasperreports-1.0.0\demo\samples\tableofcontents\TableOfContentsReport.jrxml ...
C:\jasperreports-1.0.0\demo\samples\tableofcontents\build.xml:36: java.lang.NullPointerException
at org.apache.tools.ant.Task.perform(Task.java:373)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
Caused by: java.lang.NullPointerException
at org.apache.commons.digester.Digester.getXMLReader(Digester.java:899)
at org.apache.commons.digester.Digester.parse(Digester.java:1666)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:225)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:209)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:163)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:147)
at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:107)
at net.sf.jasperreports.ant.JRAntCompileTask.compile(JRAntCompileTask.java:398)
at net.sf.jasperreports.ant.JRAntCompileTask.execute(JRAntCompileTask.java:252)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
... 7 more
--- Nested Exception ---
java.lang.NullPointerException
at org.apache.commons.digester.Digester.getXMLReader(Digester.java:899)
at org.apache.commons.digester.Digester.parse(Digester.java:1666)
at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:225)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:209)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:163)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:147)
at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:107)
at net.sf.jasperreports.ant.JRAntCompileTask.compile(JRAntCompileTask.java:398)
at net.sf.jasperreports.ant.JRAntCompileTask.execute(JRAntCompileTask.java:252)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
BUILD FAILED (total time: 1 second)
2006 IR Open Dicussion's picture
Joined: Aug 10 2006 - 3:24am
Last seen: 12 years 5 months ago

0 Answers:

No answers yet
Feedback