You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Shevek (JIRA)" <ji...@apache.org> on 2019/07/02 22:06:00 UTC

[jira] [Created] (NETBEANS-2790) java.nio.file.ClosedWatchServiceException

Shevek created NETBEANS-2790:
--------------------------------

             Summary: java.nio.file.ClosedWatchServiceException
                 Key: NETBEANS-2790
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2790
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 11.0
         Environment: 
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-0ubuntu1.19.04.2-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 19.04
Release:        19.04
Codename:       disco

            Reporter: Shevek


Running with nio masterfs per NETBEANS-2291:

WARNING [org.netbeans.modules.masterfs.watcher.Watcher]: Cannot remove filesystem watch for /[filename-removed]
INFO [org.netbeans.modules.masterfs.watcher.Watcher]: Exception
java.nio.file.ClosedWatchServiceException
        at sun.nio.fs.AbstractPoller.invoke(AbstractPoller.java:216)
        at sun.nio.fs.AbstractPoller.cancel(AbstractPoller.java:133)
        at sun.nio.fs.LinuxWatchService$LinuxWatchKey.cancel(LinuxWatchService.java:138)
        at org.netbeans.modules.masterfs.watcher.nio2.NioNotifier.removeWatch(NioNotifier.java:62)
Caused: java.io.IOException
        at org.netbeans.modules.masterfs.watcher.nio2.NioNotifier.removeWatch(NioNotifier.java:64)
        at org.netbeans.modules.masterfs.watcher.nio2.NioNotifier.removeWatch(NioNotifier.java:40)
        at org.netbeans.modules.masterfs.providers.Notifier$1.removeWatch(Notifier.java:95)
        at org.netbeans.modules.masterfs.watcher.NotifierKeyRef.removeWatch(NotifierKeyRef.java:73)
[catch] at org.netbeans.modules.masterfs.watcher.Watcher$Ext.unregister(Watcher.java:297)
        at org.netbeans.modules.masterfs.watcher.Watcher.unregister(Watcher.java:111)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.removeFileChangeListener(BaseFileObj.java:539)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper.listenTo(FileObjectKeeper.java:191)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper.listenNoMore(FileObjectKeeper.java:272)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper.removeRecursiveListener(FileObjectKeeper.java:102)
        at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.removeRecursiveListener(FolderObj.java:662)
        at org.openide.filesystems.DeepListener.run(DeepListener.java:70)
        at org.openide.filesystems.FileChangeImpl.removeRecursiveListener(FileChangeImpl.java:255)
        at org.openide.filesystems.FileUtil.removeRecursiveListener(FileUtil.java:380)
        at org.netbeans.modules.parsing.impl.indexing.RootsListener.lambda$safeRemoveRecursiveListener$5(RootsListener.java:260)
        at org.netbeans.modules.parsing.impl.indexing.RootsListener.performSave(RootsListener.java:276)
        at org.netbeans.modules.parsing.impl.indexing.RootsListener.lambda$performAsync$6(RootsListener.java:268)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
        at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
        at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists