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 67744 - [50cat] CNFE after de-activating Experimental Refactorings
Summary: [50cat] CNFE after de-activating Experimental Refactorings
Status: RESOLVED DUPLICATE of bug 66845
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-28 22:12 UTC by ieising
Modified: 2008-12-22 20:37 UTC (History)
1 user (show)

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 ieising 2005-10-28 22:12:23 UTC
[ BUILD # : 200510122200 ]
[ JDK VERSION : 1.5.0_04 ]

Hi,

After de-activating experimental refactorings I get following exception.

Annotation: From file: MultiFileObject@1334b1a[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)

Iwan
Comment 1 Jan Becicka 2005-10-31 07:22:24 UTC
This issue has nothing to do with refactoring module. Please evaluate.
Comment 2 Marian Mirilovic 2005-10-31 09:53:46 UTC
Yarda, 
another CNFE from InstanceSupport.findClass . Probably the same reason as for
issue 66169 .
Comment 3 Jaroslav Tulach 2005-11-01 08:09:22 UTC
Where you get the exception? In a dialog or in a log file?  
 
Imho you have created a shortcut for an action provided by a module that you 
have uninstalled then. It is ok to get warnings in log file in such 
situations. If you are searching for workaround, feel free to remove the file 
from $userdir/config/... by hand. 
Comment 4 ieising 2005-11-01 08:22:44 UTC
I get the exception as soon as I have unchecked the module and close the Module
Manager dialog. The exception is shown in one of those dialogs you get when an
exception is thrown, I didn't have to check the log file for it.

I didn't create any shortcuts for the action, so I don't think that is relevant.

Iwan
Comment 5 Marian Mirilovic 2005-11-01 10:30:14 UTC
reopen, looks like dup of issue 66845, at least the stack trace is the same
Comment 6 Marian Mirilovic 2005-11-01 10:30:34 UTC

*** This issue has been marked as a duplicate of 66845 ***