Exception in thread "Basic L&F File Loading Thread" java.util.concurrent.RejectedExecutionException
at java.util.concurrent.ThreadPoolExecutor$AbortPolic y.rejectedExecution(ThreadPoolExecutor.java:1759)
at java.util.concurrent.ThreadPoolExecutor.reject(Thr eadPoolExecutor.java:767)
at java.util.concurrent.ThreadPoolExecutor.execute(Th readPoolExecutor.java:658)
at java.util.concurrent.AbstractExecutorService.submi t(AbstractExecutorService.java:92)
at sun.awt.shell.Win32ShellFolder2$ComTask.execute(Wi n32ShellFolder2.java:1214)
at sun.awt.shell.Win32ShellFolder2.hasAttribute(Win32 ShellFolder2.java:516)
at sun.awt.shell.Win32ShellFolder2.isFileSystem(Win32 ShellFolder2.java:509)
at sun.awt.shell.Win32ShellFolder2.equals(Win32ShellF older2.java:484)
at sun.awt.shell.Win32ShellFolderManager2.isFileSyste mRoot(Win32ShellFolderManager2.java:325)
at sun.awt.shell.ShellFolder.isFileSystemRoot(ShellFo lder.java:233)
at javax.swing.filechooser.FileSystemView.isFileSyste mRoot(FileSystemView.java:310)
at javax.swing.filechooser.WindowsFileSystemView.isTr aversable(FileSystemView.java:632)
at javax.swing.JFileChooser.isTraversable(JFileChoose r.java:1560)
at javax.swing.plaf.basic.BasicDirectoryModel$LoadFil esThread.run0(BasicDirectoryModel.java:250)
at javax.swing.plaf.basic.BasicDirectoryModel$LoadFil esThread.run(BasicDirectoryModel.java:215)
------------------------------------------------------------------------------------------------------------------
I've just done my project... River Data Report/Calculator Program...
I encountered this when closing the program...
Im using Frame...
@ CloseOperation, I've used dispose() and System.exit();
I'd tried to trap that exception... Like putting all methods with try/catch for debugging purposes.. but i can't....
My last Option is i did put a JOptionPane before the System.exit(0) in closingOperation method... and that stacktrace prints after i click the ok button in the JOptionPane... So for me that exception occured between System.exit(0) and the Garbage Collector... I didn't use finalize method...
Can you explain it to me Experts?!! I mean that Exception...
I really feel bad about that exception...
Have you encountered this Exception?
Can you share what you have learned about that Exception?
Any reply will be appreciated...
Sukatoa...