Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-1812

Creating a new hint results in an error

    XMLWordPrintable

    Details

    • Sprint:
      Sprint 42
    • Story Points:
      22

      Description

      Creating a new hint results in an error. Video attached.

      Error text:
      An error has occurred. See error log for more details.
      org.eclipse.e4.core.di.InjectionException: org.eclipse.swt.SWTException: undefined:1: SyntaxError: Return statements are only valid inside functions.

      org.eclipse.e4.core.di.InjectionException: org.eclipse.e4.core.di.InjectionException: org.eclipse.swt.SWTException: undefined:1: SyntaxError: Return statements are only valid inside functions.
      at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65)
      at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:990)
      at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:124)
      at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399)
      at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
      at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
      at org.jboss.tools.windup.ui.internal.rules.delegate.BaseTabStack.create(BaseTabStack.java:100)
      at org.jboss.tools.windup.ui.internal.rules.delegate.ElementUiDelegate.addTab(ElementUiDelegate.java:166)
      at org.jboss.tools.windup.ui.internal.rules.delegate.HintDelegate.createTabs(HintDelegate.java:109)
      at org.jboss.tools.windup.ui.internal.rules.delegate.ElementUiDelegate.getControl(ElementUiDelegate.java:155)
      at org.jboss.tools.windup.ui.internal.rules.RulesetEditor.updateDetails(RulesetEditor.java:212)
      at org.jboss.tools.windup.ui.internal.rules.RulesetEditor.lambda$1(RulesetEditor.java:156)
      at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:155)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.ui.internal.JFaceUtil.lambda$0(JFaceUtil.java:44)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
      at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:152)
      at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2180)
      at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1717)
      at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1075)
      at org.jboss.tools.windup.ui.internal.rules.delegate.ElementUiDelegate$1.run(ElementUiDelegate.java:234)
      at org.eclipse.jface.action.Action.runWithEvent(Action.java:473)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
      at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
      at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5268)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1348)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4522)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4107)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
      at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
      at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
      at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
      at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
      Caused by: org.eclipse.e4.core.di.InjectionException: org.eclipse.swt.SWTException: undefined:1: SyntaxError: Return statements are only valid inside functions.
      at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65)
      at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:990)
      at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:124)
      at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399)
      at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
      at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
      at org.jboss.tools.windup.ui.internal.rules.delegate.HintDelegate$DetailsTab.createMessageArea(HintDelegate.java:439)
      at org.jboss.tools.windup.ui.internal.rules.delegate.HintDelegate$DetailsTab.createSections(HintDelegate.java:223)
      at org.jboss.tools.windup.ui.internal.rules.delegate.HintDelegate$DetailsTab.createControls(HintDelegate.java:216)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
      ... 50 more
      Caused by: org.eclipse.swt.SWTException: undefined:1: SyntaxError: Return statements are only valid inside functions.
      at org.eclipse.swt.browser.WebKit$Webkit2JavascriptEvaluator.evaluate(WebKit.java:1273)
      at org.eclipse.swt.browser.WebKit.evaluate(WebKit.java:1324)
      at org.eclipse.swt.browser.WebBrowser.evaluate(WebBrowser.java:409)
      at org.eclipse.swt.browser.Browser.evaluate(Browser.java:663)
      at org.eclipse.swt.browser.Browser.evaluate(Browser.java:610)
      at org.jboss.tools.windup.ui.internal.rules.delegate.HintMessageTab.updatePreview(HintMessageTab.java:453)
      at org.jboss.tools.windup.ui.internal.rules.delegate.HintMessageTab.createControls(HintMessageTab.java:129)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55)
      ... 63 more

        Attachments

        1. .eclipseproduct
          0.1 kB
          Philip Cattanach
        2. hs_err_pid4012.log
          208 kB
          Philip Cattanach
        3. JBDS HInt Isssue.png
          34 kB
          Philip Cattanach
        4. out-1.ogv
          1.55 MB
          Jesse Sightler

          Activity

            People

            Assignee:
            jsteele John Steele
            Reporter:
            jsightler Jesse Sightler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: