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 163347

Summary: [67cat] Scanning project does not work !
Product: java Reporter: saeed_z_f <saeed_z_f>
Component: SourceAssignee: Rastislav Komara <moonko>
Status: RESOLVED FIXED    
Severity: blocker CC: vstejskal
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 121950    
Attachments: Freeform project for testing

Description saeed_z_f 2009-04-22 10:10:18 UTC
[ BUILD # : 200904011705 ]
[ JDK VERSION : 1.6.* ]

Hi
I work with a JavaSE Free Form Project when i delete a java file from
project that i used it in another file. IDE did not show to me error
in project tree.
Comment 1 Vitezslav Stejskal 2009-04-24 13:43:13 UTC
Created attachment 80849 [details]
Freeform project for testing
Comment 2 Vitezslav Stejskal 2009-04-24 13:50:14 UTC
It seems to work fine in the latest dev build. At least this is what I tried:

1. open the attached FreeFormJava project; there are two packages and three classes; package2.Class2 uses package1.Class1
2. there should be no errors after opening the project
3. delete package1.Class1 -> Class2 is marked with the error badge
4. create package1.Class1 with 'public void String sayHello() { return "hello"; }' method and Class2's error badge will
be removed

If this does not work for you or you have another freeform project where this does not work please reopen and attach the
project here. Also please run your IDE with

-J-Dorg.netbeans.modules.java.source.tasklist.IncorrectErrorBadges.level=FINE
-J-Dorg.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.level=FINE

switches and attach here the IDE's log file (ie. <ide-userdir>/var/log/messages.log. Thanks


Product Version: NetBeans IDE Dev (Build 090424)
Java: 1.5.0_14; Java HotSpot(TM) Client VM 1.5.0_14-b03
System: Linux version 2.6.22-16-generic running on i386; UTF-8; en_US (nb)