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 72999 - cleanUpCodebases never ends
Summary: cleanUpCodebases never ends
Status: VERIFIED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-24 13:20 UTC by Jiri Skrivanek
Modified: 2007-09-26 09:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (7.59 KB, text/plain)
2006-02-24 13:22 UTC, Jiri Skrivanek
Details
Screen shot. (121.53 KB, image/gif)
2006-02-24 13:23 UTC, Jiri Skrivanek
Details
Thread dump from NB55 (7.48 KB, text/plain)
2006-07-18 08:28 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2006-02-24 13:20:02 UTC
Scanning (precisely JMManager.cleanUpCodebases) is running forever and it loads
processor for 100%. Also NB memory meter is going up to 50 MB then down to 25 MB
and so on. I have opened the same module from diffrent branches. Nothing else.
To reproduce:

- start IDE woth fresh userdir
- open nb_all/ide module from trunk
- open nb_all/ide module from release55 branch. Progress bar "Scanning Project
Classpath" never finishes and it overloads processor forever.

Build 20060224-1109, JDK1.5.0_06, WindowsXP.
Comment 1 Jiri Skrivanek 2006-02-24 13:22:05 UTC
Created attachment 29007 [details]
Thread dump
Comment 2 Jiri Skrivanek 2006-02-24 13:23:51 UTC
Created attachment 29008 [details]
Screen shot.
Comment 3 Jan Becicka 2006-03-31 10:18:48 UTC
Is this reproducible?
Comment 4 Jiri Skrivanek 2006-03-31 10:34:37 UTC
Yes, it is with build 20060331-0804. Progress bar disappeared but CPU is at 100%
and memory meter goes up and down continuously.
Comment 5 Jiri Skrivanek 2006-07-18 08:27:18 UTC
It is really annoying and I am able to easily reproduce it in NB55:

- start IDE
- open nb_all/openide project from release55 branch (just this project, not
required projects)
- it starts to scan classpath. When it is finished (progress bar disappears),
processor gets to 100% and memory meter goes up and down. It is because
JMManager.cleanUpCodebases is running forever.

Build NB55 Beta2 200607170300, JDK1.5.0_06, WindowsXP.
Comment 6 Jiri Skrivanek 2006-07-18 08:28:08 UTC
Created attachment 31942 [details]
Thread dump from NB55
Comment 7 Jan Becicka 2006-08-08 16:28:49 UTC
I cannot reproduce it on my machine.
Comment 8 Jiri Prox 2006-08-11 08:23:18 UTC
cannot reproduce either, Jirko can you try it again, please?
Comment 9 Jiri Skrivanek 2006-08-17 09:33:37 UTC
Guys, how many times should I try it to convince you that it really behaves like
I described? If you don't believe, please come and look at my display. Last time
I reproduced it with build 20060817-0525 NB55, WindowsXP, JDK1.6.0-b93.
Comment 10 Jan Becicka 2006-08-17 22:30:33 UTC
Jirko, the problem is probably specific to your machine. None else (afaik) has
such problems. I don't depreciate your report, I just need more information.
There are hundreds of developers, who can open openide without any problem. We
appreciate, if you can:
1. Reproduce this issue one other machine than yours
2. tell us, if you use soft links or similar stuff.
Thanks
Comment 11 Jiri Skrivanek 2006-08-30 14:41:09 UTC
You are right I can't reproduce it on other computer. If I find a reason, why it
doesn't work on my computer, I will reopen it.
Comment 12 Jiri Skrivanek 2006-08-30 14:49:12 UTC
Verified.
Comment 13 Petr Nejedly 2006-09-22 11:55:20 UTC
I might have a hint on analysing this (besides directly attaching debugger to
Jirka's machine, which seems most strightforward if Jirka can reproduce it):
Take a heap dump (jmap -dump:file) and analyse the data structures the JMManager
sees (it _should_ be possible to get even to the stack-referenced structures).
That might shed some light into why JMManager isn't able to finish the scan. 
Comment 14 Jiri Skrivanek 2006-09-22 13:51:09 UTC
You are out of luck :-( I am not able to reproduce it anymore.
Comment 15 Quality Engineering 2007-09-20 12:08:43 UTC
Reorganization of java component