Bug 263753 - Incorrect bundle name prevent the creation of the example MTL projects
Summary: Incorrect bundle name prevent the creation of the example MTL projects
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2009-02-05 03:43 EST by Pierre-Charles David CLA
Modified: 2011-10-12 05:16 EDT (History)
1 user (show)

See Also:


Attachments
Simple one-line patch (1.12 KB, patch)
2009-02-05 03:48 EST, Pierre-Charles David CLA
mariot.chauvin: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Charles David CLA 2009-02-05 03:43:57 EST
An error in org.eclipse.mtl.examples.internal.MTLExamplesMessages.BUNDLE_NAME prevents the creation of the example MTL plug-ins.

Steps to reproduce (from the CVS version):
1. New > Examples > MTL Plug-ins
2. Select "UML to Java" and finish
3. Nothing happens, except the folloing error in the error log

eclipse.buildId=M20080911-1700
java.version=1.5.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=fr_FR
Framework arguments:  -product org.eclipse.platform.ide
Command-line arguments:  -product org.eclipse.platform.ide -data /home/pcdavid/workspaces/main/../runtime-mtl -dev file:/home/pcdavid/workspaces/main/.metadata/.plugins/org.eclipse.pde.core/MTL/dev.properties -os linux -ws gtk -arch x86


Error
Thu Feb 05 09:41:12 CET 2009


java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:415)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
at org.eclipse.mtl.examples.internal.wizard.AbstractExampleWizard.performFinish(AbstractExampleWizard.java:89)
at org.eclipse.ui.internal.dialogs.NewWizard.performFinish(NewWizard.java:132)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.actions.NewExampleAction.run(NewExampleAction.java:123)
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:1158)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
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(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.ExceptionInInitializerError
at org.eclipse.mtl.examples.internal.wizard.AbstractExampleWizard$1$1.execute(AbstractExampleWizard.java:100)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
at org.eclipse.mtl.examples.internal.wizard.AbstractExampleWizard$1.run(AbstractExampleWizard.java:108)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.eclipse.mtl.parser.mtlexamplesmessages, locale fr_FR
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:549)
at org.eclipse.mtl.examples.internal.MTLExamplesMessages.<clinit>(MTLExamplesMessages.java:27)
... 6 more
Root exception:
java.lang.ExceptionInInitializerError
at org.eclipse.mtl.examples.internal.wizard.AbstractExampleWizard$1$1.execute(AbstractExampleWizard.java:100)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:104)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116)
at org.eclipse.mtl.examples.internal.wizard.AbstractExampleWizard$1.run(AbstractExampleWizard.java:108)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.util.MissingResourceException: Can't find bundle for base name org.eclipse.mtl.parser.mtlexamplesmessages, locale fr_FR
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:549)
at org.eclipse.mtl.examples.internal.MTLExamplesMessages.<clinit>(MTLExamplesMessages.java:27)
... 6 more
Comment 1 Pierre-Charles David CLA 2009-02-05 03:48:40 EST
Created attachment 124786 [details]
Simple one-line patch

This simple patch seems to solve the issue, which a simple naming problem.
Comment 2 Jonathan MUSSET CLA 2009-02-06 09:01:21 EST
fixed for galileo M5
Comment 3 Laurent Goubet CLA 2011-08-18 04:22:02 EDT
Closing our "resolved" and "verified" bugs.