Uploaded image for project: 'PUBLIC - Liferay IDE'
  1. PUBLIC - Liferay IDE
  2. IDE-3723

choose "service" template in new module project wizard error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.2 M1
    • Fix Version/s: None
    • Component/s: Modules
    • Labels:
      None

      Description

      steps:
      1.open new module project wizard
      2.set "service" as project template name

      error log:
      Get services list error.

      java.lang.ArrayIndexOutOfBoundsException: 0
      at java.util.Arrays$ArrayList.get(Unknown Source)
      at com.liferay.ide.project.core.modules.ServiceDefaultValuesService.compute(ServiceDefaultValuesService.java:77)
      at com.liferay.ide.project.core.modules.ServiceDefaultValuesService.compute(ServiceDefaultValuesService.java:1)
      at org.eclipse.sapphire.services.DataService.refresh(DataService.java:103)
      at org.eclipse.sapphire.services.DataService.data(DataService.java:75)
      at org.eclipse.sapphire.DefaultValueService.value(DefaultValueService.java:34)
      at org.eclipse.sapphire.Value.refreshDefaultContent(Value.java:197)
      at org.eclipse.sapphire.Value.content(Value.java:316)
      at com.liferay.ide.project.core.modules.ServiceNameValidataionService.compute(ServiceNameValidataionService.java:52)
      at com.liferay.ide.project.core.modules.ServiceNameValidataionService.compute(ServiceNameValidataionService.java:1)
      at org.eclipse.sapphire.services.DataService.refresh(DataService.java:103)
      at org.eclipse.sapphire.services.DataService.data(DataService.java:75)
      at org.eclipse.sapphire.services.ValidationService.validation(ValidationService.java:49)
      at org.eclipse.sapphire.Property.refreshValidation(Property.java:254)
      at org.eclipse.sapphire.Property.validation(Property.java:476)
      at org.eclipse.sapphire.ui.forms.PropertyEditorPart.computeValidation(PropertyEditorPart.java:565)
      at org.eclipse.sapphire.ui.SapphirePart.refreshValidation(SapphirePart.java:453)
      at org.eclipse.sapphire.ui.SapphirePart.validation(SapphirePart.java:424)
      at org.eclipse.sapphire.ui.forms.ContainerPart.computeValidation(ContainerPart.java:109)
      at org.eclipse.sapphire.ui.SapphirePart.refreshValidation(SapphirePart.java:453)
      at org.eclipse.sapphire.ui.forms.ContainerPart.access$0(ContainerPart.java:1)
      at org.eclipse.sapphire.ui.forms.ContainerPart$Children.refreshVisibleChildren(ContainerPart.java:268)
      at org.eclipse.sapphire.ui.forms.ContainerPart$Children.access$0(ContainerPart.java:246)
      at org.eclipse.sapphire.ui.forms.ContainerPart$Children$1.handle(ContainerPart.java:205)
      at org.eclipse.sapphire.EventDeliveryJob.run(EventDeliveryJob.java:52)
      at org.eclipse.sapphire.JobQueue.process(JobQueue.java:94)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:126)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:132)
      at org.eclipse.sapphire.ui.SapphirePart.broadcast(SapphirePart.java:560)
      at org.eclipse.sapphire.ui.SapphirePart$4.run(SapphirePart.java:494)
      at org.eclipse.sapphire.ui.SapphirePart$1$1.run(SapphirePart.java:267)
      at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
      at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:144)
      at org.eclipse.swt.widgets.Display.syncExec(Display.java:4889)
      at org.eclipse.sapphire.ui.SapphirePart$1.handle(SapphirePart.java:272)
      at org.eclipse.sapphire.EventDeliveryJob.run(EventDeliveryJob.java:52)
      at org.eclipse.sapphire.JobQueue.process(JobQueue.java:94)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:126)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:132)
      at org.eclipse.sapphire.modeling.el.FunctionResult.refresh(FunctionResult.java:295)
      at org.eclipse.sapphire.modeling.el.FunctionResult.refresh(FunctionResult.java:252)
      at org.eclipse.sapphire.modeling.el.FunctionResult$1.handle(FunctionResult.java:89)
      at org.eclipse.sapphire.EventDeliveryJob.run(EventDeliveryJob.java:52)
      at org.eclipse.sapphire.JobQueue.process(JobQueue.java:94)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:126)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:132)
      at org.eclipse.sapphire.modeling.el.FunctionResult.refresh(FunctionResult.java:295)
      at org.eclipse.sapphire.modeling.el.FunctionResult.refresh(FunctionResult.java:252)
      at org.eclipse.sapphire.modeling.el.FunctionResult$1.handle(FunctionResult.java:89)
      at org.eclipse.sapphire.EventDeliveryJob.run(EventDeliveryJob.java:52)
      at org.eclipse.sapphire.JobQueue.process(JobQueue.java:94)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:126)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:132)
      at org.eclipse.sapphire.modeling.el.FunctionResult.refresh(FunctionResult.java:295)
      at org.eclipse.sapphire.modeling.el.FunctionResult.refresh(FunctionResult.java:252)
      at org.eclipse.sapphire.modeling.el.FunctionResult$1.handle(FunctionResult.java:89)
      at org.eclipse.sapphire.EventDeliveryJob.run(EventDeliveryJob.java:52)
      at org.eclipse.sapphire.JobQueue.process(JobQueue.java:94)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:126)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:132)
      at org.eclipse.sapphire.modeling.el.FunctionResult.refresh(FunctionResult.java:295)
      at org.eclipse.sapphire.modeling.el.FunctionResult.refresh(FunctionResult.java:252)
      at org.eclipse.sapphire.modeling.el.FunctionResult$1.handle(FunctionResult.java:89)
      at org.eclipse.sapphire.EventDeliveryJob.run(EventDeliveryJob.java:52)
      at org.eclipse.sapphire.JobQueue.process(JobQueue.java:94)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:126)
      at org.eclipse.sapphire.ListenerContext.broadcast(ListenerContext.java:132)
      at org.eclipse.sapphire.Property.broadcast(Property.java:780)
      at org.eclipse.sapphire.Value.refreshContent(Value.java:159)
      at org.eclipse.sapphire.Value.refresh(Value.java:73)
      at org.eclipse.sapphire.Value.write(Value.java:475)
      at org.eclipse.sapphire.ui.forms.swt.ValuePropertyEditorPresentation.setPropertyValue(ValuePropertyEditorPresentation.java:67)
      at org.eclipse.sapphire.ui.forms.swt.ValuePropertyEditorPresentation$ModifyPropertyValueTask.run(ValuePropertyEditorPresentation.java:116)
      at org.eclipse.sapphire.ui.DelayedTasksExecutor$2.run(DelayedTasksExecutor.java:126)
      at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
      at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
      at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4213)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3820)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
      at org.eclipse.jface.window.Window.open(Window.java:794)
      at com.liferay.ide.project.ui.action.NewWizardAction.run(NewWizardAction.java:115)
      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:4428)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817)
      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(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:653)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1499)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 28 weeks, 5 days ago

                Packages

                Version Package