Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2 M1
    • Fix Version/s: 3.2 GA1
    • Labels:
      None

      Description

      click new layout template wizard and choose 'no' if a new plugin project is needed.

      A nullpointer exception will happen.

       

      java.lang.NullPointerException
      at org.eclipse.core.runtime.Path.<init>(Path.java:206)
      at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:145)
      at com.liferay.ide.project.core.util.ProjectUtil.getProject(ProjectUtil.java:955)
      at com.liferay.ide.layouttpl.ui.wizard.NewLayoutTplWizardPage.createTemplateInfoGroup(NewLayoutTplWizardPage.java:116)
      at com.liferay.ide.layouttpl.ui.wizard.NewLayoutTplWizardPage.createTopLevelComposite(NewLayoutTplWizardPage.java:184)
      at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.createControl(DataModelWizardPage.java:100)
      at org.eclipse.jface.wizard.WizardDialog.showStartingPage(WizardDialog.java:1218)
      at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:582)
      at org.eclipse.jface.window.Window.create(Window.java:426)
      at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
      at com.liferay.ide.project.ui.action.NewWizardAction.run(NewWizardAction.java:114)
      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:1086)
      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:681)
      at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:595)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
      at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
      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)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 6 weeks, 6 days ago

                Packages

                Version Package
                3.2 GA1