Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

iReport LogFactory.java:543

  Asked By: Anpu    Date: Oct 19    Category: Java    Views: 1801
  

I know it's a j2eelist group but
i have had this error for a long time, seriously need help
and that is i work on a swing base project, and i report as reporting
tool
when i run my jasper files from the idea environment, everything's
okay but I have made a jar file from the whole project to deploy it,
there as I try to run iReport i get the following stack trace:


Exception occurred during event dispatching:
java.lang.ExceptionInInitializerError
at net.sf.jasperreports.engine.fill.JRFiller.createFiller
(JRFiller.java:113)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport
(JRFiller.java:57)
at net.sf.jasperreports.engine.JasperFillManager.fillReport
(JasperFillManager.java:247)
at net.sf.jasperreports.engine.JasperManager.fillReport
(JasperManager.java:692)
at list.ListUI.btnAll_actionPerformed(ListUI.java:434)
at list.ListUI_btnAll_actionAdapter.actionPerformed
(ListUI.java:546)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1764)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1817)
at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:257)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:245)
at java.awt.AWTEventMulticaster.mouseReleased
(AWTEventMulticaster.java:227)
at java.awt.Component.processMouseEvent(Component.java:5134)
at java.awt.Component.processEvent(Component.java:4931)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3450)
at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1590)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:140)
at java.awt.Dialog.show(Dialog.java:538)
at factor.FactorUI.btnList_actionPerformed(FactorUI.java:262)
at factor.FactorUI_btnList_actionAdapter.actionPerformed
(FactorUI.java:354)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1764)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1817)
at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:257)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:245)
at java.awt.AWTEventMulticaster.mouseReleased
(AWTEventMulticaster.java:227)
at java.awt.Component.processMouseEvent(Component.java:5134)
at java.awt.Component.processEvent(Component.java:4931)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3450)
at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1590)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:140)
at java.awt.Dialog.show(Dialog.java:538)
at NazirMainGUI.jMenuItem10_actionPerformed
(NazirMainGUI.java:329)
at NazirMainGUI_jMenuItem10_actionAdapter.actionPerformed
(NazirMainGUI.java:502)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1764)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1817)
at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:419)
at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:257)
at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick
(BasicMenuItemUI.java:1113)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased
(BasicMenuItemUI.java:943)
at java.awt.Component.processMouseEvent(Component.java:5134)
at java.awt.Component.processEvent(Component.java:4931)
at java.awt.Container.processEvent(Container.java:1566)
at java.awt.Component.dispatchEventImpl(Component.java:3639)
at java.awt.Container.dispatchEventImpl(Container.java:1623)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3450)
at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3165)
at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3095)
at java.awt.Container.dispatchEventImpl(Container.java:1609)
at java.awt.Window.dispatchEventImpl(Window.java:1590)
at java.awt.Component.dispatchEvent(Component.java:3480)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:197)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:136)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:99)
Caused by: org.apache.commons.logging.LogConfigurationException:
java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.newFactory
(LogFactory.java:558)
at org.apache.commons.logging.LogFactory.getFactory
(LogFactory.java:355)
at org.apache.commons.logging.LogFactory.getLog
(LogFactory.java:390)
at net.sf.jasperreports.engine.fill.JRBaseFiller.<clinit>
(JRBaseFiller.java:250)
... 81 more
Caused by: java.lang.NullPointerException
at org.apache.commons.logging.LogFactory.newFactory
(LogFactory.java:543)
... 84 more
although i hav included the required jar files in classpath

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on iReport LogFactory.java:543 Or get search suggestion and latest updates.




Tagged: