Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 250734 - Error in Bable Languagepacks - no argument launching of projects are possible
Summary: Error in Bable Languagepacks - no argument launching of projects are possible
Status: RESOLVED FIXED
Alias: None
Product: Babel
Classification: Technology
Component: Plugins (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Babel Bugzilla inbox CLA Friend
QA Contact:
URL: /babel/index.php
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-14 04:32 EDT by A. Adam CLA Friend
Modified: 2008-10-15 09:58 EDT (History)
2 users (show)

See Also:


Attachments
log file of the langugage pack bug (704.64 KB, text/plain)
2008-10-15 02:42 EDT, A. Adam CLA Friend
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description A. Adam CLA Friend 2008-10-14 04:32:14 EDT
When I try to install the german languagepack from the Bable project-Website, and after finished installation I try to start a project.
I get an error message while choose "running as - configuration" (in german Ausführen als - Konfiguration) to type arguments for the main method e.g. like in cmd. The message: Error in Java.lang.illegalargument.

Only when I uninstall the languagepack, the error is gone, and I can start an argument launch of my project.
Comment 1 Kit Lo CLA Friend 2008-10-14 08:07:16 EDT
That sounds like we translated some strings that shouldn't be translated. Could you attach the Eclipse log file (in workspace\.metadata folder)? That may help debug the problem.

Were you using the language packs for Europa or Ganymede? Could you also provide a little more details on the steps to reproduce the problem? Thanks!
Comment 2 A. Adam CLA Friend 2008-10-15 02:42:31 EDT
Created attachment 115114 [details]
log file of the langugage pack bug
Comment 3 A. Adam CLA Friend 2008-10-15 02:44:51 EDT
Here is a part of the wished logfile the rest is in the attachment.:

!ENTRY org.eclipse.jface 4 2 2008-10-13 19:09:45.074
!MESSAGE Beim Aufrufen des Codes aus dem Plug-in "org.eclipse.jface" sind Fehler aufgetreten.
!STACK 0
java.lang.IllegalArgumentException: All argument identifiers have to be either non-negative numbers or strings following the pattern ([:ID_Start:] [:ID_Continue:]*).
For more details on these unicode sets, visit http://demo.icu-project.org/icu-bin/ubrowse
	at com.ibm.icu.text.MessageFormat.makeFormat(MessageFormat.java:1854)
	at com.ibm.icu.text.MessageFormat.applyPattern(MessageFormat.java:554)
	at com.ibm.icu.text.MessageFormat.<init>(MessageFormat.java:403)
	at com.ibm.icu.text.MessageFormat.format(MessageFormat.java:1055)
	at org.eclipse.jdt.internal.debug.ui.jres.JREsComboBlock.fillWithWorkspaceProfiles(JREsComboBlock.java:453)
	at org.eclipse.jdt.internal.debug.ui.jres.JREsComboBlock.createControl(JREsComboBlock.java:254)
	at org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab.createControl(JavaJRETab.java:109)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.showInstanceTabsFor(LaunchConfigurationTabGroupViewer.java:835)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.displayInstanceTabs(LaunchConfigurationTabGroupViewer.java:771)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer$8.run(LaunchConfigurationTabGroupViewer.java:663)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.inputChanged(LaunchConfigurationTabGroupViewer.java:680)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput0(LaunchConfigurationTabGroupViewer.java:642)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput(LaunchConfigurationTabGroupViewer.java:618)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleLaunchConfigurationSelectionChanged(LaunchConfigurationsDialog.java:959)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$4.selectionChanged(LaunchConfigurationsDialog.java:566)
	at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:842)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.runtime.Platform.run(Platform.java:880)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:840)
	at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1639)
	at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1104)
	at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:392)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.doInitialTreeSelection(LaunchConfigurationsDialog.java:606)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.initializeContent(LaunchConfigurationsDialog.java:1061)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.createContents(LaunchConfigurationsDialog.java:442)
	at org.eclipse.jface.window.Window.create(Window.java:431)
	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.create(LaunchConfigurationsDialog.java:371)
	at org.eclipse.jface.window.Window.open(Window.java:790)
	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1113)
	at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:388)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:396)
	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:332)
	at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:81)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1236




----------------------


I'am using the new Ganymede (3.4)release. But the bug is also present in the release before (I think 3.3.2). 

For reproduce the bug, try the following:

- install a current e.g. german language pack (provided by the Bable Webiste for ganymede)
- just try to open one of a project.
- press in the run bar "run configuration" - compare to the german langugage (Ausführen - ausführen mit Konfiguration [...]
- while done - I cant operate to any entry on the list on the left, and no buttons have function. so when I close the window, I've got the error message (see above).

regards
Comment 4 Kit Lo CLA Friend 2008-10-15 09:58:27 EDT
This string:

http://babel.eclipse.org/babel/translate.php?project=eclipse&version=3.4&file=org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/JREMessages.properties&string=JREsComboBlock_15

was translated from:

{0} ({1})

to:

{0}{{1}}

{{1}} is an invalid syntax and caused a problem in MessageFormat. I corrected that in 3.3 and 3.4 German. Please verify in the next new language pack build.