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.

Bug 67315 - NPE when doing CVS diff
Summary: NPE when doing CVS diff
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
: 66497 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-21 16:45 UTC by _ ttran
Modified: 2007-01-04 17:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
var/log/messages.log (238.95 KB, text/plain)
2005-10-21 16:47 UTC, _ ttran
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ ttran 2005-10-21 16:45:48 UTC
Steps to reproduce

- check out core module from NB CVS
- switch to Files tab, open the file core/launcher/unix/nbexec
- make some edits in this file
- right click on the file in explorer, CVS -> Diff.  Got quite a few exception
dialogs with "null" as a message

I will attach the log file
Comment 1 _ ttran 2005-10-21 16:47:00 UTC
Created attachment 26229 [details]
var/log/messages.log
Comment 2 _ ttran 2005-10-21 16:48:21 UTC
An idea: nbexec is not shown in project logical view.  This make makes a difference
Comment 3 _ ttran 2005-10-23 20:31:08 UTC
yet another reproducible test case: I have this file modifed locally

core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/AquaSlidingButtonUI.java 

Trying to diff it against CVS ends in repeatable NPEs

Both core and core/swing/tabcontrol are projects.  I had the latter open in the GUI

I bumped the priority to P1.  This bug blocks the normal IDE workflow.  
Comment 4 Maros Sandor 2005-10-24 13:03:36 UTC
I was able to reproduce it if I ran IDE from my local CVS workdir.

/shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ClientRuntime.java,v
 <--  ClientRuntime.java
new revision: 1.25; previous revision: 1.24
Comment 5 Maros Sandor 2005-10-24 16:04:27 UTC
*** Issue 66497 has been marked as a duplicate of this issue. ***