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 249429 - exceptions on closing IDE
Summary: exceptions on closing IDE
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-18 14:52 UTC by Vladimir Voskresensky
Modified: 2014-12-19 04:36 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 Vladimir Voskresensky 2014-12-18 14:52:05 UTC
when I close IDE running in -ea mode then I see as much exceptions [1] as I have opened projects. It results that not all shutdown work has been completed.

ava.lang.AssertionError: Resource temporarily unavailable
	at sun.nio.fs.AbstractPoller.cancel(AbstractPoller.java:139)
	at sun.nio.fs.SolarisWatchService$SolarisWatchKey.cancel(SolarisWatchService.java:189)
	at org.netbeans.modules.masterfs.watcher.nio2.NioNotifier.removeWatch(NioNotifier.java:85)
	at org.netbeans.modules.masterfs.watcher.nio2.NioNotifier.removeWatch(NioNotifier.java:63)
	at org.netbeans.modules.masterfs.providers.Notifier$1.removeWatch(Notifier.java:115)
	at org.netbeans.modules.masterfs.watcher.NotifierKeyRef.removeWatch(NotifierKeyRef.java:96)
	at org.netbeans.modules.masterfs.watcher.Watcher$Ext.unregister(Watcher.java:317)
	at org.netbeans.modules.masterfs.watcher.Watcher.unregister(Watcher.java:131)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.removeFileChangeListener(BaseFileObj.java:561)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper.listenTo(FileObjectKeeper.java:211)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper.listenNoMore(FileObjectKeeper.java:286)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper.removeRecursiveListener(FileObjectKeeper.java:122)
	at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.removeRecursiveListener(FolderObj.java:687)
	at org.openide.filesystems.DeepListener.run(DeepListener.java:93)
	at org.openide.filesystems.FileChangeImpl.removeRecursiveListener(FileChangeImpl.java:278)
	at org.openide.filesystems.FileUtil.removeRecursiveListener(FileUtil.java:407)
	at org.netbeans.modules.remote.support.LocalFileSystemProvider.removeRecursiveListener(LocalFileSystemProvider.java:389)
	at org.netbeans.modules.remote.spi.FileSystemProvider.removeRecursiveListener(FileSystemProvider.java:429)
	at org.netbeans.modules.cnd.makeproject.api.configurations.Folder.detachListener(Folder.java:446)
	at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.closed(MakeConfigurationDescriptor.java:243)
	at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.closed(MakeConfigurationDescriptor.java:237)
	at org.netbeans.modules.cnd.makeproject.api.configurations.ConfigurationDescriptorProvider.closed(ConfigurationDescriptorProvider.java:400)
	at org.netbeans.modules.cnd.makeproject.MakeProject$2.run(MakeProject.java:1538)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1425)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:59)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:294)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2038)
Comment 1 Vladimir Voskresensky 2014-12-18 16:39:16 UTC
http://hg.netbeans.org/cnd-main/rev/f431426d4a1e
Comment 2 Quality Engineering 2014-12-19 04:36:06 UTC
Integrated into 'main-silver', will be available in build *201412190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f431426d4a1e
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #249429 - exceptions on closing IDE