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 250259 - IllegalArgumentException: Already listening to D:\dev\ide\cache-8.1-20150129-javase\nodejs new listener : org.netbeans.modules.javascript.nodejs.platform.NodeJsSupport$NodeSourcesListener@13c3fac0 h
Summary: IllegalArgumentException: Already listening to D:\dev\ide\cache-8.1-20150129-...
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-06 10:06 UTC by fleka
Modified: 2016-11-16 14:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215237


Attachments
stacktrace (1.96 KB, text/plain)
2015-02-06 10:06 UTC, fleka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fleka 2015-02-06 10:06:38 UTC
Build: NetBeans IDE Dev (Build 201501290002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Windows 7

User Comments:
fleka: switch to other project group




Stacktrace: 
java.lang.IllegalArgumentException: Already listening to D:\dev\ide\cache-8.1-20150129-javase\nodejs
new listener   : org.netbeans.modules.javascript.nodejs.platform.NodeJsSupport$NodeSourcesListener@13c3fac0
holder listener: org.netbeans.modules.javascript.nodejs.platform.NodeJsSupport$NodeSourcesListener@13c3fac0
   at org.openide.filesystems.FileChangeImpl.addFileChangeListenerImpl(FileChangeImpl.java:237)
   at org.openide.filesystems.FileUtil.addFileChangeListener(FileUtil.java:298)
   at org.netbeans.modules.javascript.nodejs.platform.NodeJsSupport.projectOpened(NodeJsSupport.java:160)
   at org.netbeans.modules.javascript.nodejs.platform.NodeJsPlatformProvider.projectOpened(NodeJsPlatformProvider.java:141)
   at org.netbeans.modules.web.clientproject.api.platform.PlatformProvider.projectOpened(PlatformProvider.java:190)
   at org.netbeans.modules.web.clientproject.api.platform.PlatformProviders.projectOpened(PlatformProviders.java:152)
Comment 1 fleka 2015-02-06 10:06:39 UTC
Created attachment 151852 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-02-06 14:18:51 UTC
It seems that node.js support adds the same file-change listener twice.
Reassigning to javascript/Node.js. Petr, please evaluate. Thank you.

Note: May by related to bug 249908?
Comment 3 Tomas Mysik 2015-02-06 14:21:57 UTC
Taking over.
Comment 4 Tomas Mysik 2015-02-23 09:48:00 UTC
I guess a duplicate of issue #250255 - projectOpened/projectClosed not called the same number of times.

Please evaluate, thanks.
Comment 5 Exceptions Reporter 2016-11-16 14:38:25 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=215237