Bug 20056 - preferences not being saved
Summary: preferences not being saved
Status: RESOLVED DUPLICATE of bug 18644
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-12 14:06 EDT by Carl McConnell CLA
Modified: 2002-06-12 14:29 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl McConnell CLA 2002-06-12 14:06:33 EDT
(This is in F2.) AbstractUIPlugin.shutdown() does not save preferences when the 
plugin state directory <Eclipse>/.metadata/.plugins/<plugin> doesn't already 
exist at shutdown time. This is because the missing directory produces an IO 
exception in the SafeFileOutputStream constructor, shown in the stack trace 
below.

org.eclipse.core.internal.runtime.SafeFileOutputStream.<init>(java.lang.String, 
java.lang.String) line: 42
org.eclipse.core.internal.runtime.SafeFileOutputStream.<init>(java.io.File) 
line: 32
com.instantiations.assist.eclipse.collaboration.CodeProCollaborationPlugin
(org.eclipse.core.runtime.Plugin).savePluginPreferences() line: 461
com.instantiations.assist.eclipse.collaboration.CodeProCollaborationPlugin
(org.eclipse.ui.plugin.AbstractUIPlugin).savePreferenceStore() line: 769
com.instantiations.assist.eclipse.collaboration.CodeProCollaborationPlugin
(org.eclipse.ui.plugin.AbstractUIPlugin).shutdown() line: 793
com.instantiations.assist.eclipse.collaboration.CodeProCollaborationPlugin.shutd
own() line: 76
Comment 1 DJ Houghton CLA 2002-06-12 14:29:29 EDT

*** This bug has been marked as a duplicate of 18644 ***