This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 121076 - RejectedExecutionException occurs on installer exit
Summary: RejectedExecutionException occurs on installer exit
Status: RESOLVED WONTFIX
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@installer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-03 23:09 UTC by dlipin
Modified: 2007-11-23 12:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dlipin 2007-11-03 23:09:10 UTC
Installer register shutdown hook that performes cleanup (runs the cleaner in new process).
Due to change in JDK that was done in JDK6U2 this sometimes result in RejectedExecutionThread.
Exception while removing reference: java.util.concurrent.RejectedExecutionException:
java.util.concurrent.RejectedExecutionException
        at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
        at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
        at sun.awt.shell.Win32ShellFolder2$ComTask.execute(Unknown Source)
        at sun.awt.shell.Win32ShellFolder2$FolderDisposer.dispose(Unknown Source)
        at sun.java2d.Disposer.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Exception while removing reference: java.util.concurrent.RejectedExecutionException
java.util.concurrent.RejectedExecutionException	
        at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.reject(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
        at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
        at sun.awt.shell.Win32ShellFolder2$ComTask.execute(Unknown Source)
        at sun.awt.shell.Win32ShellFolder2$FolderDisposer.dispose(Unknown Source)
        at sun.java2d.Disposer.run(Unknown Source)


See also
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6612928

This doesn`t affect any installer functionality but leave unnecessary files in tempdir.
Probably it can also can leaving the uninstaller but I haven`t ever seen such an issue.
Comment 1 dlipin 2007-11-23 12:32:02 UTC
closing as WONTFIX since it is a pure Java issue.
actually all files are deleted at end with no problems.