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.
using Build 200109180940: With clear user directory I mounted 3 build-in cvs filesystems. Then I tried to open the Versioning/VCS Groups menu item or attempted to invoke the popup menu on any of the files in the filesystem. I get an exception (see atachement) The problem is in the GroupUtils class line 54: InstanceDataObject ido = (InstanceDataObject)dobj; InstanceCookie cook = (InstanceCookie)ido.getCookie(InstanceCookie.class); root = (MainVcsGroupNode)ido.getNodeDelegate(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ It's there since I created the class and was always working: Please fix it or tell me how to change my code. Thanks. PS: I tried twice in a row with the same results.
Created attachment 2582 [details] exception thrown.
*** Issue 15606 has been marked as a duplicate of this issue. ***
The behavior of InstanceDataNode.getNodeDelegate is intentional, see Jesse's message http://www.netbeans.org/servlets/ReadMsg?msgId=80933&listName=nbdev . If the IDO represents the instance of your node, call instanceCreate() on the InstanceCookie returned by the IDO. Your code looks like you wanted to write: root = (MainVcsGroupNode)cook.createInstance ();
O.K., so the problem seems to be in vcscore module.
Fixed now in GroupUtils.java as Vita suggested. The fix works right to me, therefore I supposed that it's fixed.
Popup menu is back and works. Verified in development build of Net- Beans 3.3 #200109200100.
Resolved for 3.4.x or earlier, no new info since then -> closing.