Community
Participate
Working Groups
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.
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)
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.
fixed.