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.
This is a regression. Steps to reproduce: - modify Welcome sample in the following way #include <iostream> void go(); int main(int argc, char**argv) { // Prints welcome message... go(); // Prints arguments... if (argc > 1) { std::cout << std::endl << "Arguments:" << std::endl; for (int i = 1; i < argc; i++) { std::cout << i << ": " << argv[i] << std::endl; } } return 0; } void go(){ std::cout << "Welcome ..." << std::endl; } - in Navigator window call context menu on "go()" or main() and choose "Change Function Parameters..." Result: "Change Function Parameters" window reports "Cannot refactor unresolved elements" error.
fixed: http://hg.netbeans.org/cnd-main/rev/4314e6225d4e
Integrated into 'main-golden', will be available in build *201205250002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4314e6225d4e User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed #212892 - Cannot refactor unresolved elements on Change Function parameters from Navigator - lookup can not be "fixed", so introduced InstanceContent based lookup and replace object when node does resetNode activity