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.
release32, build 38 Applied all patchs, upon Netbeans being restarted I now get the following exception on every startup: Sat May 05 17:02:05 EDT 2001: java.lang.InstantiationException: java.lang.ClassNotFoundException java.lang.ClassNotFoundException: java.lang.NoClassDefFoundError java.lang.NoClassDefFoundError: org/netbeans/lib/logger/TraceLogger at org.netbeans.modules.logger.loggerSettings.<clinit>(loggerSettings.java:3 8) at java.lang.reflect.Constructor.newInstance(Native Method) at org.openide.util.SharedClassObject.createInstancePrivileged(SharedClassOb ject.java:429) at org.openide.util.SharedClassObject$SetAccessibleAction.run(SharedClassObj ect.java:715) at java.security.AccessController.doPrivileged(Native Method) at org.openide.util.SharedClassObject.findObject(SharedClassObject.java:392) at org.openide.modules.ManifestSection.createInstance(ManifestSection.java:9 6) at org.openide.modules.ManifestSection.getInstance(ManifestSection.java:127) at org.openide.modules.ManifestSection$OptionSection.getOption(ManifestSecti on.java:306) at org.netbeans.core.ModuleItem$InstallIterator.processOption(ModuleItem.jav a:1117) at org.openide.modules.ManifestSection$OptionSection.invokeIterator(Manifest Section.java:315) at org.openide.modules.ModuleDescription.forEachSection(ModuleDescription.ja va:523) at org.netbeans.core.ModuleItem.restoreSection(ModuleItem.java:724) at org.netbeans.core.ModuleItem.restoreSection(ModuleItem.java:713) at org.netbeans.core.ModuleInstaller.initialize(ModuleInstaller.java:212) at org.netbeans.core.NonGui.run(NonGui.java:484) at org.netbeans.core.Main.run(Main.java:187) at org.openide.TopManager.initializeTopManager(TopManager.java:120) at org.openide.TopManager.getDefault(TopManager.java:81) at org.netbeans.core.Main.main(Main.java:274) at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:90) at java.lang.Thread.run(Thread.java:498) at java.lang.Throwable.<init>(Throwable.java:96) at java.lang.Exception.<init>(Exception.java:44) at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:71) at org.openide.modules.ManifestSection.getInstance(ManifestSection.java:133) at org.openide.modules.ManifestSection$OptionSection.getOption(ManifestSecti on.java:306) at org.netbeans.core.ModuleItem$InstallIterator.processOption(ModuleItem.jav a:1117) at org.openide.modules.ManifestSection$OptionSection.invokeIterator(Manifest Section.java:315) at org.openide.modules.ModuleDescription.forEachSection(ModuleDescription.ja va:523) at org.netbeans.core.ModuleItem.restoreSection(ModuleItem.java:724) at org.netbeans.core.ModuleItem.restoreSection(ModuleItem.java:713) at org.netbeans.core.ModuleInstaller.initialize(ModuleInstaller.java:212) at org.netbeans.core.NonGui.run(NonGui.java:484) at org.netbeans.core.Main.run(Main.java:187) at org.openide.TopManager.initializeTopManager(TopManager.java:120) at org.openide.TopManager.getDefault(TopManager.java:81) at org.netbeans.core.Main.main(Main.java:274) at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:90) at java.lang.Thread.run(Thread.java:498) java.lang.InstantiationException: java.lang.ClassNotFoundException java.lang.ClassNotFoundException: java.lang.NoClassDefFoundError java.lang.NoClassDefFoundError: org/netbeans/lib/logger/TraceLogger at org.netbeans.modules.logger.loggerSettings.<clinit>(loggerSettings.java:3 8) at java.lang.reflect.Constructor.newInstance(Native Method) at org.openide.util.SharedClassObject.createInstancePrivileged(SharedClassOb ject.java:429) at org.openide.util.SharedClassObject$SetAccessibleAction.run(SharedClassObj ect.java:715) at java.security.AccessController.doPrivileged(Native Method) at org.openide.util.SharedClassObject.findObject(SharedClassObject.java:392) at org.openide.modules.ManifestSection.createInstance(ManifestSection.java:9 6) at org.openide.modules.ManifestSection.getInstance(ManifestSection.java:127) at org.openide.modules.ManifestSection$OptionSection.getOption(ManifestSecti on.java:306) at org.netbeans.core.ModuleItem$InstallIterator.processOption(ModuleItem.jav a:1117) at org.openide.modules.ManifestSection$OptionSection.invokeIterator(Manifest Section.java:315) at org.openide.modules.ModuleDescription.forEachSection(ModuleDescription.ja va:523) at org.netbeans.core.ModuleItem.restoreSection(ModuleItem.java:724) at org.netbeans.core.ModuleItem.restoreSection(ModuleItem.java:713) at org.netbeans.core.ModuleInstaller.initialize(ModuleInstaller.java:212) at org.netbeans.core.NonGui.run(NonGui.java:484) at org.netbeans.core.Main.run(Main.java:187) at org.openide.TopManager.initializeTopManager(TopManager.java:120) at org.openide.TopManager.getDefault(TopManager.java:81) at org.netbeans.core.Main.main(Main.java:274) at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:90) at java.lang.Thread.run(Thread.java:498) at java.lang.Throwable.<init>(Throwable.java:96) at java.lang.Exception.<init>(Exception.java:44) at java.lang.ClassNotFoundException.<init>(ClassNotFoundException.java:71) at org.openide.modules.ManifestSection.getInstance(ManifestSection.java:133) at org.openide.modules.ManifestSection$OptionSection.getOption(ManifestSecti on.java:306) at org.netbeans.core.ModuleItem$InstallIterator.processOption(ModuleItem.jav a:1117) at org.openide.modules.ManifestSection$OptionSection.invokeIterator(Manifest Section.java:315) at org.openide.modules.ModuleDescription.forEachSection(ModuleDescription.ja va:523) at org.netbeans.core.ModuleItem.restoreSection(ModuleItem.java:724) at org.netbeans.core.ModuleItem.restoreSection(ModuleItem.java:713) at org.netbeans.core.ModuleInstaller.initialize(ModuleInstaller.java:212) at org.netbeans.core.NonGui.run(NonGui.java:484) at org.netbeans.core.Main.run(Main.java:187) at org.openide.TopManager.initializeTopManager(TopManager.java:120) at org.openide.TopManager.getDefault(TopManager.java:81) at org.netbeans.core.Main.main(Main.java:274) at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:90) at java.lang.Thread.run(Thread.java:498) at java.lang.Throwable.<init>(Throwable.java:96) at java.lang.Exception.<init>(Exception.java:44) at java.lang.InstantiationException.<init>(InstantiationException.java:46) at org.openide.modules.ManifestSection$OptionSection.getOption(ManifestSecti on.java:308) at org.netbeans.core.ModuleItem$InstallIterator.processOption(ModuleItem.jav a:1117) at org.openide.modules.ManifestSection$OptionSection.invokeIterator(Manifest Section.java:315) at org.openide.modules.ModuleDescription.forEachSection(ModuleDescription.ja va:523) at org.netbeans.core.ModuleItem.restoreSection(ModuleItem.java:724) at org.netbeans.core.ModuleItem.restoreSection(ModuleItem.java:713) at org.netbeans.core.ModuleInstaller.initialize(ModuleInstaller.java:212) at org.netbeans.core.NonGui.run(NonGui.java:484) at org.netbeans.core.Main.run(Main.java:187) at org.openide.TopManager.initializeTopManager(TopManager.java:120) at org.openide.TopManager.getDefault(TopManager.java:81) at org.netbeans.core.Main.main(Main.java:274) at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:90) [catch] at java.lang.Thread.run(Thread.java:498)
On Mon, 07 May 2001 11:25:21 -0700, Roger Blumer wrote: >it looks like you had the logger module installed and either uninstalled it >or moved to a new version and haven't installed the logger module into it. >Could you let me know if that's true, and which one it is? >I think the fix is different depending on how it occurred. I installed Netbeans 3.2 beta.. I didn't uninstall Logger, I stuck to the default configuration. I ran the upgrade manager, downloaded whatever patches were available and applied them, which is exactly when the problem showed up. That's all I know .. :) Gili
I found out this was related to a typo in my OS/2 startup scripts. runideos2.cmd (version 1.6) fixes this.
Thanks for the follow-up, Gili. The startup script problem makes sense with what Jesse Glick saw as the problem: > it looks like the user had the logger module installed and either > uninstalled it or moved to a new version and hasn't installed the logger > module into it. > NoClassDefFoundError, not a ClassNotFoundException (which is OK and should only happen once and be nicely reported by projects module). Looks like modules/logger.jar is there but not lib/ext/logger.jar.
I don't understand your last sentence, please rephrase..
What the sentence implies is that somehow lib/ext/logger.jar was not getting added to the classpath, so the modules/loggerModule.jar could not find the class it needed. Since jars in lib/ext are added to the classpath by the startup script, an error in that script could cause the problem reported.