bob_jorgenson Posted August 5, 2010 Share Posted August 5, 2010 I just downloaded & installed iReport 3.7.4 on my Windows 7 Pro laptop and while the program is loading up I get the following error message... java.lang.NullPointerException at java.awt.Dimension.<init>(Dimension.java:91) at javax.swing.plaf.basic.BasicProgressBarUI.getPreferredSize(BasicProgressBarUI.java:757) at javax.swing.JComponent.getPreferredSize(JComponent.java:1615) 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.getVisualComponent(Controller.java:111) at org.netbeans.progress.module.ProgressVisualizerProvider.getStatusLineElement(ProgressVisualizerProvider.java:55) at org.netbeans.core.windows.view.ui.MainWindow.getStatusLineElements(MainWindow.java:245) at org.netbeans.core.windows.view.ui.MainWindow.decoratePanel(MainWindow.java:219) at org.netbeans.core.windows.view.ui.MainWindow.initializeComponents(MainWindow.java:183) at org.netbeans.core.windows.view.DefaultView.showWindowSystem(DefaultView.java:519) at org.netbeans.core.windows.view.DefaultView.windowSystemVisibilityChanged(DefaultView.java:498) at org.netbeans.core.windows.view.DefaultView.changeGUI(DefaultView.java:180) at org.netbeans.core.windows.ViewRequestor.dispatchRequest(ViewRequestor.java:269) at org.netbeans.core.windows.ViewRequestor.processVisibilityRequest(ViewRequestor.java:258) at org.netbeans.core.windows.ViewRequestor.postVisibilityRequest(ViewRequestor.java:195) at org.netbeans.core.windows.ViewRequestor.scheduleRequest(ViewRequestor.java:117) at org.netbeans.core.windows.Central.setVisible(Central.java:119) at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:776) at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:87)[catch] at org.netbeans.core.NonGui$2.run(NonGui.java:183) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) Link to comment Share on other sites More sharing options...
bob_jorgenson Posted August 6, 2010 Author Share Posted August 6, 2010 I loaded it on another of our developer laptops running Windows 7 Pro and it did the same thing, but I loaded it on one running Windows XP Pro and it seems to work fine. The second and third laptops were identical except OS so it must either be a video card driver issue or an issue with the Windows 7 visual options, I'm thinking. Link to comment Share on other sites More sharing options...
bob_jorgenson Posted August 6, 2010 Author Share Posted August 6, 2010 Alas, this was a java issue with the theme on my computer... For more information you can go to http://forums.sun.com/thread.jspa?threadID=667836 I set my theme to Windows Classic and everything worked fine. Incidentally, I am running Java 1.5.0_06 Link to comment Share on other sites More sharing options...
jbain Posted January 24, 2011 Share Posted January 24, 2011 Changing my Windows 7 theme took care of the Null pointer Exception error for me as well. How strange. THANK YOU!! 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