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.
[ JDK VERSION : 1.6.0_07 ] Steps to reproduce: Step #1 Create a java project #2 Delete auto created 'Main.java' class #3 Create New Java class in same package Ops Class is missing in Project view Check the Screen shot.
Created attachment 70144 [details] screen shot
this is true with maven project types too so this is most probably Project view refresh issue
works for me fine in Product Version: NetBeans IDE Dev (Build 200809180201) Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb) Userdir: /tmp/ud what build are you using?
Product Version: NetBeans IDE Dev (Build 080919) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: D:\java.ides\netbeans\config\dev BTW did you folow steps you need to create project and Delete auto created 'Main.java' class to reproduce this
musilt2: can you try on windows as well? It seems to work for me on macosx with today's (22/Sep) custom build. closing as worksforme. theanuradha: can you add more detailed steps to reproduce? I've tried with j2se project, I invoked both delete and new class actions from the popup menu (main.java and package nodes)
reproduced. also on Linux in 20080918. The thing that matters is that "View package as" has to be set in Tree mode.
it could be related to issue http://www.netbeans.org/issues/show_bug.cgi?id=145892 however that one shall have been fixed in builds 200809130201+
Well I'm on latest bits so ... may be http://www.netbeans.org/issues/show_bug.cgi?id=145892 not related ?
FYI: i was able to reproduce 200809221401 on my XP.
I'm able to reproduce as well. The issue seems to be somewhere in the Nodes IMHO. The affected class in project is org.netbeans.spi.java.project.support.ui.TreeRootNode which constructs a rather elaborate filter node hierarchy, but I couldn't find anything bad there. The datasystems/filesystem later works, as the Files view gets updated correctly and it actually works in the project view all the time as well, unless one deletes the last child of a given folder. After that anything that gets created in that folder is invisible. (but shows in files view anyway)
ad23cebc2eb5
Integrated into 'main-golden', will be available in build *200809270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ad23cebc2eb5 User: Tomas Holy <t_h@netbeans.org> Log: #147709: Missing newly creted java class files in Project view