Jump to content
Changes to the Jaspersoft community edition download ×

LogConfigurationException


Recommended Posts

By: Lorenzo - bistick

LogConfigurationException

2006-03-08 02:19

Hi friends, why I have this error?

I use jdk 1.5, jasperreport 1.2.0

Finally, I have one tutorial that explain how use jasper 0.6. In new version there are some deprecated methods. Do you know new tutorial? Thanks

 

public static void main(String[] args) {

try { JasperCompileManager.compileReport("c:/jasper/clienti.jrxml");

} catch (JRException e) {

e.printStackTrace();

}

}

 

Exception in thread "main" org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException))

at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)

at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)

at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)

at org.apache.commons.digester.Digester.<init>(Digester.java:304)

at net.sf.jasperreports.engine.xml.JRXmlDigester.<init>(JRXmlDigester.java:62)

at net.sf.jasperreports.engine.xml.JRXmlDigesterFactory.createDigester(JRXmlDigesterFactory.java:790)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)

at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151)

at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)

at com.lorenzodenami.idraulicofacile.gui.provegrafiche.TestJasper.main(TestJasper.java:28)

Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException)

at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)

at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)

... 10 more

Caused by: java.lang.NullPointerException

at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374)

... 11 more

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...