burferd Posted May 19, 2011 Share Posted May 19, 2011 I downloaded iReport 4.0.2 and installed it, but when I attempt to run it, I get an exceptionjava.lang.NullPointerException at java.awt.Dimension.<init>(Unknown Source) at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(Unknown Source) at javax.swing.JComponent.getPreferredSize(Unknown Source) at org.netbeans.modules.progress.ui.NbProgressBar.getPreferredSize(NbProgressBar.java:90) at org.netbeans.modules.progress.ui.StatusLineComponent.<init>(StatusLineComponent.java:137) at org.netbeans.modules.progress.ui.ProviderImpl.getDefaultWorker(ProviderImpl.java:59) at org.netbeans.progress.module.Controller.getProgressUIWorker(Controller.java:128) at org.netbeans.progress.module.Controller.run(Controller.java:332) at org.netbeans.progress.module.Controller.actionPerformed(Controller.java:357) at javax.swing.Timer.fireActionPerformed(Unknown Source)[catch] at javax.swing.Timer$DoPostEvent.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) The aplication is a small rectangle in the upper left corner. I can open it and select a New report. I go through the 'wizard' to create a new report and when I select the option to go to the designer, I get another exception:java.lang.NullPointerException at org.netbeans.core.multiview.TabsComponent.setModel(TabsComponent.java:141) at org.netbeans.core.multiview.MultiViewPeer.setMultiViewDescriptions(MultiViewPeer.java:118) at org.netbeans.core.multiview.MultiViewCloneableTopComponent.setMultiViewDescriptions(MultiViewCloneableTopComponent.java:94) at org.netbeans.core.spi.multiview.MultiViewFactory.createCloneableMultiView(MultiViewFactory.java:129) at com.jaspersoft.ireport.designer.JrxmlEditorSupport.createPane(JrxmlEditorSupport.java:117) at org.openide.text.CloneableEditorSupport.createCloneableTopComponent(CloneableEditorSupport.java:1158) at org.openide.windows.CloneableOpenSupport.openCloneableTopComponent(CloneableOpenSupport.java:197) at org.openide.windows.CloneableOpenSupport$1.run(CloneableOpenSupport.java:98) at org.openide.util.Mutex.doEvent(Mutex.java:1335) at org.openide.util.Mutex.writeAccess(Mutex.java:452) at org.openide.windows.CloneableOpenSupport.open(CloneableOpenSupport.java:95) at org.openide.text.CloneableEditorSupport.open(CloneableEditorSupport.java:437) at com.jaspersoft.ireport.designer.wizards.NewJrxmlWizardIterator$2.run(NewJrxmlWizardIterator.java:238) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog.show(Unknown Source) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:867) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:901) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:889) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:109) at org.openide.util.Mutex.doEventAccess(Mutex.java:1355) at org.openide.util.Mutex.readAccess(Mutex.java:268) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:874) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at com.jaspersoft.ireport.designer.templates.TemplatesFrame.runTemplateWizard(TemplatesFrame.java:465) at com.jaspersoft.ireport.designer.templates.ReportTemplateItemAction.performAction(ReportTemplateItemAction.java:50) at com.jaspersoft.ireport.designer.templates.TemplatesFrame.jButtonOpenTemplateActionPerformed(TemplatesFrame.java:320) at com.jaspersoft.ireport.designer.templates.TemplatesFrame.access$600(TemplatesFrame.java:55) at com.jaspersoft.ireport.designer.templates.TemplatesFrame$9.actionPerformed(TemplatesFrame.java:236) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at com.jaspersoft.ireport.designer.templates.TemplatesFrame.setVisible(TemplatesFrame.java:577) at com.jaspersoft.ireport.designer.standalone.menu.NewReportAction.performAction(NewReportAction.java:200) at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:118) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77) at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:114) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source)[catch] at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) And the program does not bring up a designer, just the empty main window with the menu bar on top.I tried the netbeans plugin but can't figrue out how to get into the designer there either.Any suggestions for a tutorial or other example on how to get started?Thanks 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