Community
Participate
Working Groups
After doing an update I constantly get cvs error reported with no info. I see this stack trace over and over again. !ENTRY org.eclipse.jdt.core 4 4 2005-02-01 17:29:49.51 !MESSAGE JavaBuilder handling CoreException !STACK 1 org.eclipse.core.internal.resources.ResourceException: File not found: c:\mystuff\projects\branch\classes\com\x\y\z\w\v\FilterComparator$GtEqToQueryBuilder.class. at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:521) at org.eclipse.core.internal.resources.File.getContents(File.java:263) at org.eclipse.jdt.internal.core.util.Util.getResourceContentsAsByteArray(Util.java:996) at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileCheck(IncrementalImageBuilder.java:628) at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.writeClassFileBytes(IncrementalImageBuilder.java:600) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.writeClassFile(AbstractImageBuilder.java:449) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.acceptResult(AbstractImageBuilder.java:127) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:341) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:215) at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:188) at org.eclipse.jdt.internal.core.builder.IncrementalImageBuilder.build(IncrementalImageBuilder.java:113) at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildDeltas(JavaBuilder.java:223) at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:151) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:574) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:158) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:192) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:221) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:747) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:224) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:243) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:272) at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:198) at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:190) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66) !SUBENTRY 1 org.eclipse.core.resources 4 271 2005-02-01 17:29:49.51 !MESSAGE File not found: c:\mystuff\projects\branch\classes\classes\com\x\y\z\w\v\FilterComparator$GtEqToQueryBuilder.class.
The trace is coming from the JDT builder. You may want to log a bug report against JDT Core for that. As for the CVS problem, can you give any more details? At least, please let me know the text of the error message. Without more details, there is not much we can do.
The message that I get is: "The server reported an error while performing the "cvs update" command." and the message in the log is: !ENTRY org.eclipse.team.cvs.core 4 -10 2005-02-01 18:02:33.871 !MESSAGE The server reported an error while performing the "cvs update" command. !SUBENTRY 1 org.eclipse.team.cvs.core 4 -10 2005-02-01 18:02:33.871 !MESSAGE The server did not provide any additional information. I used to get this problem when markers were inserted into a non-java file which is not detectable as being bad syntax by the java builder and which I didn't notice and then later on doing another update where that same file was modified the cvs process would then fail with this message. I haven't been able to find any files in my project that fall under this condition now tho... not sure if you guys have fixed the marker issues.
Is there anything is the CVS Console? Also, could you follwo the steps at this URL to get a communications trace of when the failure occurs? http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-vcm- home/docs/online/cvs_features2.0/cvs-faq.html#misc_0
Here is the cvs console output: ... cvs server: Updating ... cvs server: Updating v/w/x/y/z/u The server reported an error while performing the "cvs update" command. (took 2:30.203) Error: The server did not provide any additional information. *** I'll try out that command and see what I get.
Here is the output from the consolelog. Clear-static-directory u/v/w/x/y/z/ /cvs/module/submodule/u/v/w/x/y/z/ E cvs server: Updating u/v/w/x/y/z/ error RESULT> Status ERROR: org.eclipse.team.cvs.core code=-10 The server reported an error while performing the "cvs update" command. null children=[Status ERROR: or g.eclipse.team.cvs.core code=-10 The server did not provide any additional infor mation. null] !ENTRY org.eclipse.team.cvs.core 4 -10 2005-02-02 13:27:21.266 !MESSAGE The server reported an error while performing the "cvs update" command. !SUBENTRY 1 org.eclipse.team.cvs.core 4 -10 2005-02-02 13:27:21.266 !MESSAGE The server did not provide any additional information.
That appears to be the last half (ie. what the server sent the client). Could you increase the scrollback of your console and get the complete trace? Also, what CVS server version are you using?
You want 3 minutes of console output that would look like: /cvs/x/y/z/ E cvs server: Updating x Clear-static-directory y repeated for all the resources in the repository? or is there anything more specific I could send you? Here is another end tag... with some more information this time. RESULT> Status ERROR: org.eclipse.team.cvs.core code=-10 The server reported an error while performing the "cvs update" command. null children=[Status ERROR: or g.eclipse.team.cvs.core code=-10 The server did not provide any additional infor mation. null] !SESSION 2005-02-02 13:53:22.289 ----------------------------------------------- eclipse.buildId=I20041216-2000 java.version=1.4.2_03 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA Command-line arguments: -os win32 -ws win32 -arch x86 -data c:\mystuff\projects -debug -consolelog !ENTRY org.eclipse.team.cvs.core 4 -10 2005-02-02 13:53:22.304 !MESSAGE The server reported an error while performing the "cvs update" command. !SUBENTRY 1 org.eclipse.team.cvs.core 4 -10 2005-02-02 13:53:22.304 !MESSAGE The server did not provide any additional information.
We are using 1.11.6 as our cvs server.
I need to see what the client is sending to the server and what the server is sending back. Without it, there is nothing I can do. I have never seen a situation where the server sends an error response without sending a corresponding message that indicates what the problem is. Have a look yourself through the trace and see if there are any lines that start with M or E. If you find some, please post them here.
E seems to be the normal and is prefix at every update like the following: E cvs server: Updating t/u/v/w Clear-static-directory t/u/v/w/u/ /cvs/vista/webct/t/u/v/w/u/ E cvs server: Updating t/u/v/w/u Clear-static-directory t/u/v/w/u/x/ /cvs/vista/webct/t/u/v/w/u/x/ E cvs server: Updating t/u/v/w/u/x Clear-static-directory t/u/v/w/u/y/ /cvs/vista/webct/t/u/v/w/u/y/ E cvs server: Updating t/u/v/w/u/y Clear-static-directory t/u/v/w/u/yjsp/ /cvs/vista/webct/t/u/v/w/u/yjsp/ E cvs server: Updating t/u/v/w/u/yjsp error RESULT> Status ERROR: org.eclipse.team.cvs.core code=-10 The server reported an error while performing the "cvs update" command. null children=[Status ERROR: or g.eclipse.team.cvs.core code=-10 The server did not provide any additional infor mation. null] !SESSION 2005-02-02 14:11:10.743 ----------------------------------------------- I am increaseing the buffersize to see if I can capture the full thing
Fixed it. It was a marker problem causing it. This is what the console showed: E cvs server: Updating x MT text C MT fname x/z.xml MT newline The following was in the file <<<<<<< z.xml Replacing that file with latest from repository fixed the problem. Guess the marker issues aren't fixed. Also the cvs console in the window->preferences claims that red is error and yet that is the color associated with almost all output from the cvs console even when there is no problem.
The error handling problem is just part of CVS. Normally when an error return code is sent, there have been E messages that describe the problem. In some select cases like this one, only an M message describes the problem. Also, I don't know why the "Updating" messages are error messages. Unfortunately, it's something we have to live with. As for the merge markup that is causing the error, we shoould definitely give better error feedback in this case. However, due to the infrequency of the problem, it is not a high priority.
Recently I encountered this problem twice (one right now). Apart from the fact that this is not user-friendly, it's hard to determine which is the file that causes the problem. I cannot either issue a synchronize nor an update, because Eclipse always give the "the server did not provide any additional information" error. It would be very useful is at least Eclipse said which is the file that is causing problems... Could the priority of this bug report be increased? Thanks, Mauro.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.