Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 127177 - uninstalling modules broken?
uninstalling modules broken?
Status: RESOLVED DUPLICATE of bug 126602
Product: platform
Classification: Unclassified
Component: Module System
6.x
All Linux
: P1 (vote)
: TBD
Assigned To: Jesse Glick
issues@platform
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-12 07:20 UTC by kawazu428
Modified: 2008-12-23 08:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kawazu428 2008-02-12 07:20:52 UTC
So far, I haven't had much luck getting rid of modules once they are installed to my IDE. As an example, trying to
remove the Ruby support (which I do not need): Usually, "uninstallation" moves along fine, I am prompted to restart
NetBeans, which I do. Restarting the IDE, by then, ends up with dozens of exceptions (ClassNotFound, NullPointer,
FileNotFound, ...) being thrown, obviously while trying to access the features I just tried to uninstall:


WARNUNG [org.openide.loaders.InstanceNode]
java.lang.ClassNotFoundException: org.netbeans.modules.ruby.rubyproject.IrbAction
        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:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:247)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at org.openide.loaders.InstanceSupport.findClass(InstanceSupport.java:498)
        at org.openide.loaders.InstanceSupport.instanceClass(InstanceSupport.java:145)
        at org.openide.loaders.InstanceDataObject$Ser.instanceClass(InstanceDataObject.java:1159)
        at org.openide.loaders.InstanceDataObject.instanceClass(InstanceDataObject.java:695)
        at org.openide.awt.MenuBar$LazyMenu$MenuFolder.acceptCookie(MenuBar.java:630)
        at org.openide.loaders.FolderInstance.acceptDataObject(FolderInstance.java:396)
        at org.openide.awt.MenuBar$LazyMenu$MenuFolder.acceptDataObject(MenuBar.java:611)
        at org.openide.loaders.FolderInstance.defaultProcessObjects(FolderInstance.java:681)
        at org.openide.loaders.FolderInstance.access$000(FolderInstance.java:99)
        at org.openide.loaders.FolderInstance$2.run(FolderInstance.java:655)
        at org.openide.util.Task.run(Task.java:244)
[catch] at org.openide.awt.AWTTask.run(AWTTask.java:57)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at org.netbeans.core.TimeableEventQueue.dispatchEvent(TimeableEventQueue.java:104)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
WARNUNG [org.openide.loaders.FolderInstance.Menu.Window.Other]
java.lang.ClassNotFoundException: org.netbeans.modules.ruby.rubyproject.IrbAction
        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:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:247)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at org.openide.loaders.InstanceSupport.findClass(InstanceSupport.java:498)
        at org.openide.loaders.InstanceSupport.instanceClass(InstanceSupport.java:145)
        at org.openide.loaders.InstanceDataObject$Ser.instanceClass(InstanceDataObject.java:1159)
        at org.openide.loaders.InstanceDataObject.instanceClass(InstanceDataObject.java:695)
        at org.openide.awt.MenuBar$LazyMenu$MenuFolder.acceptCookie(MenuBar.java:630)
[catch] at org.openide.loaders.FolderInstance.acceptDataObject(FolderInstance.java:396)
        at org.openide.awt.MenuBar$LazyMenu$MenuFolder.acceptDataObject(MenuBar.java:611)
        at org.openide.loaders.FolderInstance.defaultProcessObjects(FolderInstance.java:681)
        at org.openide.loaders.FolderInstance.access$000(FolderInstance.java:99)
        at org.openide.loaders.FolderInstance$2.run(FolderInstance.java:655)
        at org.openide.util.Task.run(Task.java:244)
        at org.openide.awt.AWTTask.run(AWTTask.java:57)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at org.netbeans.core.TimeableEventQueue.dispatchEvent(TimeableEventQueue.java:104)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
INFO [org.netbeans.core.filesystems.MIMEResolverImpl]
java.lang.NullPointerException
        at org.netbeans.JarClassLoader$ResURLConnection.connect(JarClassLoader.java:817)
        at org.netbeans.JarClassLoader$ResURLConnection.getInputStream(JarClassLoader.java:841)
        at org.netbeans.core.startup.layers.BinaryFS$BFSFile.getInputStream(BinaryFS.java:670)
Caused: java.io.FileNotFoundException
        at org.netbeans.core.startup.layers.BinaryFS$BFSFile.getInputStream(BinaryFS.java:674)
        at org.openide.filesystems.MIMESupport$CachedFileObject.getInputStream(MIMESupport.java:284)
        at org.netbeans.core.filesystems.MIMEResolverImpl$Type.accept(MIMEResolverImpl.java:583)
        at org.netbeans.core.filesystems.MIMEResolverImpl$Type.access$1400(MIMEResolverImpl.java:458)
[catch] at org.netbeans.core.filesystems.MIMEResolverImpl$FileElement.resolve(MIMEResolverImpl.java:425)
        at org.netbeans.core.filesystems.MIMEResolverImpl$FileElement.access$100(MIMEResolverImpl.java:410)
        at org.netbeans.core.filesystems.MIMEResolverImpl$Impl.findMIMEType(MIMEResolverImpl.java:139)
        at org.openide.filesystems.MIMESupport$CachedFileObject.resolveMIME(MIMESupport.java:253)
        at org.openide.filesystems.MIMESupport$CachedFileObject.getMIMEType(MIMESupport.java:241)
        at org.openide.filesystems.MIMESupport.findMIMEType(MIMESupport.java:115)
        at org.openide.filesystems.FileUtil.getMIMETypeOrDefault(FileUtil.java:1084)
        at org.openide.filesystems.FileObject.getMIMEType(FileObject.java:489)
        at org.openide.filesystems.MultiFileObject.getMIMEType(MultiFileObject.java:573)
        at org.openide.filesystems.MultiFileObject.getMIMEType(MultiFileObject.java:573)
        at org.openide.loaders.ExtensionList.isRegistered(ExtensionList.java:167)
        at org.openide.loaders.UniFileLoader.findPrimaryFile(UniFileLoader.java:92)
        at org.apache.tools.ant.module.loader.AntProjectDataLoader.findPrimaryFile(AntProjectDataLoader.java:78)
        at org.openide.loaders.MultiFileLoader.findPrimaryFileImpl(MultiFileLoader.java:353)
        at org.openide.loaders.MultiFileLoader.handleFindDataObject(MultiFileLoader.java:96)
        at org.openide.loaders.DataObjectPool.handleFindDataObject(DataObjectPool.java:158)
        at org.openide.loaders.DataLoader.findDataObject(DataLoader.java:382)
        at org.openide.loaders.DataLoaderPool.findDataObject(DataLoaderPool.java:415)
        at org.openide.loaders.FolderList.createBoth(FolderList.java:743)
        at org.openide.loaders.FolderList.getObjects(FolderList.java:543)
        at org.openide.loaders.FolderList.access$300(FolderList.java:74)
        at org.openide.loaders.FolderList$ListTask.computeResult(FolderList.java:936)
        at org.openide.loaders.FolderList$ListTask.run(FolderList.java:914)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
INFO [org.netbeans.core.filesystems.MIMEResolverImpl]


In some situations, cleaning .netbeans/dev/var/cache/ works. In others, I have manually been cleaning anything below
.netbeans trying to remove all references to the modules in question - hardly a nice way to go. :)
Comment 1 Jiri Skrivanek 2008-02-12 15:10:20 UTC
I have faced similar issues (described in issue 127205 and issue 126991).
Comment 2 Lukas Hasik 2008-02-13 10:05:23 UTC

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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo