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 20581 - NoSuchMethodException during projects switching
Summary: NoSuchMethodException during projects switching
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: _ ttran
URL:
Keywords:
: 20617 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-02-15 09:38 UTC by Milan Kubec
Modified: 2008-12-22 20:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stack trace (3.65 KB, text/plain)
2002-02-15 09:39 UTC, Milan Kubec
Details
another different stack traces (7.29 KB, text/plain)
2002-02-15 09:46 UTC, Milan Kubec
Details
jar patch for build 200202150100 (16.01 KB, application/octet-stream)
2002-02-15 17:35 UTC, _ ttran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2002-02-15 09:38:26 UTC
[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.
Comment 1 Milan Kubec 2002-02-15 09:39:14 UTC
Created attachment 4714 [details]
exception stack trace
Comment 2 Milan Kubec 2002-02-15 09:46:00 UTC
Created attachment 4716 [details]
another different stack traces
Comment 3 Milan Kubec 2002-02-15 09:50:03 UTC
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.
Comment 4 Milan Kubec 2002-02-15 09:56:10 UTC
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.
Comment 5 Lukas Hasik 2002-02-15 10:02:12 UTC
200202150100, jdk1.4-b92, MDI

-start IDE in MDI
-exit and restart

NoSuchMethodException exception thrown
Comment 6 Milan Kubec 2002-02-15 10:53:15 UTC
Raising priority - it's major user anoyance.
Comment 7 _ ttran 2002-02-15 13:44:02 UTC
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.
Comment 8 _ ttran 2002-02-15 15:14:20 UTC
fixed
Comment 9 _ ttran 2002-02-15 17:35:34 UTC
Created attachment 4726 [details]
jar patch for build 200202150100
Comment 10 _ ttran 2002-02-16 13:03:48 UTC
*** Issue 20617 has been marked as a duplicate of this issue. ***
Comment 11 Marian Mirilovic 2002-04-12 14:55:50 UTC
It seems like it works fine now.

verified in [nb_dev](20020412)
Comment 12 Quality Engineering 2003-07-01 16:26:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.