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.
Try renaming a full remote project (with "also rename directory" check on). Get a stable NPE java.lang.NullPointerException at org.netbeans.modules.cnd.makeproject.MakeProjectOperations.notifyMoved(MakeProjectOperations.java:192) at org.netbeans.spi.project.support.ProjectOperations.notifyMoved(ProjectOperations.java:221) at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation.doMoveProject(DefaultProjectOperationsImplementation.java:515) at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation$4.execute(DefaultProjectOperationsImplementation.java:360) at org.netbeans.modules.project.uiapi.DefaultProjectOperationsImplementation$6$1.run(DefaultProjectOperationsImplementation.java:649) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
That's just to not forget: there is a change set in cnd-main that is somehow related: http://hg.netbeans.org/cnd-main/rev/37293f8c1a73
Now now NPE is thrown, just the message "Cannot rename project, reason: null" is shown.
Fixed in cnd-main: http://hg.netbeans.org/cnd-main/rev/a43e95b1745a Haven't yet transplanted into blacktie!
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/a43e95b1745a User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #206634 - NPE when renaming a full remote project
blacktie: rev/44afe3db3d16
Fix was reviewed. It is ok as fix up for NB 7.1. Please provide another fix for NB 7.2.
verified in OSS IDE build 5.
Integrated into release71_fixes: http://hg.netbeans.org/releases/rev/339bdaa04ee9
Integrated into 'releases', will be available in build *201202082200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/339bdaa04ee9 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixed #206634 - NPE when renaming a full remote project (transplanted from a43e95b1745a9408e59e0821250355b8a54dc11e)
renaming a project together with the folder in nb7.1.1 rc1 build 20120214 causes the following exceptions: java.lang.NullPointerException at org.openide.nodes.EntrySupport$Lazy.removeEntries(EntrySupport.java:1800) at org.openide.nodes.EntrySupport$Lazy.setEntries(EntrySupport.java:1411) at org.openide.nodes.EntrySupport.setEntries(EntrySupport.java:102) at org.openide.nodes.FilterNode$Children$LazySupport.updateEntries(FilterNode.java:1841) at org.openide.nodes.FilterNode$Children$LazySupport.access$500(FilterNode.java:1720) at org.openide.nodes.FilterNode$Children$LazySupport$1.run(FilterNode.java:1816) at org.openide.util.Mutex.postRequest(Mutex.java:1267) at org.openide.util.Mutex.postRequest(Mutex.java:1213) at org.openide.util.Mutex.postWriteRequest(Mutex.java:585) at org.openide.nodes.FilterNode$Children$LazySupport.update(FilterNode.java:1813) at org.openide.nodes.FilterNode$Children$LazySupport.filterChildrenReordered(FilterNode.java:1801) at org.openide.nodes.FilterNode$Children.filterChildrenReordered(FilterNode.java:1594) at org.openide.nodes.FilterNode$ChildrenAdapter.childrenReordered(FilterNode.java:2000) at org.openide.nodes.Node.fireReorderChange(Node.java:1198) at org.openide.nodes.EntrySupport$Lazy.updateOrder(EntrySupport.java:1520) at org.openide.nodes.EntrySupport$Lazy.setEntries(EntrySupport.java:1416) at org.openide.nodes.EntrySupport.setEntries(EntrySupport.java:102) at org.openide.nodes.Children$Keys$2.run(Children.java:1555) at org.openide.util.Mutex$1Exec.run(Mutex.java:1244) at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1920) at org.openide.util.Mutex.postRequest(Mutex.java:1250) at org.openide.util.Mutex.postRequest(Mutex.java:1213) at org.openide.util.Mutex.postWriteRequest(Mutex.java:585) at org.openide.nodes.Children$Keys.applyKeys(Children.java:1564) at org.openide.nodes.Children$Keys.setKeys(Children.java:1508) at org.openide.loaders.FolderChildren.access$600(FolderChildren.java:73) at org.openide.loaders.FolderChildren$1R.run(FolderChildren.java:188) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991) java.lang.ArrayIndexOutOfBoundsException: 44 at org.openide.nodes.EntrySupport$Lazy.updateOrder(EntrySupport.java:1493) at org.openide.nodes.EntrySupport$Lazy.setEntries(EntrySupport.java:1416) at org.openide.nodes.EntrySupport.setEntries(EntrySupport.java:102) at org.openide.nodes.FilterNode$Children$LazySupport.updateEntries(FilterNode.java:1841) at org.openide.nodes.FilterNode$Children$LazySupport.access$500(FilterNode.java:1720) at org.openide.nodes.FilterNode$Children$LazySupport$1.run(FilterNode.java:1816) [catch] at org.openide.util.Mutex.leaveImpl(Mutex.java:906) at org.openide.util.Mutex.leave(Mutex.java:839) at org.openide.util.Mutex$Privileged.exitReadAccess(Mutex.java:1669) at org.openide.nodes.Node.fireSubNodesChangeIdx(Node.java:1176) at org.openide.nodes.EntrySupport$Lazy.fireSubNodesChangeIdx(EntrySupport.java:1550) at org.openide.nodes.EntrySupport$Lazy.setEntries(EntrySupport.java:1456) at org.openide.nodes.EntrySupport.setEntries(EntrySupport.java:102) at org.openide.nodes.Children$Keys$2.run(Children.java:1555) at org.openide.util.Mutex$1Exec.run(Mutex.java:1244) at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1920) at org.openide.util.Mutex.postRequest(Mutex.java:1250) at org.openide.util.Mutex.postRequest(Mutex.java:1213) at org.openide.util.Mutex.postWriteRequest(Mutex.java:585) at org.openide.nodes.Children$Keys.applyKeys(Children.java:1564) at org.openide.nodes.Children$Keys.setKeys(Children.java:1508) at org.openide.loaders.FolderChildren.access$600(FolderChildren.java:73) at org.openide.loaders.FolderChildren$1R.run(FolderChildren.java:188) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)
This is logged as NetBeans platform issues: issue 208497, issue 208587 and issue 208588 (all from exception reports - I guess two of them are just duplicates)
So I mark the issue as verified in patch.
Verified with automatic tests in OSS IDE built on NB 7.0.1 patch3