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.
Summary: | Duplicate folders show in Project Window | ||
---|---|---|---|
Product: | platform | Reporter: | MackSix |
Component: | Data Systems | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | NEW --- | ||
Severity: | normal | CC: | jhavlin, jtulach, MackSix |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Log File
Screenshot Thread Dump Log File/Thread Dump from NetBeans IDE Dev (Build 201309110001) |
Created attachment 145279 [details]
Screenshot
Shows Duplicate Source Packages, Test Packages, Libraries, Test Libraries folders.
Created attachment 145281 [details]
Thread Dump
Created attachment 145283 [details]
Log File/Thread Dump from NetBeans IDE Dev (Build 201309110001)
This is log file and thread dump from NetBeans IDE Dev (Build 201309110001) that I created on Sept. 11th 2013 when I saw the duplicate folders on startup.
I guess these nodes (Source Packages, Test Packages, Libraries) are added by Project Support. Milos, can you please evaluate it? Thank you. you got a swing related stackoverflow in the log file. Can you reproduce the problem with 1.7? (In reply to Milos Kleint from comment #5) > you got a swing related stackoverflow in the log file. Can you reproduce the > problem with 1.7? Those were from this bug: Issue 241958. Yes it is reproducible using those steps and 1.7 u51. It is the same log file at an earlier time on the other issue. I can't reproduce the dup folders other than I have seen that happen from time to time. why do you have -Dorg.openide.loaders.FolderChildren.level=FINE set at startup? some other issue debugging? Here's why I'm asking: 1. the various subnodes in the projects view are implemented by individual factories registered with an annotation. eg. @NodeFactory.Registration(projectType="org-netbeans-modules-java-j2seproject", position=300) public final class LibrariesNodeFactory implements NodeFactory 2. The parent node code takes all the registrations in defined order and calls then for subnodes. It's impossible to have one of these factories to wrongly return nodes as can be seen in the screenshot. (they are independent) 3. So it can be either something on the visual side of things (the actual visual component is out of sync somehow - platform/explorer?) 4. But more likely (and related to the question in the beginning) somehow when the registered layer content is converted to System file system, some of the entries are duplicated (this multiple instances of the factories are created) reassigning back to datasystems. (In reply to Milos Kleint from comment #7) > why do you have -Dorg.openide.loaders.FolderChildren.level=FINE set at > startup? some other issue debugging? > To catch more info for bugs like Issue 202614. Sometimes form files show in a project when they should not show. Hmmm.... it's been a year - more - and I seem to be experiencing the same thing now. Windows 8.1 Netbeans 8.0.2 LibGDX Android project (Gradle) showing duplicates of Source Packages And Dependencies |
Created attachment 145278 [details] Log File I have seen this before. Duplicate folders show in a Java project in the Projects Window. I have included a screenshot and the log file. I don't know how to reproduce it. Product Version: NetBeans IDE Dev (Build 201402150001) Java: 1.8.0; Java HotSpot(TM) 64-Bit Server VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b128 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)