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 53291 - IDE probably holds references to closed projects
Summary: IDE probably holds references to closed projects
Status: CLOSED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-12 12:47 UTC by ehucka
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exceptions' stacktraces (8.93 KB, text/plain)
2005-01-12 12:48 UTC, ehucka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehucka 2005-01-12 12:47:28 UTC
I've opened a few projects from CVS in IDE
(nbjunit and all its required). I closed all of
them and let IDE opened. 
After I started cvs update from command line,
there occured parsing dialog for closed projects
several times and were thrown some exceptions in IDE.
Comment 1 ehucka 2005-01-12 12:48:15 UTC
Created attachment 19640 [details]
exceptions' stacktraces
Comment 2 Jan Becicka 2005-02-15 08:27:09 UTC
Ide holds references to closed projects through TimedSoftReference.
AFAIK this is as designed.
Anyway IDE should not throw Exceptions.

The first Exception is NPE at
org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.getRoots(MergedClassPathImplementation.java:474)

subsequent exceptions are IOEs.
Comment 3 Jan Becicka 2005-02-15 10:16:58 UTC
I cannot reproduce it. I tried to close all ~130 NetBeans projects and
did CVS up. I did not see any Exceptions.
Please reopen if you are able to reproduce it in latest build.
Comment 4 ehucka 2006-03-22 09:51:13 UTC
verified
Comment 5 Quality Engineering 2007-09-20 12:05:26 UTC
Reorganization of java component