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 151415 - reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0
Summary: reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.inv...
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jiri Skrivanek
URL: http://statistics.netbeans.org/except...
Keywords:
: 154454 155495 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-27 09:23 UTC by Marian Mirilovic
Modified: 2009-07-16 17:33 UTC (History)
33 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 122579


Attachments
stacktrace (1.11 KB, text/plain)
2009-01-28 07:19 UTC, Filip Zamboj
Details
stacktrace (686 bytes, text/plain)
2009-02-20 07:03 UTC, malakim
Details
stacktrace (682 bytes, text/plain)
2009-02-23 18:42 UTC, Filip Zamboj
Details
stacktrace (684 bytes, text/plain)
2009-02-24 10:18 UTC, Jiri Prox
Details
stacktrace (770 bytes, text/plain)
2009-04-27 21:53 UTC, laurin1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2008-10-27 09:23:22 UTC
11 duplicates so far ...

Build: NetBeans IDE Dev (Build 200810031107)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05, Java(TM) SE Runtime Environment, 1.6.0_03-b05
OS: Linux, 2.6.26, i386
User comments: 
STACKTRACE: (first 10 lines)
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ListenerReference.run(WeakListenerImpl.java:584)
        at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3109)
        at java.lang.Thread.run(Thread.java:619)
java.lang.IllegalStateException: Node has been removed.
        at java.util.prefs.AbstractPreferences.removePreferenceChangeListener(AbstractPreferences.java:1034)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ListenerReference.run(WeakListenerImpl.java:584)
        at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3109)
        at java.lang.Thread.run(Thread.java:619)
Comment 1 t_h 2008-12-10 15:21:12 UTC
*** Issue 154454 has been marked as a duplicate of this issue. ***
Comment 2 t_h 2008-12-10 15:27:18 UTC
"Node has been removed." in stacktrace has nothing with openide.nodes
Comment 3 Filip Zamboj 2009-01-28 07:19:17 UTC
Build: NetBeans IDE Dev (Build 200812180001)
VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows Vista, 6.0, amd64

User Comments: 


Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor86.invoke(GeneratedMethodAccessor86.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ListenerReference.run(WeakListenerImpl.java:584)
        at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3119)
        at java.lang.Thread.run(Thread.java:619)
Comment 4 Filip Zamboj 2009-01-28 07:19:30 UTC
Created attachment 76285 [details]
stacktrace
Comment 5 malakim 2009-02-20 07:03:42 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows XP, 5.1, x86

User Comments: 
Debugging web app running on Glassfish v2

Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor1373.invoke(GeneratedMethodAccessor1373.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ListenerReference.run(WeakListenerImpl.java:584)
        at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3109)
        at java.lang.Thread.run(Thread.java:619)
Comment 6 malakim 2009-02-20 07:03:51 UTC
Created attachment 77188 [details]
stacktrace
Comment 7 Filip Zamboj 2009-02-23 18:42:26 UTC
Build: NetBeans IDE Dev (Build 200902201419)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Linux, 2.6.27-11-generic, amd64

User Comments: 
I clicked on the file in order to open it but click once by left button was enough to get an exception

Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor76.invoke(GeneratedMethodAccessor76.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ListenerReference.run(WeakListenerImpl.java:585)
        at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3173)
        at java.lang.Thread.run(Thread.java:619)
Comment 8 Filip Zamboj 2009-02-23 18:42:31 UTC
Created attachment 77259 [details]
stacktrace
Comment 9 Jiri Prox 2009-02-24 10:18:15 UTC
Build: NetBeans IDE Dev (Build 200902231810)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Linux, 2.6.24-23-generic, i386

User Comments: 
ISE occured when deleting project in project view

Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor199.invoke(GeneratedMethodAccessor199.java:0)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ListenerReference.run(WeakListenerImpl.java:585)
        at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3173)
        at java.lang.Thread.run(Thread.java:619)
Comment 10 Jiri Prox 2009-02-24 10:18:27 UTC
Created attachment 77282 [details]
stacktrace
Comment 11 Exceptions Reporter 2009-03-02 14:38:58 UTC
This issue has already 150 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=122579
Comment 12 t_h 2009-03-02 15:44:21 UTC
*** Issue 155495 has been marked as a duplicate of this issue. ***
Comment 13 Exceptions Reporter 2009-03-04 20:30:16 UTC
This issue has already 300 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=122579
Comment 14 Jiri Skrivanek 2009-03-06 07:58:46 UTC
Fixed. Ignored exception from removePreferenceChangeListener and removeNodeChangeListener thrown when node has already
been removed.

http://hg.netbeans.org/core-main/rev/4c8bf8f89e5c
Comment 15 Quality Engineering 2009-03-06 20:32:54 UTC
Integrated into 'main-golden', will be available in build *200903061429* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4c8bf8f89e5c
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #151415 - ignore exception from removePreferenceChangeListener and removeNodeChangeListener thrown when node has already been removed.
Comment 16 martinhavle 2009-04-03 16:20:33 UTC
Seems to be fixed properly, changing the state of the issue to VERIFIED.
Comment 17 pgebauer 2009-04-08 13:56:55 UTC
The status whiteboard "65fixes4-candidate" has been removed.
At this time our proactive patches for the NetBeans 6.5.x IDE have concluded.

If you own a Sun service plan contract for NetBeans, you may wish to contact
Sun Service http://www.sun.com/contact/support.jsp to request a fix via the
product defect escalation process.

For more information on purchasing a Sun service plan contract for NetBeans,
refer to the service plan item "Sun Software Service Plans (S3P) for Developers"
in the Sun Service table found on our NetBeans Support Resources
page http://www.netbeans.org/kb/support.html
Comment 18 laurin1 2009-04-27 21:52:58 UTC
Build: NetBeans IDE Dev (Build 200902231810)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.openide.util.WeakListenerImpl$ListenerReference.run(WeakListenerImpl.java:585)
        at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:3173)
Comment 19 laurin1 2009-04-27 21:53:06 UTC
Created attachment 81014 [details]
stacktrace