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 120992

Summary: IAE: Already listening to /home/tomas/NetBeansProjects/RailsApplication143/app/models
Product: ruby Reporter: Tomas Danek <musilt2>
Component: PlatformAssignee: Martin Krauskopf <mkrauskopf>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: musilt2
Priority: P3 Keywords: RANDOM
Version: 6.x   
Hardware: PC   
OS: Linux   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=10343
Issue Type: DEFECT Exception Reporter: 10343

Description Tomas Danek 2007-11-02 16:34:34 UTC
-just created rails project.

Build: NetBeans IDE Dev (Build 200711020000)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: Linux, 2.6.20-16-generic, i386
User comments: - created rails project
STACKTRACE: (first 10 lines)
java.lang.IllegalArgumentException: Already listening to /home/tomas/NetBeansProjects/RailsApplication143/app/models
        at org.netbeans.modules.ruby.modules.project.rake.FileChangeSupport.addListener(FileChangeSupport.java:92)
        at org.netbeans.modules.ruby.spi.project.support.rake.SourcesHelper$SourcesImpl.listen(SourcesHelper.java:475)
        at
org.netbeans.modules.ruby.spi.project.support.rake.SourcesHelper$SourcesImpl.getSourceGroups(SourcesHelper.java:409)
        at org.netbeans.modules.ruby.railsprojects.RailsSources$2.run(RailsSources.java:114)
        at org.netbeans.modules.ruby.railsprojects.RailsSources$2.run(RailsSources.java:105)
        at org.openide.util.Mutex.readAccess(Mutex.java:252)
        at org.netbeans.modules.ruby.railsprojects.RailsSources.getSourceGroups(RailsSources.java:104)
        at
org.netbeans.spi.project.support.LookupProviderSupport$SourcesImpl.getSourceGroups(LookupProviderSupport.java:259)
        at
org.netbeans.modules.ruby.railsprojects.ui.RailsLogicalViewProvider$RailsLogicalViewRootNode.setProjectFiles(RailsLogicalViewProvider.java:259)
        at
org.netbeans.modules.ruby.railsprojects.ui.RailsLogicalViewProvider$RailsLogicalViewRootNode.<init>(RailsLogicalViewProvider.java:250)
Comment 1 Martin Krauskopf 2007-11-04 17:44:26 UTC
Random or does it happen always?
Comment 2 Martin Krauskopf 2007-11-04 18:04:47 UTC
Until this is critical issue (I've never seen it myself), setting TM to future. The code there is sensitive and I do not
want to touch few hours before high resistance. If a big problem, let's make it P2 and evaluate again.
Comment 3 Tomas Danek 2007-11-05 14:10:13 UTC
seems to me like random..
Comment 4 Jiri Skrivanek 2007-11-16 11:06:48 UTC
Look at issue 121059 for inspiration how to fix.
Comment 5 Martin Krauskopf 2008-06-18 11:53:57 UTC
*** Issue 137497 has been marked as a duplicate of this issue. ***
Comment 6 Martin Krauskopf 2008-07-11 07:07:12 UTC

*** This issue has been marked as a duplicate of 120014 ***