Error Loading The Report Template Java.lang.nullpointerexception
Community Contact Login/Register Download Now ProductsAnswersExchangeDocsWikiPlanetTracker You are hereHome » Answers » Error loading the report template Error loading the report template Posted on September 20, 2011 at 11:04pm 0 Hi, I'm getting the below mentioned nullpointerexception whenever I try to switch from xml to Design view. Then I'm unable to open that particular file in design mode. So, I need to recreate the report again. :( This happens often. Anyone knows whats wrong with it ? :( Thanks in advance.Code:Error loading the report template Message: net.sf.jasperreports.engine.JRException: java.lang.NullPointerException Level: SEVERE Stack Trace: java.lang.NullPointerException net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:247) net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:230) net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:218) com.jaspersoft.ireport.designer.JrxmlLoader.reloadJasperDesign(JrxmlLoader.java:87) com.jaspersoft.ireport.designer.JrxmlVisualView.run(JrxmlVisualView.java:505) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) Error at line 104 char 23: null org.apache.commons.digester.Digester.createSAXException(Digester.java:2919) org.apache.commons.digester.Digester.createSAXException(Digester.java:2945) org.apache.commons.digester.Digester.endElement(Digester.java:1133) net.sf.jasperreports.engine.xml.JRXmlDigester.endElement(JRXmlDigester.java:183) com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601) com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.endElement(XMLSchemaValidator.java:795) com.sun.org.apach
Community Contact Login/Register Download Now ProductsAnswersExchangeDocsWikiPlanetTracker You are hereHome » Answers » Null Pointer when opening files Null Pointer when opening files Posted on January 13, 2009 at 11:25pm 0 Hello, Very often I get a null pointer exception (pasted http://community.jaspersoft.com/questions/540297/error-loading-report-template below), when opening files. If I close iReport (v3.1.1) and open the file in some other viewer and after some time open iReport again, the file opens up! I cannot understand what is going on... http://community.jaspersoft.com/questions/525768/null-pointer-when-opening-files this happens even if I've properly saved files and closed iReport. Also sometimes when closing iReport, it shows me a dialog box that some files are unsaved even when I've no files open. I'm perplexed by this problem... Please help!! The following is the stack trace from the null pointer: Error loading the report template Message: net.sf.jasperreports.engine.JRException: java.lang.NullPointerException Level: SEVERE Stack Trace: java.lang.NullPointerException net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:243) net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:226) net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:214) com.jaspersoft.ireport.designer.JrxmlLoader.reloadJasperDesign(JrxmlLoader.java:80) com.jaspersoft.ireport.designer.JrxmlVisualView.run(JrxmlVisualView.java:485) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) Error at line 204 char 19: null org.apache.commons.digester.Digester.createSAXException(Digester.java:2919) org.apache.commons.digester.Digester.createSAXException(Digester.java:2945) org.apache.commons.digester.Digester.startElement(Digester.java:1364) com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(Unkno
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn http://stackoverflow.com/questions/23016408/dynamic-web-project-error-loading-descriptor more about Stack Overflow the company Business Learn more about hiring developers or http://stackoverflow.com/questions/11773702/why-do-i-get-exception-java-lang-noclassdeffounderror-org-codehaus-groovy posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Dynamic Web project Error “Loading descriptor” up vote 6 down error loading vote favorite 1 In the process of trying to build an android web service using Spring under Eclipse IDE, I need to create a Dynamic Web Project using Maven. The problem I am facing is an error " Loading descriptor for project has encountered a problem. I don't know how to solve this. Any input on that? eclipse share|improve this question edited Aug 11 at 14:25 Tom Brito error loading the 8,17236116205 asked Apr 11 '14 at 15:13 KawtarHB 46125 Sounds like an issue parsing xml. When do you get this error? When running the code? –Jamey Apr 11 '14 at 15:21 when I first create the project, if I refresh.. –KawtarHB Apr 11 '14 at 18:19 add a comment| 3 Answers 3 active oldest votes up vote 7 down vote If you get that "Loading descriptor for project has encountered a problem. [...] Nullpointerexception" problem right after creating a project, then there are 2 possible causes (or at least that how it was for me, when I had this issue). 1) A web.xml file is missing in your WebContent/WEB-INF folder or was not created during project creation. (in the last window you have to check option "Generate web.xml deployment descriptor" in eclipse, otherwise eclipse won't generate that file) If your project is already created, you can still add a web.xml file into your WEB-INF directory. Depending on your servlet version (e.g. 2.5) you have to use a different template which can be found on the net. 2) Your eclipse does not have all the necessary plugins for Dynamic Web projects. So you need to go to Help
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Why do I get Exception java.lang.NoClassDefFoundError org/codehaus/groovy/? up vote 6 down vote favorite 2 I've just try Jasper Report, I'm following tutorial from this site Also I downloaded the sample source then run it and got no error. But when I create my own report using iReport, compile it, and add the .jasper file to my project. There is exception when I run my program: Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/callsite/CallSiteArray at report2_1343895135169_749208.$createCallSiteArray(calculator_report2_1343895135169_749208) at report2_1343895135169_749208.$getCallSiteArray(calculator_report2_1343895135169_749208) at report2_1343895135169_749208.