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 131651 - Code scanner scans closed projects
Summary: Code scanner scans closed projects
Status: RESOLVED DUPLICATE of bug 103056
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-31 17:28 UTC by mclaassen
Modified: 2008-04-02 14:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mclaassen 2008-03-31 17:28:23 UTC
Product Version: NetBeans IDE 6.0 (Build 200711261600)
Java: 1.6.0_05; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\mac\.netbeans\6.0

I have all the latest updates from the update center.
------------------------------------------------------------

I wanted to change one of my Java platforms to a newer release, specifically Java 6.0 update 4 to Java 6.0 update 5.  I
don't use the default one for my production projects.  To control it, I create a separately named platform for each
major version of the JDK.

What I did was:
1) Ensure nothing was executing in the IDE
2) Close all open projects
3) Ensure all editor tabs were close
4) Go to Tools -> Java Platforms, and remove my platform (not the default one)
----- At this point, on the status bar, it started re-scanning one of my projects
5) Add the new platform, using the same name as the one previously removed
6) Re-Open my projet

Once it started scanning, it was scanning constantly (making my machine very sluggish) until well after 6 was complete.

It seems that if all projects project are closed, the scanner wouldn't have anything to scan.  I didn't think this was
on purpose, so I thought I would report it.

If it is just the case that it always remembers 1 project, it is probably not a big deal.  But if the scanner actively
scans all project that were ever open in a session, then that could be more of an issue.
Comment 1 Peter Pis 2008-04-01 15:15:38 UTC
Reassigning to "java" for evaluation.
Comment 2 Tomas Zezula 2008-04-02 14:59:51 UTC

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