Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-7859

Externalise Strings Wizard doesn't show up if web content is in a folder not called "WebContent"

    XMLWordPrintable

Details

    • Hide
      • create a dynamic web project
      • rename the WebContent folder to some different name (or open a webproject using a different name for the web content folder)
      • open/create some facelets file
      • right click, select "Externalize Strings..."

      -> Nothing happens

      In the error log, an unhandled event exception show up:
      org.eclipse.wst.sse.core.internal.util.Assert$AssertionFailedException: IFile parameter can not be null
      at org.eclipse.wst.sse.core.internal.util.Assert.isNotNull(Assert.java:124)
      at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.getModelForRead(ModelManagerImpl.java:1418)
      at org.jboss.tools.jst.jsp.i18n.ExternalizeStringsWizardPage.createBundleMap(ExternalizeStringsWizardPage.java:998)
      at org.jboss.tools.jst.jsp.i18n.ExternalizeStringsWizardPage.<init>(ExternalizeStringsWizardPage.java:146)
      at org.jboss.tools.jst.jsp.i18n.ExternalizeStringsWizard.addPages(ExternalizeStringsWizard.java:81)
      at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:603)
      at org.eclipse.jface.window.Window.create(Window.java:431)
      at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
      at org.eclipse.jface.window.Window.open(Window.java:790)
      at org.jboss.tools.jst.jsp.i18n.ExternalizeStringsAction.run(ExternalizeStringsAction.java:42)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
      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:1258)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
      at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
      at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      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:369)
      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:597)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

      Show
      create a dynamic web project rename the WebContent folder to some different name (or open a webproject using a different name for the web content folder) open/create some facelets file right click, select "Externalize Strings..." -> Nothing happens In the error log, an unhandled event exception show up: org.eclipse.wst.sse.core.internal.util.Assert$AssertionFailedException: IFile parameter can not be null at org.eclipse.wst.sse.core.internal.util.Assert.isNotNull(Assert.java:124) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.getModelForRead(ModelManagerImpl.java:1418) at org.jboss.tools.jst.jsp.i18n.ExternalizeStringsWizardPage.createBundleMap(ExternalizeStringsWizardPage.java:998) at org.jboss.tools.jst.jsp.i18n.ExternalizeStringsWizardPage.<init>(ExternalizeStringsWizardPage.java:146) at org.jboss.tools.jst.jsp.i18n.ExternalizeStringsWizard.addPages(ExternalizeStringsWizard.java:81) at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:603) at org.eclipse.jface.window.Window.create(Window.java:431) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089) at org.eclipse.jface.window.Window.open(Window.java:790) at org.jboss.tools.jst.jsp.i18n.ExternalizeStringsAction.run(ExternalizeStringsAction.java:42) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501) 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:1258) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 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:369) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

    Attachments

      Activity

        People

          dvinnichek Denis Vinnichek (Inactive)
          mfuessel Matthias Füssel (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: