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 8093

Summary: WeakListener silently catches IllegalArgumentException
Product: platform Reporter: _ pkuzel <pkuzel>
Component: -- Other --Assignee: anovak <anovak>
Status: CLOSED FIXED    
Severity: normal    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description _ pkuzel 2000-10-31 10:49:42 UTC
[boston]
java.lang.IllegalArgumentException: argument type mismatch
        at java.lang.reflect.Method.invoke(Native Method)
        at org.openide.util.WeakListener.removeListener(WeakListener.java:123)
        at org.openide.util.WeakListener.removeListener(WeakListener.java:109)

as consequence weak listener is never deregistered.
Comment 1 _ pkuzel 2000-11-01 17:12:59 UTC
it fails with WeakListener13 implementation.
Then WeakListener tries to deregister a InvocationHandler instead of proxy.
Comment 2 anovak 2000-11-06 11:02:59 UTC
fixed in main trunk
Comment 3 Jesse Glick 2002-02-14 19:38:05 UTC
x
Comment 4 Jesse Glick 2002-02-14 19:38:23 UTC
Fixed then.
Comment 5 Quality Engineering 2003-07-01 15:50:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 6 Quality Engineering 2003-07-01 16:10:03 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.