2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: Grace - neojinks "AWT-EventQueue-0" Error 2006-07-10 09:01Hi there, I've been trying to get this error out of my way for a while now and finally I've to come to these forums for some help. This is a simple program which generates a Jasper Report. The only information that report has is a Static Title Field. jasperReport = (JasperReport) JRLoader.loadObject("./report/Quicktemp.jasper"); jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, jrds); JasperExportManager.exportReportToPdfFile(jasperPrint,"./report/Quicktemp.pdf"); Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " +"./report/Quicktemp.pdf"); No parameters to pass, no fields to pass. jrds is an empty data source. The thing is that this perfectly executes in the IDE am using (JBuilder). But when I make an excutable JAR file and try to run it then I get the error: Excpetion in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError at net.sf.jasperreports.engine.fill.JRFillObjectFactory.getStaticText(JRFillObjectFactory.java:494) ... caused by org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558) ... caused by: java.lang.NullPointerException at org.apache.commons.loggin.LogFactory.newFactory(LogFactory.java:543) Can anyone please help me with this error? Thanks much :) 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