lakhtakia Posted January 4, 2010 Share Posted January 4, 2010 I have installed iReport 3.7.0 on Microsoft Vista, however, I am unable to "Add folder" to the Options -> Classpath selection. I am getting the following error. I am using JDK 5 and Tomcat, Hibernate are all working absolutely find on this system. Any hellp is appreciated. java.lang.ArrayIndexOutOfBoundsException: 3184 at sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Win32ShellFolder2.java:748) at sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.java:248) at sun.awt.shell.ShellFolder.get(ShellFolder.java:221) at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.createValue(WindowsLookAndFeel.java:1873) at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:185) at javax.swing.UIDefaults.get(UIDefaults.java:130) at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44) at javax.swing.UIDefaults.getIcon(UIDefaults.java:411) at javax.swing.UIManager.getIcon(UIManager.java:613) at javax.swing.plaf.basic.BasicFileChooserUI.installIcons(BasicFileChooserUI.java:237) at javax.swing.plaf.basic.BasicFileChooserUI.installDefaults(BasicFileChooserUI.java:219) at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:135) at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(WindowsFileChooserUI.java:126) at javax.swing.JComponent.setUI(JComponent.java:652) at javax.swing.JFileChooser.updateUI(JFileChooser.java:1755) at javax.swing.JFileChooser.setup(JFileChooser.java:366) at javax.swing.JFileChooser.<init>(JFileChooser.java:341) at javax.swing.JFileChooser.<init>(JFileChooser.java:300) at com.jaspersoft.ireport.designer.options.IReportPanel.jButtonAddClasspathItem1jButtonAddActionPerformed1(IReportPanel.java:2031) at com.jaspersoft.ireport.designer.options.IReportPanel.access$1700(IReportPanel.java:81) at com.jaspersoft.ireport.designer.options.IReportPanel$24.actionPerformed(IReportPanel.java:821) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1778) at java.awt.Component.dispatchEvent(Component.java:3803)[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) 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...
cristianmilasan Posted February 9, 2010 Share Posted February 9, 2010 Hi,Got the same error when trying to open a report.I used iReport3.1.3 on Windows 7, with jdk 6, update 18.Any help will be appreciated!Cheers,Cristi Link to comment Share on other sites More sharing options...
abuchan Posted January 4, 2011 Share Posted January 4, 2011 The same thing is occuring on WIN2008 SEVERE [global]java.lang.ArrayIndexOutOfBoundsException: 3184 at sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Win32ShellFolder2.java:748) at sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.java:248) at sun.awt.shell.ShellFolder.get(ShellFolder.java:221) at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.createValue(WindowsLookAndFeel.java:1865) at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:185) at javax.swing.UIDefaults.get(UIDefaults.java:130) at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44) at javax.swing.UIDefaults.getIcon(UIDefaults.java:411) at javax.swing.UIManager.getIcon(UIManager.java:613) at javax.swing.plaf.basic.BasicFileChooserUI.installIcons(BasicFileChooserUI.java:237) at javax.swing.plaf.basic.BasicFileChooserUI.installDefaults(BasicFileChooserUI.java:219) at javax.swing.plaf.basic.BasicFileChooserUI.installUI(BasicFileChooserUI.java:135) at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(WindowsFileChooserUI.java:126) at javax.swing.JComponent.setUI(JComponent.java:652) at javax.swing.JFileChooser.updateUI(JFileChooser.java:1755) at javax.swing.JFileChooser.setup(JFileChooser.java:366) at javax.swing.JFileChooser.<init>(JFileChooser.java:332) at javax.swing.JFileChooser.<init>(JFileChooser.java:285) at org.netbeans.modules.db.explorer.dlg.AddDriverDialog.browseButtonActionPerformed(AddDriverDialog.java:400) at org.netbeans.modules.db.explorer.dlg.AddDriverDialog.access$200(AddDriverDialog.java:82) at org.netbeans.modules.db.explorer.dlg.AddDriverDialog$FormListener.actionPerformed(AddDriverDialog.java:339) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1778) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)[catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153) at java.awt.Dialog$1.run(Dialog.java:517) at java.awt.Dialog$2.run(Dialog.java:545) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:543) 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(Component.java:1300) at java.awt.Component.setVisible(Component.java:1253) at org.netbeans.modules.db.explorer.actions.AddDriverAction$AddDriverDialogDisplayer.showDialog(AddDriverAction.java:123) at org.netbeans.modules.db.explorer.actions.AddDriverAction.performAction(AddDriverAction.java:67) at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77) at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:577) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:302) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041) at java.awt.Component.processMouseEvent(Component.java:5488) at javax.swing.JComponent.processMouseEvent(JComponent.java:3126) at java.awt.Component.processEvent(Component.java:5253) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3955) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1778) at java.awt.Component.dispatchEvent(Component.java:3803) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) 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...
mdahlman Posted January 4, 2011 Share Posted January 4, 2011 On Windows 7 you definitely need JDK 1.7 for iReport to be able to correctly browse to files. It's a bug in the JVM that doesn't have an obvious workaround. It works fine in JDK 1.7 (JDK 7).First install JDK 7.Next you should point iReport to it (since you probably still have older JDKs that you need for other purposes). You can achieve that by editing this file:C:\Jaspersoft\iReport-Professional-3.7.1.1\etc\ireportpro.conf Your path will be a slightly different... but that should point you in the right direction.I have not worked with Windows Vista. It's possible that the same problem applies and therefore the same solution applies. Likewise for Windows Server 2008.Regards,Matt Link to comment Share on other sites More sharing options...
larryochieng Posted August 7, 2011 Share Posted August 7, 2011 Hi Matt,I have a problem which I think is related to this issue. Am on WIN7 so I tried out your suggestion. I add my project target folder (it's a maven web application) to the classpath. I still get the "classnotfounderror" for the my bean classes even after verifying that the classes are there in the folder. I also notice that when I browse to the folder iReport doesnt seem to recognise the .class files there. Is there something else that am missing, am using iReport 4.0.2Any help I will highly appreciate, thanks.Lawrence Link to comment Share on other sites More sharing options...
elvermg Posted August 14, 2011 Share Posted August 14, 2011 This works for me, thanks...mdahlmanWrote: On Windows 7 you definitely need JDK 1.7 for iReport to be able to correctly browse to files. It's a bug in the JVM that doesn't have an obvious workaround. It works fine in JDK 1.7 (JDK 7). First install JDK 7. Next you should point iReport to it (since you probably still have older JDKs that you need for other purposes). You can achieve that by editing this file: C:JaspersoftiReport-Professional-3.7.1.1etcireportpro.conf Your path will be a slightly different... but that should point you in the right direction. I have not worked with Windows Vista. It's possible that the same problem applies and therefore the same solution applies. Likewise for Windows Server 2008. Regards, Matt 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