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 112513 - java.lang.reflect.UndeclaredThrowableException
Summary: java.lang.reflect.UndeclaredThrowableException
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL: http://statistics.netbeans.org/except...
Keywords:
: 112493 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-10 01:03 UTC by lamboap
Modified: 2007-08-22 15:24 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 739


Attachments
stacktrace (4.44 KB, text/plain)
2007-08-10 01:03 UTC, lamboap
Details
stacktrace (4.44 KB, text/plain)
2007-08-10 02:39 UTC, lamboap
Details
stacktrace (4.44 KB, text/plain)
2007-08-10 02:39 UTC, lamboap
Details
stacktrace (4.45 KB, text/plain)
2007-08-10 13:54 UTC, belkorin
Details
stacktrace (3.32 KB, text/plain)
2007-08-10 14:05 UTC, belkorin
Details
stacktrace (5.46 KB, text/plain)
2007-08-11 04:58 UTC, lamboap
Details
stacktrace (3.67 KB, text/plain)
2007-08-13 06:13 UTC, lamboap
Details
stacktrace (4.57 KB, text/plain)
2007-08-15 02:22 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lamboap 2007-08-10 01:03:51 UTC
Build: NetBeans IDE Dev (Build 200708081200)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05
OS: Windows XP, 5.1, x86
User Comments: java.lang.IncompatibleClassChangeError: Expected static method org.netbeans.modules.profiler.utils.SourceUtils.isInstanceOf(Lorg/openide/filesystems/FileObject;Ljava/lang/String;)Z
	at org.netbeans.modules.profiler.j2ee.WebProjectUtils.isHttpServlet(WebProjectUtils.java:255)
	at org.netbeans.modules.profiler.j2ee.J2EEProjectTypeProfiler.isFileObjectSupported(J2EEProjectTypeProfiler.java:200)
	at org.netbeans.modules.profiler.actions.AntActions$2.enable(AntActions.java:133)
	at org.netbeans.modules.profiler.actions.FileSensitiveAction.refresh(FileSensitiveAction.java:41)
	at org.netbeans.modules.profiler.actions.ProjectSensitiveAction.resultChanged(ProjectSensitiveAction.java:153)
Caused: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.openide.util.WeakListenerImpl$ProxyListener
Comment 1 lamboap 2007-08-10 01:03:55 UTC
Created attachment 46438 [details]
stacktrace
Comment 2 lamboap 2007-08-10 02:39:03 UTC
Build: NetBeans IDE Dev (Build 200708091200)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: Windows XP, 5.1, x86
User Comments: java.lang.IncompatibleClassChangeError: Expected static method org.netbeans.modules.profiler.utils.SourceUtils.isInstanceOf(Lorg/openide/filesystems/FileObject;Ljava/lang/String;)Z
	at org.netbeans.modules.profiler.j2ee.WebProjectUtils.isHttpServlet(WebProjectUtils.java:255)
	at org.netbeans.modules.profiler.j2ee.J2EEProjectTypeProfiler.isFileObjectSupported(J2EEProjectTypeProfiler.java:200)
	at org.netbeans.modules.profiler.actions.AntActions$1.enable(AntActions.java:94)
	at org.netbeans.modules.profiler.actions.FileSensitiveAction.refresh(FileSensitiveAction.java:41)
	at org.netbeans.modules.profiler.actions.ProjectSensitiveAction.resultChanged(ProjectSensitiveAction.java:153)
Caused: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Me
Comment 3 lamboap 2007-08-10 02:39:06 UTC
Created attachment 46441 [details]
stacktrace
Comment 4 lamboap 2007-08-10 02:39:47 UTC
Build: NetBeans IDE Dev (Build 200708091200)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: Windows XP, 5.1, x86
User Comments: 
Comment 5 lamboap 2007-08-10 02:39:49 UTC
Created attachment 46442 [details]
stacktrace
Comment 6 belkorin 2007-08-10 13:54:18 UTC
Build: NetBeans IDE Dev (Build 200708081200)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: Windows Vista, 6.0, x86
User Comments: 
Comment 7 belkorin 2007-08-10 13:54:21 UTC
Created attachment 46459 [details]
stacktrace
Comment 8 belkorin 2007-08-10 14:05:34 UTC
Build: NetBeans IDE Dev (Build 200708100000)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: Windows Vista, 6.0, x86
User Comments: 
Comment 9 belkorin 2007-08-10 14:05:41 UTC
Created attachment 46461 [details]
stacktrace
Comment 10 lamboap 2007-08-11 04:58:49 UTC
Build: NetBeans IDE Dev (Build 200708101200)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05
OS: Windows XP, 5.1, x86
User Comments: 
Comment 11 lamboap 2007-08-11 04:58:52 UTC
Created attachment 46476 [details]
stacktrace
Comment 12 lamboap 2007-08-13 06:13:04 UTC
Build: NetBeans IDE Dev (Build 200708121200)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: Windows XP, 5.1, x86
User Comments: 
Comment 13 lamboap 2007-08-13 06:13:13 UTC
Created attachment 46491 [details]
stacktrace
Comment 14 Masaki Katakai 2007-08-15 02:22:04 UTC
Build: NetBeans IDE Dev (Build 200708131200)
VM: Java HotSpot(TM) Client VM, 1.6.0_02-b05
OS: SunOS, 5.11, x86
User Comments: 1. Create a Ruby on Rails project
2. Try to open *.js file e.g. public/javascripts/dragdrop.js
Comment 15 Masaki Katakai 2007-08-15 02:22:11 UTC
Created attachment 46640 [details]
stacktrace
Comment 16 J Bachorik 2007-08-22 09:03:04 UTC
*** Issue 112493 has been marked as a duplicate of this issue. ***
Comment 17 J Bachorik 2007-08-22 09:04:29 UTC
This was caused by making an incompatible change in the main profiler module without increasing specification version in
all dependent modules. Immediate remedy is to remove all profiler related modules from the user directory.
Comment 18 Tomas Hurka 2007-08-22 09:08:49 UTC
This happens only if you update profiler modules from autoupdate center.
Comment 19 J Bachorik 2007-08-22 15:24:37 UTC
fixed - increased all specification version so users will get correct versions when updating from the autoupdate