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 9358 - [Dev117]Can't use the cvs since checkout causes NullPointerException
Summary: [Dev117]Can't use the cvs since checkout causes NullPointerException
Status: CLOSED WORKSFORME
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 normal (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-02-02 12:29 UTC by navneet
Modified: 2007-01-04 17:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file for the null pointer exception while executing JavaCVS checkout (4.12 KB, text/plain)
2001-07-20 20:11 UTC, navneet
Details
The rogue .cvsrc file. Deleting this fixed the problem. (314 bytes, text/plain)
2001-07-20 20:11 UTC, navneet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description navneet 2001-02-02 12:29:04 UTC
Here are the steps to create it:

1. mount a JavaCVS filesystem and connect to a server. do not checkout the
files. finish the process
2. right click on the JavaCVS file system and select checkout.

The following error occurs:

*********** Exception occurred ************
Fri Feb 02 17:50:18 GMT+05:30 2001java.lang.NullPointerException: null
java.lang.NullPointerException
	at
org.netbeans.modules.cvsclient.commands.JavaCvsCommandFactory.readFromDisk
(JavaCvsCommandFactory.java:222)
	at org.netbeans.modules.cvsclient.commands.JavaCvsCommandFactory.<init>
(JavaCvsCommandFactory.java:79)
	at
org.netbeans.modules.cvsclient.commands.JavaCvsCommandFactory.getInstance
(JavaCvsCommandFactory.java:103)
	at org.netbeans.modules.cvsclient.IndependantClient.getCommandFactory
(IndependantClient.java:149)
	at org.netbeans.modules.cvsclient.commands.FileSystemCommand.loadCommand
(FileSystemCommand.java:348)
	at
org.netbeans.modules.cvsclient.commands.checkout.CvsCheckout.initCommand
(CvsCheckout.java:90)
	at org.netbeans.modules.cvsclient.commands.FileSystemCommand.run
(FileSystemCommand.java:475)
[catch] at java.lang.Thread.run(Thread.java:484)
Comment 1 navneet 2001-02-02 12:29:59 UTC
Created attachment 544 [details]
log file for the null pointer exception while executing JavaCVS checkout
Comment 2 navneet 2001-02-02 16:00:59 UTC
if a .cvsrc file exisits this problem occurs.
I fixed this problem by deleting that file. Maybe there was some error in the
file which was not resolved. Will attach that file for further investigation.
Comment 3 navneet 2001-02-02 16:01:59 UTC
Created attachment 548 [details]
The rogue .cvsrc file. Deleting this fixed the problem.
Comment 4 Jiri Kovalsky 2001-02-02 16:43:59 UTC
Yeah. That's why I couldn't reproduce it according to your instructions. P4
(normal) is appropriate I suppose.
Comment 5 Jan Chalupa 2001-03-12 10:48:11 UTC
Version: 'Dev' -> 3.2
Comment 6 Milos Kleint 2001-03-30 15:11:28 UTC
if there are no objections I'll close this bug.
Comment 7 Milos Kleint 2001-03-30 15:14:05 UTC
One more remark..
This was a bug of mine. I was writing the messages for add and commit 
commands.. which is not correct.
Currently (release32 - build 15/ development build 156) this bug is fixed.
Comment 8 dmladek 2001-06-11 10:01:08 UTC
on [NBdev-207]
Comment 9 navneet 2001-07-11 12:14:26 UTC
Works fine.