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.
Here comes the exception: java.lang.NullPointerException at org.netbeans.lib.cvsclient.admin.StandardAdminHandler.remov eEntry(StandardAdminHandler.java:370) at org.netbeans.lib.cvsclient.Client.removeEntry (Client.java:636) at org.netbeans.lib.cvsclient.command.remove.RemoveCommand.sen dEntryAndModifiedRequests(RemoveCommand.java:138) at org.netbeans.lib.cvsclient.command.BasicCommand.addRequestF orFile(BasicCommand.java:313) at org.netbeans.lib.cvsclient.command.BasicCommand.addRequests ForFile(BasicCommand.java:330) at org.netbeans.lib.cvsclient.command.BasicCommand.addRequests (BasicCommand.java:179) at org.netbeans.lib.cvsclient.command.BasicCommand.addFileRequ ests(BasicCommand.java:417) at org.netbeans.lib.cvsclient.command.BasicCommand.execute (BasicCommand.java:410) at org.netbeans.lib.cvsclient.command.remove.RemoveCommand.exe cute(RemoveCommand.java:110) at org.netbeans.lib.cvsclient.Client.executeCommand (Client.java:480)
Created attachment 7402 [details] Logs for API and command-line clients
This performing a remove over a file with status 'Locally Added'.
Well, the problem is in org.netbeans.lib.cvsclient.command.remove.RemoveCommand.sendEntryAndModifiedRequests() method. When isIgnoreLocallyExistingFiles() is true, the file is set to null, which will cause the NPE.
Fixed in the main trunk. /cvs/javacvs/libsrc/org/netbeans/lib/cvsclient/command/remove/RemoveCommand.java,v <-- RemoveCommand.java new revision: 1.18; previous revision: 1.17
Nothing like this happens in development build #200211131011 of NetBeans 4.0. Verified.
Hi. This issue is marked as 3.4.1_CANDIDATE. It means that it should be integrated into release341 one branch. The plan at http://www.netbeans.org/devhome/docs/releases/34/index.html expected beta1 to be produced on Dec01. That did not happen due to a lot of outstanding not integrated candidates like this one. Would it be possible to spend few minutes by backporting this fix? Thank you in advance.
Merged into release341 branch. /cvs/javacvs/libsrc/org/netbeans/lib/cvsclient/command/remove/RemoveCommand.java,v <-- RemoveCommand.java new revision: 1.17.56.1; previous revision: 1.17
Resolved for 3.4.x or earlier, no new info since then -> closing.