Bug 84200 - [Operations] Error when updating files containing merge markup
Summary: [Operations] Error when updating files containing merge markup
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2005-02-01 20:55 EST by MG CLA
Modified: 2019-09-06 15:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MG CLA 2005-02-01 20:55:31 EST
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.
Comment 1 Michael Valenta CLA 2005-02-02 09:18:08 EST
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.
Comment 2 MG CLA 2005-02-02 13:51:01 EST
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.
Comment 3 Michael Valenta CLA 2005-02-02 13:55:50 EST
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
Comment 4 MG CLA 2005-02-02 16:12:24 EST
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.
Comment 5 MG CLA 2005-02-02 16:29:59 EST
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.
Comment 6 Michael Valenta CLA 2005-02-02 16:40:54 EST
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?
Comment 7 MG CLA 2005-02-02 16:58:06 EST
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.
Comment 8 MG CLA 2005-02-02 17:03:11 EST
We are using 1.11.6 as our cvs server.
Comment 9 Michael Valenta CLA 2005-02-02 17:06:42 EST
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.
Comment 10 MG CLA 2005-02-02 17:14:38 EST
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
Comment 11 MG CLA 2005-02-02 17:30:47 EST
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.


Comment 12 Michael Valenta CLA 2005-02-07 13:55:32 EST
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.
Comment 13 Mauro Molinari CLA 2008-11-03 04:32:11 EST
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.
Comment 14 Eclipse Webmaster CLA 2019-09-06 15:31:58 EDT
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.