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 83445 - java.lang.IllegalArgumentException: java.lang.reflect.InvocationTargetException
Summary: java.lang.IllegalArgumentException: java.lang.reflect.InvocationTargetException
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-25 05:38 UTC by sp_cdac
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sp_cdac 2006-08-25 05:38:24 UTC
java.lang.IllegalArgumentException: java.lang.reflect.InvocationTargetException
	at org.openide.util.SharedClassObject.findObject
(SharedClassObject.java:482)
	at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:338)
	at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:276)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:898)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:377)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:311)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:244)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:206)
	at org.netbeans.core.startup.Main.start(Main.java:377)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:90)
[catch] at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at org.openide.util.SharedClassObject.createInstancePrivileged
(SharedClassObject.java:605)
	at org.openide.util.SharedClassObject$SetAccessibleAction.run
(SharedClassObject.java:974)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.openide.util.SharedClassObject.findObject
(SharedClassObject.java:479)
	... 10 more
Caused by: java.lang.NoSuchMethodError: java.net.URL.toURI()Ljava/net/URI;
	at com.itgp.modules.xtt.Utility.getThisModulesRootInstallDir
(Utility.java:780)
	at com.itgp.modules.xtt.XTTModuleInstall.<init>
(XTTModuleInstall.java:31)
	... 18 more
Comment 1 Jan Pokorsky 2006-08-25 10:23:52 UTC
Not a NetBeans bug. As you can read in your stack trace:

Caused by: java.lang.NoSuchMethodError: java.net.URL.toURI()Ljava/net/URI;
at com.itgp.modules.xtt.Utility.getThisModulesRootInstallDir(Utility.java:780)

It looks like you compile with jdk 1.5 but run on jdk 1.4 => wrong module
dependencies.
Comment 2 Quality Engineering 2007-09-20 09:56:24 UTC
Reorganization of java component