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.
[Build 200202150100, JDK 1.4] Steps to reproduce: 1) Create couple of new projects (e.g. 5) 2) Open Project manager and switch to another project 3) Repeat step 2 couple times until NoSuchMethodExceptions are thrown.
Created attachment 4714 [details] exception stack trace
Created attachment 4716 [details] another different stack traces
Second attached stack trace was thrown when switched to Default project. Last two exceptions in that stack trace were thrown couple seconds after first two exceptions, after *no* user activity.
It seems that these exceptions are thrown randomly even after couple minutes of user complete non-activity (after they were triggered). VM is probably removing some weak references during garbage collection which should not be removed.
200202150100, jdk1.4-b92, MDI -start IDE in MDI -exit and restart NoSuchMethodException exception thrown
Raising priority - it's major user anoyance.
Yarda has helped me to track down the cause of this problem. It's a defect in WeakListener. The mystery is that that piece of code is very old, nobody touched it recently. Just now the defect starts to show off.
fixed
Created attachment 4726 [details] jar patch for build 200202150100
*** Issue 20617 has been marked as a duplicate of this issue. ***
It seems like it works fine now. verified in [nb_dev](20020412)
Resolved for 3.4.x or earlier, no new info since then -> closing.