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.
Product Version = NetBeans IDE Dev (Build 200503281924) Operating System = Mac OS X version 10.3.8 running on ppc Java; VM; Vendor = 1.4.2_05; Java HotSpot(TM) Client VM 1.4.2-38; Apple Computer, Inc. ----- Since original Apple Mac HW mouse have just one button i can't use right/left mouse click in "CVS Branches window" (CVS | Branching and Tagging | View Branches on file with branch created) and usual "right click simulation" (apple key + mouse click) doesn't work here :-( (should be same way as invoking context menu). By the way if only one revision A is selected and no revision B is selected -> NPE is thrown.
Created attachment 21174 [details] NPE
The NPE should not occur, I've reproduced it and will try to fix it. I do not know how to catch the apple key + mouse click, this would have to be explored...
The NPE is thrown even when both revisions are selected. This looks like a regression.
Fixed in trunk: /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsBranches.java,v <-- CvsBranches.java new revision: 1.3; previous revision: 1.2 /cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/commands/CvsBranchFrame.java,v <-- CvsBranchFrame.java new revision: 1.8; previous revision: 1.7
I've added an extra check to the mouse listener (for isMetaDown()), this will hopefully solve the problem on Mac.
Verified with build 200504101930. (note: its possible to select revisions on MAC now - good work :-)