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 249147

Summary: IllegalArgumentException: Already listening to D:\work\products\gpswatchdog\dev\4TEL11\alarm_window\alarms_window\foundation new listener : org.netbeans.modules.scala.maven.Updater@6c1bc9b2 holder l
Product: third-party Reporter: aplatypus <aplatypus>
Component: -- Other --Assignee: _ dcaoyuan <dcaoyuan>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 210697
Attachments: stacktrace

Description aplatypus 2014-12-05 12:19:33 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 7

User Comments:
GUEST: Attempting to open a project

aplatypus: opened a Java project -- the error is about Scala

removing scala plugin(s) following this error.




Stacktrace: 
java.lang.IllegalArgumentException: Already listening to D:\work\products\gpswatchdog\dev\4TEL11\alarm_window\alarms_window\foundation
new listener   : org.netbeans.modules.scala.maven.Updater@6c1bc9b2
holder listener: org.netbeans.modules.scala.maven.Updater@6c1bc9b2
   at org.openide.filesystems.FileChangeImpl.addFileChangeListenerImpl(FileChangeImpl.java:235)
   at org.openide.filesystems.FileUtil.addFileChangeListener(FileUtil.java:306)
   at org.netbeans.modules.scala.maven.Updater$$anonfun$attachAll$1.apply(Updater.java:110)
   at org.netbeans.modules.scala.maven.Updater$$anonfun$attachAll$1.apply(Updater.java:110)
   at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.java:33)
   at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.java:108)
Comment 1 aplatypus 2014-12-05 12:19:35 UTC
Created attachment 150916 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-12-05 12:35:53 UTC
It seems that the bug originates in the Scala plugin.
Dcaoyuan, please evaluate it.
Thank you very much.