Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356691 - Getting resolutions fails in Turkish Locale
Summary: Getting resolutions fails in Turkish Locale
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: buckminster.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-04 18:39 EDT by Tankut Koray CLA
Modified: 2019-02-25 14:41 EST (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 Tankut Koray CLA 2011-09-04 18:39:16 EDT
Build Identifier: 

When buckminster is trying to get resolutions, it fails with the error given below. Please notice, in exception message it says "PLUGİN" which is not the same as "PLUGIN" in Turkish locale. When making an uppercase, English locale should be forced.

3004: Unexpected error occurred.
  java.lang.IllegalArgumentException: No enum const class org.eclipse.buckminster.pde.internal.EclipsePlatformVersionFinder$InstalledType.PLUGİN
  	at java.lang.Enum.valueOf(Unknown Source)
  	at org.eclipse.buckminster.pde.internal.EclipsePlatformVersionFinder$InstalledType.valueOf(EclipsePlatformVersionFinder.java:1)
  	at org.eclipse.buckminster.pde.internal.EclipsePlatformVersionFinder.<init>(EclipsePlatformVersionFinder.java:51)
  	at org.eclipse.buckminster.pde.internal.EclipsePlatformReaderType.getVersionFinder(EclipsePlatformReaderType.java:194)
  	at org.eclipse.buckminster.core.rmap.model.Provider.findMatch(Provider.java:219)
  	at org.eclipse.buckminster.core.resolver.LocalResolver.localResolve(LocalResolver.java:330)
  	at org.eclipse.buckminster.core.metadata.WorkspaceInfo.resolveLocal(WorkspaceInfo.java:610)
  	at org.eclipse.buckminster.core.metadata.WorkspaceInfo.getResolution(WorkspaceInfo.java:465)
  	at org.eclipse.buckminster.core.metadata.WorkspaceInfo.getResolution(WorkspaceInfo.java:412)
  	at org.eclipse.buckminster.core.metadata.WorkspaceInfo.getAllResolutions(WorkspaceInfo.java:186)
  	at org.eclipse.buckminster.ui.providers.ResolutionsTreeContentProvider$AllResolutionsNode.createNode(ResolutionsTreeContentProvider.java:52)
  	at org.eclipse.buckminster.generic.model.tree.PendingTreeDataNode$1.run(PendingTreeDataNode.java:52)
  	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Reproducible: Always

Steps to Reproduce:
1. On startup, if buckminster is installed
2.
3.
Comment 1 Thomas Hallgren CLA 2011-09-10 05:15:45 EDT
All references to toUpperCase() and toLowerCase() are now using Locale.ENGLISH.

Fixed in http://git.eclipse.org/c/buckminster/buckminster.git/commit/?id=e5169f79ce5a7b8c415fde90cf368924b3dd7856