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

Error creating Liferay module fragment project when choose osgi bundle without jsp files

    Details

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

      Description

      1.open new liferay module fragment project wizard then input valid name

      2.next, browse an osgi bundle without jsp files such as: "com.liferay.jaxws.osgi.bridge.jar"

      3.finish

      Error log:

      org.eclipse.core.runtime.CoreException: ...\.metadata\.plugins\com.liferay.ide.project.core\com.liferay.jaxws.osgi.bridge.jar
      at com.liferay.ide.project.core.modules.fragment.NewModuleFragmentOpMethods.getBsnAndVersion(NewModuleFragmentOpMethods.java:200)
      at com.liferay.ide.gradle.core.GradleModuleFragmentProjectProvider.createNewProject(GradleModuleFragmentProjectProvider.java:62)
      at com.liferay.ide.gradle.core.GradleModuleFragmentProjectProvider.createNewProject(GradleModuleFragmentProjectProvider.java:1)
      at com.liferay.ide.project.core.modules.fragment.NewModuleFragmentOpMethods.execute(NewModuleFragmentOpMethods.java:65)
      at com.liferay.ide.project.core.modules.fragment.NewModuleFragmentOp$Impl.execute(Unknown Source)
      at org.eclipse.sapphire.ui.forms.swt.SapphireWizard.performFinish(SapphireWizard.java:398)
      at org.eclipse.sapphire.ui.forms.swt.SapphireWizard$3.run(SapphireWizard.java:362)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
      Caused by: java.io.FileNotFoundException: ...\.metadata\.plugins\com.liferay.ide.project.core\com.liferay.jaxws.osgi.bridge.jar
      at com.liferay.ide.core.util.ZipUtil.open(ZipUtil.java:100)
      at com.liferay.ide.core.util.ZipUtil.unzip(ZipUtil.java:133)
      at com.liferay.ide.core.util.ZipUtil.unzip(ZipUtil.java:127)
      at com.liferay.ide.core.util.ZipUtil.unzip(ZipUtil.java:122)
      at com.liferay.ide.project.core.modules.fragment.NewModuleFragmentOpMethods.getBsnAndVersion(NewModuleFragmentOpMethods.java:196)
      ... 7 more
      Caused by: java.io.FileNotFoundException: ...\.metadata\.plugins\com.liferay.ide.project.core\com.liferay.jaxws.osgi.bridge.jar (系统找不到指定的文件。)
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.<init>(Unknown Source)
      at java.util.zip.ZipFile.<init>(Unknown Source)
      at java.util.zip.ZipFile.<init>(Unknown Source)
      at com.liferay.ide.core.util.ZipUtil.open(ZipUtil.java:97)
      ... 11 more

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 30 weeks, 3 days ago

                  Packages

                  Version Package
                  3.2 M1