Bug 31598 - [Key Bindings] Eclipse fails to launch with Turkish Locale
Summary: [Key Bindings] Eclipse fails to launch with Turkish Locale
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P1 blocker (vote)
Target Milestone: 2.1 RC1   Edit
Assignee: Chris McLaren CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-11 16:56 EST by Doumit Ishak CLA
Modified: 2003-02-18 01:29 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doumit Ishak CLA 2003-02-11 16:56:25 EST
OS: Win 2k
Eclipse Build: Stable Build (M5)
JRE Version: JRE 1.4 IBM build and IBM JRE 1.3.1

Abstract: Cannot launch Eclipse with Turkish locale

Re-produce steps:
1. Change Regional Options to Turkish
2. Launch Eclipse

Expected Result: Eclipse should start up.

Execution Result:
1. Splash screen is displayed and freezes.
2. No log file is created.

Comments:
1. This problem occurs with both IBM JRE1.3.1 and JRE1.4.0.
2. This problem does not occur for stable build M4.
Comment 1 Rafael Chaves CLA 2003-02-11 17:56:51 EST
I added a System.in.read() so I could read the stack trace that is written to 
the console screen before it closes. It looks like a Platform/UI issue (I don't 
have rights to reassign). However, I think also the BootLoader could catch 
RuntimeExceptions and log then.

java.lang.NullPointerException
        at org.eclipse.ui.internal.commands.KeyBinding.compareTo(KeyBinding.java
:48)
        at java.util.TreeMap.compare(TreeMap.java:1042)
        at java.util.TreeMap.put(TreeMap.java:444)
        at java.util.TreeSet.add(TreeSet.java:193)
        at org.eclipse.ui.internal.commands.KeyNode.solvePluginMap(KeyNode.java:
125)
        at org.eclipse.ui.internal.commands.KeyNode.solveStateMap(KeyNode.java:1
41)
        at org.eclipse.ui.internal.commands.KeyNode.solveStateMap(KeyNode.java:1
61)
        at org.eclipse.ui.internal.commands.KeyNode.solve(KeyNode.java:86)
        at org.eclipse.ui.internal.commands.KeyMachine.solve(KeyMachine.java:312
)
        at org.eclipse.ui.internal.commands.KeyMachine.getMatchSet(KeyMachine.ja
va:98)
        at org.eclipse.ui.internal.commands.KeyMachine.getActionMap(KeyMachine.j
ava:58)
        at org.eclipse.ui.internal.commands.KeyManager.getTextForAction(KeyManag
er.java:380)
        at org.eclipse.ui.internal.WorkbenchWindow$5.getAcceleratorText(Workbenc
hWindow.java:653)
        at org.eclipse.jface.action.ActionContributionItem.update(ActionContribu
tionItem.java:573)
        at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributi
onItem.java:300)
        at org.eclipse.jface.action.MenuManager.update(MenuManager.java:554)
        at org.eclipse.jface.action.MenuManager.update(MenuManager.java:466)
        at org.eclipse.jface.action.MenuManager.fill(MenuManager.java:201)
        at org.eclipse.jface.action.MenuManager.update(MenuManager.java:554)
        at org.eclipse.jface.action.MenuManager.update(MenuManager.java:466)
        at org.eclipse.jface.action.MenuManager.createMenuBar(MenuManager.java:1
38)
        at org.eclipse.jface.window.ApplicationWindow.configureShell(Application
Window.java:246)
        at org.eclipse.ui.internal.WorkbenchWindow.configureShell(WorkbenchWindo
w.java:516)
        at org.eclipse.jface.window.Window.createShell(Window.java:329)
        at org.eclipse.jface.window.Window.create(Window.java:280)
        at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:
955)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:729)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:1260)
        at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoa
der.java:845)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
        at org.eclipse.core.launcher.Main.run(Main.java:714)
        at org.eclipse.core.launcher.Main.main(Main.java:539)
Comment 2 DJ Houghton CLA 2003-02-11 18:04:51 EST
In the BootLoader we catch the exception and print it to the console. The 
BootLoader doesn't have a log file...unfortuanatly that is at the Platform 
level.

Moving to Platform/UI for investigation of the NPE.
Comment 3 Chris McLaren CLA 2003-02-18 01:29:49 EST
fixed.