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.
java.lang.ClassNotFoundException: Cannot instantiate org.netbeans.modules.debugger.ui.actions.DebuggerAction for MultiFileObject@151fe8a[Actions/Debug/org-netbeans-modules-debugger-ui-actions-ContinueAction.instance] at org.openide.loaders.InstanceSupport.instanceCreate(InstanceSupport.java:212) at org.openide.loaders.InstanceDataObject$Ser.instanceCreate(InstanceDataObject.java:1225) at org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.java:733) at org.netbeans.core.ShortcutsFolder.readShortcuts(ShortcutsFolder.java:129) at org.netbeans.core.ShortcutsFolder.refresh(ShortcutsFolder.java:92) at org.netbeans.core.ShortcutsFolder.<init>(ShortcutsFolder.java:78) at org.netbeans.core.ShortcutsFolder.initShortcuts(ShortcutsFolder.java:59) at org.netbeans.core.NonGui.initializeMainWindow(NonGui.java:187) at org.netbeans.core.NonGui.run(NonGui.java:96) at org.netbeans.core.startup.Main.start(Main.java:395) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:90) [catch] at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.InstantiationException: org.netbeans.modules.debugger.ui.actions.DebuggerAction at java.lang.Class.newInstance0(Class.java:293) at java.lang.Class.newInstance(Class.java:261) at org.openide.loaders.InstanceSupport.instanceCreate(InstanceSupport.java:201) ... 11 more ==> java.lang.InstantiationException: org.netbeans.modules.debugger.ui.actions.DebuggerAction at java.lang.Class.newInstance0(Class.java:293) at java.lang.Class.newInstance(Class.java:261) at org.openide.loaders.InstanceSupport.instanceCreate(InstanceSupport.java:201) at org.openide.loaders.InstanceDataObject$Ser.instanceCreate(InstanceDataObject.java:1225) at org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.java:733) at org.netbeans.core.ShortcutsFolder.readShortcuts(ShortcutsFolder.java:129) at org.netbeans.core.ShortcutsFolder.refresh(ShortcutsFolder.java:92) at org.netbeans.core.ShortcutsFolder.<init>(ShortcutsFolder.java:78) at org.netbeans.core.ShortcutsFolder.initShortcuts(ShortcutsFolder.java:59) at org.netbeans.core.NonGui.initializeMainWindow(NonGui.java:187) at org.netbeans.core.NonGui.run(NonGui.java:96) at org.netbeans.core.startup.Main.start(Main.java:395) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:90) [catch] at java.lang.Thread.run(Thread.java:534)
Created attachment 29539 [details] Unexpected Exception log.
Created attachment 29540 [details] Unexpected Exception
Reassigning to core, please evaluate.
Either some module (part of a debugger) is not installed or it may be a problem in the InstanceDataObject. Martin, can you evaluate it and reassign to openide/loaders if the second is the case.
Neither is true. There was an exception during the action instantiation. The important part is: Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:546) at java.util.ArrayList.get(ArrayList.java:321) at org.netbeans.modules.debugger.jpda.ui.EditorContextBridge.getContext(EditorContextBridge.java:46) Setting "isEnabled" flag right in the action creation is not nice at all, but it's another story (issue #50552). The original problem is, that Ant Debugger module is not installed: Warning - could not install some modules: [snip] Ant Debugger - The module Ant would also need to be installed. [snip] JPDA debugger is not functional without Ant Debugger. There is missing module dependency.
Oops, sorry, the problematic missing module is not "Ant Debugger", but: JPDA Debugger Ant Task - The module Ant would also need to be installed. *** This issue has been marked as a duplicate of 73496 ***
It looks like you did something wrong to jdesktop module, didn't you?
Well, it's not a dupl. in fact! The IDE does not start even when debugger is not involved => this is not a debugger issue.
Created attachment 29849 [details] Messages log without Debugger intervention after the debugger dependencies are fixed.
It looks like the last exception is fatal: java.lang.NullPointerException at org.openide.util.io.FoldingIOException.printStackTrace(FoldingIOException.java:46) Anyway, the IDE is in a really *BAD* state even if it starts up. It may an issue of jdesktop module... I do not understand how did it disappeared.
Logs are full of interesting messages. If I got it right messages.log.1 start with first run of NB5.0 where old settings are imported and there is something wrong with form(s?) that cannot loaded. Than there is another serious problem: [WARNING] Warning: Class-Path value ext/swing-layout-1.0.jar from C:\Program Files\netbeans-5.0\platform6\modules\org-jdesktop-layout.jar cannot be found at C:\Program Files\netbeans-5.0\platform6\modules\ext\swing-layout-1.0.jar I do not know if there was some attempt to fix this manualy but one of later session is compeletely broken and org.jdesktop.layout module cannot be loaded and transitively disabled large set of other modules and causes CNFE mentioned at the beggining of report. Before this there are also some messages from MDR (was the MDR cache deleted?). Can we get more information how did this can happen? And then probably we need to start another round of evaluation in form module.
The attached logs contain many exceptions, but without additional information from the reporter we can't do anything I'm afraid... It simply looks like somebody deleted swing-layout-1.0.jar.