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.
Happening relatively often -> P2. Also at least NPE itself should be easy to fix.
Created attachment 31067 [details] NPE
Cannot be reproduced easily. Can you be more specific about your actions. Where do you invoke Update from an on what context? Does it finish normally or do you cancel the command? Does it throw any other (CVS) error?
If I reproduce again I can bring more information (had been on vacation for last 10 days). But in the case of NPE you could at least use e.g. some kind of assertion or some logging. Next time we would be more clever.
release55 branch - fresh build 1) Create EAR project with EJB 2) Delete EJB project 3) Show changes on broken EAR project One of scenario when did it happen to me. Attaching new stacktrace with new line numbers.
Created attachment 31961 [details] npe1
forgotten step: 1.5) commit EAR project into CVS repository
Happened often also with project in NB_CVS (j2ee/utilities this time). The same stacktrace.
I wonder who keeps interrupting CVS threads. I assume you are not cancelling updates manually.
> I assume you are not cancelling updates manually. No. Often happen when I do CVS -> Update from Menu. When I get rid of exception dialog and do the same again it passes seamlessly.
I know how to fix this but then some other exception will pop up saying the command failed because its I/O was interrupted. Big improvement for me but will that be improvement for you?
Feel free to mark this fixed if you get rid of NPE and file a new issue (please add me to CC list) which you encounter and then fix them. Not sure what exactly are you asking me ;)
This was a bit philosophical question ... I fix this and you will then open a new issue because the command will still fail but for some other reason ;-)
Fixed thread synchronization. javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ExecutorSupport.java 1.47 javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/CommandRunnable.java 1.17
Created attachment 33320 [details] NPE2
I did the Menu -> CVS -> "Show Changes" on project which was commited before from command-line, but probably not so important. Just another RANDOM conditions come together. Seems to be very similar stacktrace, which is strange...
PS: today's morning own fresh build from trunk
Ok, let's fix it by checking for the NPE, it is harmless anyway in this scenario. /shared/data/ccvs/repository/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/actions/update/UpdateExecutor.java,v <-- UpdateExecutor.java new revision: 1.24; previous revision: 1.23