Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 173068

Summary: [Create Patch] Error creating a patch that includes binary files
Product: [Eclipse Project] Platform Reporter: Michael Valenta <Michael.Valenta>
Component: CVSAssignee: platform-cvs-inbox <platform-cvs-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P5 Keywords: helpwanted
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Michael Valenta CLA 2007-02-06 09:46:39 EST
I got an error when I tried to create a patch on an example project that had some changes to text files that were marked as binary. When I ran the operation, I got a "No differences found" prompt and the following exception. The resource in question doesn't exist.

org.eclipse.core.internal.resources.ResourceException: Resource '/a/a1/empty' does not exist.
	at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:310)
	at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:193)
	at org.eclipse.core.internal.resources.Container.members(Container.java:181)
	at org.eclipse.core.internal.resources.Container.members(Container.java:172)
	at org.eclipse.team.internal.ccvs.core.resources.SynchronizerSyncInfoCache.members(SynchronizerSyncInfoCache.java:340)
	at org.eclipse.team.internal.ccvs.core.resources.EclipseSynchronizer.members(EclipseSynchronizer.java:456)
	at org.eclipse.team.internal.ccvs.core.resources.EclipseFolder.members(EclipseFolder.java:44)
	at org.eclipse.team.internal.ccvs.core.resources.EclipseFolder.accept(EclipseFolder.java:169)
	at org.eclipse.team.internal.ccvs.core.resources.EclipseFolder.accept(EclipseFolder.java:174)
	at org.eclipse.team.internal.ccvs.core.resources.EclipseFolder.accept(EclipseFolder.java:174)
	at org.eclipse.team.internal.ccvs.ui.operations.DiffOperation.execute(DiffOperation.java:86)
	at org.eclipse.team.internal.ccvs.ui.operations.RepositoryProviderOperation.execute(RepositoryProviderOperation.java:280)
	at org.eclipse.team.internal.ccvs.ui.operations.SingleCommandOperation.execute(SingleCommandOperation.java:66)
	at org.eclipse.team.internal.ccvs.ui.operations.RepositoryProviderOperation.execute(RepositoryProviderOperation.java:256)
	at org.eclipse.team.internal.ccvs.ui.operations.RepositoryProviderOperation.execute(RepositoryProviderOperation.java:210)
	at org.eclipse.team.internal.ccvs.ui.operations.DiffOperation.execute(DiffOperation.java:61)
	at org.eclipse.team.internal.ccvs.ui.operations.ClipboardDiffOperation.execute(ClipboardDiffOperation.java:33)
	at org.eclipse.team.internal.ccvs.ui.operations.CVSOperation.run(CVSOperation.java:81)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext.run(JobRunnableContext.java:144)
	at org.eclipse.team.internal.ui.actions.JobRunnableContext$ResourceJob.runInWorkspace(JobRunnableContext.java:72)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Comment 1 Michael Valenta CLA 2007-02-06 09:48:05 EST
This may be related. Initially, I had pruning off and then turned it on. I also disconnected the project in question and reconnected it. With pruning on, I ran an update and then tried again to create the patch and it worked.
Comment 2 Eclipse Webmaster CLA 2019-09-06 16:15:10 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.
Comment 3 Eclipse Genie CLA 2022-02-10 01:16:24 EST
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.