Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2003-01-29 20:44:28 +0000
committerMichael Valenta2003-01-29 20:44:28 +0000
commitd0c26c5cdf24992ebce3f71f69550546e414faca (patch)
tree927533261ebb077364153dd1f5479bbfffdd00fc
parent63e471f78282f6a2c52e866dae8341eddd9cde2f (diff)
downloadeclipse.platform.team-d0c26c5cdf24992ebce3f71f69550546e414faca.tar.gz
eclipse.platform.team-d0c26c5cdf24992ebce3f71f69550546e414faca.tar.xz
eclipse.platform.team-d0c26c5cdf24992ebce3f71f69550546e414faca.zip
30486: New: ClassCastException during shutdown
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/core/RepositoryProvider.java3
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/messages.properties2
2 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/RepositoryProvider.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/RepositoryProvider.java
index a4fe54eac..38d67518b 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/RepositoryProvider.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/RepositoryProvider.java
@@ -511,7 +511,8 @@ public abstract class RepositoryProvider implements IProjectNature {
} catch (CoreException e) {
TeamPlugin.log(e.getStatus());
} catch (ClassCastException e) {
- TeamPlugin.log(IStatus.ERROR, Policy.bind("RepositoryProvider.invalidClass", id), e); //$NON-NLS-1$
+ String className = configElements[j].getAttribute("class"); //$NON-NLS-1$
+ TeamPlugin.log(IStatus.ERROR, Policy.bind("RepositoryProvider.invalidClass", id, className), e); //$NON-NLS-1$
}
return null;
}
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/messages.properties b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/messages.properties
index b343891e8..3da7fbbe9 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/messages.properties
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/messages.properties
@@ -36,7 +36,7 @@ RepositoryProvider.propertyMismatch=Inconsistent session/persistent property sta
RepositoryProvider.linkedResourcesExist=Project ''{0}'' contains linked resources but the''{1}'' repository provider does not supported them.
RepositoryProvider.linkedResourcesNotSupported=Project ''{0}'' is mapped to repository type ''{1}'' which does not support linked resources.
RepositoryProvider.couldNotClearAfterError=A serious error has occured trying to map project ''{0}'' to provider ''{1}''. Please restart Eclipse.
-RepositoryProvider.invalidClass=The class resistered for id {0} is not a subclass of RepositoryProvider.
+RepositoryProvider.invalidClass=Class ''{1}'' resistered for id ''{0}'' is not a subclass of RepositoryProvider.
TeamPlugin_setting_global_ignore_7=setting global ignore

Back to the top