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.
Steps to reproduce: 1. Mount a CVS Client file system 2. Select a directory in the hierarchy 3. Press Ctrl-C to copy it and move up the hierarchy one level and do a Ctrl-V to paste. You will see the following exception. I haven't tried this with any other file system so can't say about them. Wed Mar 14 11:08:22 GMT+05:30 2001java.lang.NullPointerException: null Annotation: Exception occurred in Request Processor org.openide.util.RequestProcessor$Holder(task org.netbeans.core.ModuleActions$1@720541 [-3985, 1]) at org.openide.util.RequestProcessor$Task.createHolder (RequestProcessor.java:274) at org.openide.util.RequestProcessor.post(RequestProcessor.java:98) at org.openide.util.RequestProcessor.post(RequestProcessor.java:71) at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:89) at org.netbeans.core.windows.frames.NbFocusManager.processKeyStroke (NbFocusManager.java:231) at org.netbeans.core.windows.frames.NbFocusManager.processEvent (NbFocusManager.java:192) at org.netbeans.core.windows.frames.NbFocusManager$1.run (NbFocusManager.java:159) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:317) at java.awt.EventDispatchThread.pumpOneEvent (EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84) Wed Mar 14 11:08:22 GMT+05:30 2001java.lang.NullPointerException: null java.lang.NullPointerException at org.openide.loaders.ConnectionSupport.register (ConnectionSupport.java:103) at org.netbeans.modules.java.codesync.SourceConnectionSupport.unregisterDependency (SourceConnectionSupport.java:466) at org.netbeans.modules.java.codesync.SourceConnectionSupport.removeDependency (SourceConnectionSupport.java:555) at org.netbeans.modules.java.codesync.SourceConnectionSupport.refreshLinks (SourceConnectionSupport.java:377) at org.netbeans.modules.java.codesync.SourceConnectionSupport.resume (SourceConnectionSupport.java:198) at org.netbeans.modules.java.JavaDataObject.resumeSupports (JavaDataObject.java:541) at org.netbeans.modules.java.JavaDataObject.updateSource (JavaDataObject.java:534) at org.netbeans.modules.java.JavaDataObject.updateSourceStart (JavaDataObject.java:453) at org.netbeans.modules.java.JavaDataObject.handleCopy (JavaDataObject.java:573) at org.openide.loaders.DataObject$2.run(DataObject.java:469) at org.openide.filesystems.FileSystem.runAtomicAction (FileSystem.java:371) at org.openide.loaders.DataObject.copy(DataObject.java:467) at org.openide.loaders.DataFolder.handleCopy(DataFolder.java:532) at org.openide.loaders.DataObject$2.run(DataObject.java:469) at org.openide.filesystems.FileSystem.runAtomicAction (FileSystem.java:371) at org.openide.loaders.DataObject.copy(DataObject.java:467) at org.openide.loaders.DataFolder$6.handle(DataFolder.java:1433) at org.openide.loaders.DataFolder$Paste.paste(DataFolder.java:1627) at org.openide.actions.PasteAction.performAction(PasteAction.java:109) at org.openide.util.actions.CallableSystemAction.actionPerformed (CallableSystemAction.java:66) at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:76) at org.openide.util.Task.run(Task.java:124) [catch] at org.openide.util.RequestProcessor$ProcessorThread.run (RequestProcessor.java:567)
This is actually by insufficient robustness inside openide's implementation - but I can fix that too. However it pointed to a typo that caused that the IDE was not able to break a link between a class and interface even if you remove that interface from the implements clause. Thanks.
Should not occur in this situation any more.
[forgot to set resolution status] Fixed in dev-trunk, release-32
[010502_1] Bug seems to be fixed. If not, please reopen.
Target milestone -> 3.2
Works fine now.