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.
[ BUILD # : 200510122200 ] [ JDK VERSION : 1.5.0_04 ] Here's the stack trace. I get it consistently when starting NetBeans. Annotation: From file: MultiFileObject@1146a9a[nbfs://nbhost/SystemFileSystem/Keymaps/NetBeans/CA-Y.instance] java.lang.ClassNotFoundException: com.xpdev.refactory.netbeans.common.action.RedoNBAction at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.netbeans.ProxyClassLoader.loadInOrder(ProxyClassLoader.java:576) at org.netbeans.ProxyClassLoader.smartLoadClass(ProxyClassLoader.java:525) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:157) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.openide.loaders.InstanceSupport.findClass(InstanceSupport.java:475) at org.openide.loaders.InstanceSupport.instanceClass(InstanceSupport.java:125) at org.openide.loaders.InstanceDataObject$Ser.instanceClass(InstanceDataObject.java:1164) at org.openide.loaders.InstanceSupport.instanceCreate(InstanceSupport.java:195) at org.openide.loaders.InstanceDataObject$Ser.instanceCreate(InstanceDataObject.java:1219) at org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.java:727) at org.netbeans.core.ShortcutsFolder.readShortcuts(ShortcutsFolder.java:117) at org.netbeans.core.ShortcutsFolder.refresh(ShortcutsFolder.java:100) 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:386) at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:90) [catch] at java.lang.Thread.run(Thread.java:595)
Created attachment 25964 [details] Relevant log-file
It looks like, you upgraded to new version, didn't you ?
I think soo too. The missing class has never been part of any NetBeans distribution. The reporter seems to have been using a 3rd party module and now is trying to reuse an old userdir with a new installation of NetBeans. This installation apparently doesn't include the 3rd party module. Deleting the ${userdir}/config/Keymaps folder should fix the problem.
Actually I installed in a brand new directory using a brand new userdir. But I did install my NB41 settings when asked. After downloading CollabModules and ExperimentalRefactorings and CVS-Refactoring support module I didn't receive ClassNotFoundException anymore.
Hmm, then it does sound like a bug. Re-opening. Hanzi, anything you can do about it?
*** Issue 67744 has been marked as a duplicate of this issue. ***
Too late to fix in NB5.0.
*** Issue 70192 has been marked as a duplicate of this issue. ***
*** Issue 70214 has been marked as a duplicate of this issue. ***
*** Issue 72259 has been marked as a duplicate of this issue. ***
*** Issue 72303 has been marked as a duplicate of this issue. ***
*** Issue 72350 has been marked as a duplicate of this issue. ***
*** Issue 72234 has been marked as a duplicate of this issue. ***
It would be nice to fix this issue for NB 5.5 , 6 duplicates in 3 days ;(
ShortcutsFolder-> core team
there is no "big" problem in code. We should only decide, if this CNFException should be written to console, or not.
*** Issue 73010 has been marked as a duplicate of this issue. ***
*** Issue 72901 has been marked as a duplicate of this issue. ***
Checking in test/unit/src/org/netbeans/core/ShortcutsFolder66845Test.java; /cvs/core/test/unit/src/org/netbeans/core/ShortcutsFolder66845Test.java,v <-- ShortcutsFolder66845Test.java initial revision: 1.1 done Checking in src/org/netbeans/core/ShortcutsFolder.java; /cvs/core/src/org/netbeans/core/ShortcutsFolder.java,v <-- ShortcutsFolder.java new revision: 1.41; previous revision: 1.40
*** Issue 72674 has been marked as a duplicate of this issue. ***
Yarda, please merge the fix to the NB 5.5. Thanks in advance.
*** Issue 69675 has been marked as a duplicate of this issue. ***
*** Issue 74388 has been marked as a duplicate of this issue. ***
http://core.netbeans.org/source/browse/core/src/org/netbeans/core/ShortcutsFolder.java?r1=1.25.6.3&r2=1.25.6.3.2.1
*** Issue 72238 has been marked as a duplicate of this issue. ***
*** Issue 75307 has been marked as a duplicate of this issue. ***
*** Issue 75400 has been marked as a duplicate of this issue. ***
Since even the stack trace is frightening (see issue #76973), I have patched it further in the trunk to just print a one-line warning. ShortcutsFolder.java 1.43 ShortcutsFolder66845Test.java 1.3
I received a similar error. I had just upgraded from 4.1 to 5.0 and started 5.0 for the first time from the install-created desktop icon. It may also be similar to a refactoring issue posted to the list once. Here is the stack trace I got. Annotation: From file: MultiFileObject@dfbabd[Keymaps/NetBeans/CA-Y.instance] java.lang.ClassNotFoundException: com.xpdev.refactory.netbeans.common.action.RedoNBAction at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.netbeans.ProxyClassLoader.loadInOrder(ProxyClassLoader.java:576) at org.netbeans.ProxyClassLoader.smartLoadClass(ProxyClassLoader.java:525) at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:157) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.openide.loaders.InstanceSupport.findClass(InstanceSupport.java:475) at org.openide.loaders.InstanceSupport.instanceClass(InstanceSupport.java:125) at org.openide.loaders.InstanceDataObject$Ser.instanceClass(InstanceDataObject.java:1170) at org.openide.loaders.InstanceSupport.instanceCreate(InstanceSupport.java:195) 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:111) 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:595) ------- Additional comments from jglick Mon Jun 12 17:34:40 +0000 2006 ------- gglazer, com.xpdev.refactory is some unrelated module which you apparently have KB shortcuts for but no such module is installed. Not relevant to this issue. ------- Additional comments from gglazer Tue Jun 13 17:20:27 +0000 2006 ------- Could you open a new issue, then? Thanks. ------- Additional comments from jglick Tue Jun 13 20:18:40 +0000 2006 ------- Re. separate issue - I already have a patch to make warnings about unloadable shortcuts quieter. Other than that, there's not much to do - you seem to have shortcuts for a third-party module that is not installed. ------- Additional comments from gglazer Tue Jun 13 21:10:42 +0000 2006 ------- Okay, so having not poked around with the keyboard options at all, I wasn't even aware of nb shortcuts. I certainly didn't set them, so this was either in my previous install or perhaps set during an update. That said, removing the cntl-y shortcuts from the various profiles Refactor -> Redo made the message go away. What confuses me about this is that there are other shortcuts under Refactor (e.g., ExtractMethod, Rename, etc.) which have shortcuts assigned and they do not throw this exception.
*** Issue 89002 has been marked as a duplicate of this issue. ***