Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 202275 - Errors from backup manager in the log
Summary: Errors from backup manager in the log
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 3.0   Edit
Assignee: Robert Elves CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 158067
  Show dependency tree
 
Reported: 2007-09-05 10:07 EDT by Eugene Kuleshov CLA
Modified: 2008-06-12 15:43 EDT (History)
0 users

See Also:


Attachments
mylyn/context/zip (1.95 KB, application/octet-stream)
2007-10-17 16:29 EDT, Robert Elves CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Kuleshov CLA 2007-09-05 10:07:33 EDT
I am seeing the following entries in the Error Log view. It look really suspicious, because decoration in the task list shows that bug 194973 does have local context, so there could be some synchronization issue, i.e. backup is running in parallel with some other processes that may be updating same files.

-- Error Log --
Date: Tue Sep 04 23:51:00 EDT 2007
Message: Could not add https%3A%2F%2Fbugs.eclipse.org%2Fbugs-194973.xml.zip to zip

Severity: Info
Plugin ID: org.eclipse.mylyn
Stack Trace:
java.io.FileNotFoundException: C:\dev\workspace\.mylar\contexts\https%3A%2F%2Fbugs.eclipse.org%2Fbugs-194973.xml.zip (The system cannot find the file specified)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.eclipse.mylyn.internal.monitor.core.util.ZipFileUtil.addZipEntry(ZipFileUtil.java:176)
	at org.eclipse.mylyn.internal.monitor.core.util.ZipFileUtil.createZipFile(ZipFileUtil.java:153)
	at org.eclipse.mylyn.internal.tasks.ui.util.TaskDataExportJob.run(TaskDataExportJob.java:229)
	at org.eclipse.mylyn.internal.tasks.ui.TaskListBackupManager$ExportJob.run(TaskListBackupManager.java:220)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 1 Mik Kersten CLA 2007-09-10 16:52:58 EDT
Rob: please check and update the handling of missing files of this sort.
Comment 2 Robert Elves CLA 2007-10-17 16:29:00 EDT
Created attachment 80611 [details]
mylyn/context/zip

Had a quick look. I think recovery should be added but Eugene has a valid concern regarding concurrency that we should investigate further. Need to look into where save is taking place....
Comment 3 Robert Elves CLA 2008-06-12 15:43:35 EDT
Concurrency issues of this nature have new been addressed.